#5243 videotrans.configure.excepts.DubbingSrtError: [Errno 2] No such file or directory: 'models\\openbmb__VoxCPM2\\config.jso

54.254* Posted at: 19 hours ago

[Errno 2] No such file or directory: 'models\openbmb__VoxCPM2\config.json':
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 184, in run
File "videotrans\tts\_base.py", line 134, in run
videotrans.configure.excepts.DubbingSrtError: [Errno 2] No such file or directory: 'models\openbmb__VoxCPM2\config.json'


=
system:Windows-10-10.0.19045-SP0
version:v4.02
frozen:True
language:zh
root_dir:E:/AI/pyvideotrrans

1 Replies

该错误是由于缺失 VoxCPM-TTS 本地模型文件 config.json 导致的,模型下载可能未完成或文件损坏。

尝试解决:

  1. 确保网络畅通,删除 E:/AI/pyvideotrrans/models/openbmb__VoxCPM2/ 文件夹,重新运行软件,使其自动下载模型。
  2. 若仍失败,建议更换配音渠道(例如免费的 Edge-TTS 或本地内置的 Qwen-TTS),这些渠道可即开即用。
  3. 如果必须使用 VoxCPM,可尝试从 HuggingFace 手动下载模型文件(openbmb/VoxCPM2 仓库)并放入对应目录。

请查阅相关文档:

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. Dondate: ko-fi.com/jianchang512

Related resource