点击查看 Edge-TTS 配音渠道无法使用的解决办法!!!

#1975 RuntimeError: No graph was found in the protobuf.

152.70* Posted at: 2 days ago 👁21

Traceback (most recent call last):
File "videotrans\component\realtime_stt.py", line 209, in run
File "videotrans\component\realtime_stt.py", line 175, in create_recognizer
File "sherpa_onnx\online_recognizer.py", line 465, in from_paraformer
RuntimeError: No graph was found in the protobuf.


=
system:Windows-10-10.0.26200-SP0
version:v3.89
frozen:True
language:zh
root_dir:D:/下载/win-pyvideotrans-3.89

1 Replies

这个错误 RuntimeError: No graph was found in the protobuf. 表明在启动“实时语音转文字”功能时,软件未能正确加载所需的语音识别模型文件。

请按以下步骤解决:

  1. 检查模型文件:确保软件目录下的 models 文件夹中存在 sherpa-onnx 相关的模型文件。如果 models 文件夹不存在或为空,说明模型未正确下载。
  2. 重新下载模型

    • 关闭软件。
    • 删除 models 文件夹(如果存在)。
    • 重新启动软件,并再次尝试打开“实时语音转文字”功能。软件应会自动重新下载所需的模型文件。
  3. 网络问题:如果自动下载失败,可能是网络连接问题(例如无法访问 HuggingFace)。请确保你的网络环境稳定,并可以访问相关资源。
  4. 手动放置模型:如果自动下载始终失败,你可以尝试从官方仓库或社区找到 sherpa-onnxparaformer 模型文件,手动放置到 models/sherpa-onnx 目录下。

如果以上步骤无法解决问题,请提供 D:/下载/win-pyvideotrans-3.89/logs/ 目录下的最新日志文件,以便进一步分析下载或加载失败的具体原因。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions