#2910 A://models/piper/en/en_US/arctic/medium/en_US-arctic-medium.onnx.json

31.223* Posted at: 22 hours ago 👁14

Models not exists:
A://models/piper/en/en_US/arctic/medium/en_US-arctic-medium.onnx
A://models/piper/en/en_US/arctic/medium/en_US-arctic-medium.onnx.json:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 313, in run
File "videotrans\tts\_base.py", line 137, in run
File "videotrans\tts\_piper.py", line 77, in _exec
RuntimeError: Models not exists:
A://models/piper/en/en_US/arctic/medium/en_US-arctic-medium.onnx
A://models/piper/en/en_US/arctic/medium/en_US-arctic-medium.onnx.json


=
system:Windows-10-10.0.19045-SP0
version:v3.92
frozen:True
language:zh
root_dir:A:/

1 Replies

这是由于缺少 Piper TTS 语音合成模型文件导致的。

解决方案:

  1. 手动下载缺失的模型文件。

    • 模型文件路径为:A:/models/piper/en/en_US/arctic/medium/
    • 需要下载两个文件:

      • en_US-arctic-medium.onnx
      • en_US-arctic-medium.onnx.json
  2. 将下载好的两个文件放入正确的目录。

    • 确保它们被放置在 A:/models/piper/en/en_US/arctic/medium/ 文件夹内。
  3. 重新启动 pyVideoTrans 软件,再次尝试使用 Piper TTS 功能。

如何获取模型文件:

  • 您需要从 Piper 项目的官方发布页面或相关模型仓库手动下载这些 .onnx.json 文件。
  • 由于网络原因,软件可能无法自动从 HuggingFace 等平台下载。您可以尝试配置网络代理,或从其他镜像源获取。

参考文档:

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.

Related resource