#9074 Supertonic3(内置): [ONNXRuntimeError] : 3 : NO_SUCHFILE : Load model from D:/fanyi-pyvideotrans-v4.20/models/models--Super

198.255**4 Posted at: 10 hours ago

Supertonic3(内置): [ONNXRuntimeError] : 3 : NO_SUCHFILE : Load model from D:/fanyi-pyvideotrans-v4.20/models/models--Supertone--supertonic-3/onnx\vector_estimator.onnx failed:Load model D:/fanyi-pyvideotrans-v4.20/models/models--Supertone--supertonic-3/onnx\vector_estimator.onnx failed. File doesn't exist
{'text': 'Hello, my dear friend, I hope every day of yours is wonderful and joyful!', 'rate': '-5%', 'role': 'F2', 'filename': 'C:\WINDOWS\TEMP/pyvideotrans/8-1796303013.5809839.wav', 'tts_type': 8, 'language': 'en', 'volume': '+54%', 'pitch': '+0Hz'}
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 23, in run
File "videotrans\tts\__init__.py", line 147, in run
File "videotrans\tts\_base.py", line 98, in run
File "videotrans\tts\_supertonic.py", line 35, in _exec
File "videotrans\util\helper_supertonic.py", line 332, in load_text_to_speech
File "videotrans\util\helper_supertonic.py", line 307, in load_onnx_all
File "videotrans\util\helper_supertonic.py", line 289, in load_onnx
File "onnxruntime\capi\onnxruntime_inference_collection.py", line 485, in init

self._sess = sess

File "onnxruntime\capi\onnxruntime_inference_collection.py", line 573, in _create_inference_session
onnxruntime.capi.onnxruntime_pybind11_state.NoSuchFile: [ONNXRuntimeError] : 3 : NO_SUCHFILE : Load model from D:/fanyi-pyvideotrans-v4.20/models/models--Supertone--supertonic-3/onnx\vector_estimator.onnx failed:Load model D:/fanyi-pyvideotrans-v4.20/models/models--Supertone--supertonic-3/onnx\vector_estimator.onnx failed. File doesn't exist


=
system:Windows-10-10.0.26300-SP0
version:v4.20
frozen:True
language:zh_CN
root_dir:D:/fanyi-pyvideotrans-v4.20

1 Replies

#1 DeepSeek reply at 10 hours ago

这是由于 Supertonic3 本地模型文件缺失导致的。models--Supertone--supertonic-3/onnx/vector_estimator.onnx 这个文件不存在,通常是因为首次自动下载中断、模型未下载完整,或手动下载时文件目录层级放错。

解决方案

方法一:删除后自动重新下载(推荐)

  1. 关闭软件。
  2. 打开 D:/fanyi-pyvideotrans-v4.20/models/ 目录,删除 models--Supertone--supertonic-3 整个文件夹。
  3. 建议先开启科学上网(VPN/代理),保证 huggingface.co 访问稳定,否则大文件下载极易中断。
  4. 重新启动软件,选择 Supertonic3 配音渠道,软件会自动重新下载模型。

方法二:手动下载并覆盖

  1. 访问模型仓库:https://huggingface.co/Supertone/supertonic-3/tree/main
  2. 下载该仓库下所有文件,特别是 onnx 子文件夹内的全部 onnx 文件(如 vector_estimator.onnx 等)。注意:只下载了根目录的配置文件是不够的,错误就出在 onnx/ 子目录里的文件没下全。
  3. 将下载的文件按原结构放入:

    D:/fanyi-pyvideotrans-v4.20/models/models--Suptone--supertonic-3/
    ├── onnx/
    │   ├── vector_estimator.onnx
    │   └── ...(其他 onnx 文件)
    └── 其他配置文件
    注意:如果浏览器把同名文件自动重命名成 vector_estimator(1).onnx 之类,必须改回原名,否则软件识别不到。
  4. 重新启动软件重试。

方法三:换用其他配音渠道

如果你只需要英文配音,可直接切换为默认的 Edge-TTS(免费),开箱即用,无需下载模型。

提示:国内网络下载 huggingface 大模型常失败,若自动下载反复失败,可优先使用方法二手动下载,或考虑换用 Edge-TTS / Audio.cpp 等渠道。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource