#5666 FileNotFoundError: [Errno 2] No such file or directory: 'D:\\APP\\win-pyvideotrans-v4.04-0704\\models\\chatterbox\\ve.pt

172.105* Posted at: 7 hours ago

文件不存在:D:\APP\win-pyvideotrans-v4.04-0704\models\chatterbox\ve.pt:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 19, in run
File "videotrans\tts\__init__.py", line 207, in run
File "videotrans\tts\_base.py", line 93, in run
File "videotrans\tts\_chatterbox.py", line 36, in _exec
File "D:\APP\win-pyvideotrans-v4.04-0704\_internal\chatterbox\mtl_tts.py", line 174, in from_local

torch.load(ckpt_dir / "ve.pt", map_location=map_location, weights_only=True)

File "torch\serialization.py", line 1479, in load

with _open_file_like(f, "rb") as opened_file:

File "torch\serialization.py", line 759, in _open_file_like

return _open_file(name_or_buffer, mode)

File "torch\serialization.py", line 740, in init

super().__init__(open(name, mode))

FileNotFoundError: [Errno 2] No such file or directory: 'D:\APP\win-pyvideotrans-v4.04-0704\models\chatterbox\ve.pt'


=
system:Windows-10-10.0.19045-SP0
version:v4.04
frozen:True
language:zh
root_dir:D:/APP/win-pyvideotrans-v4.04-0704

1 Replies

ve.pt 是 Chatterbox 配音渠道所需的本地模型文件,缺失是因为该模型未被下载。Chatterbox 模型需要手动下载到软件目录下的 models/chatterbox/ 文件夹内。

解决办法

  1. 前往 Hugging Face 下载 Chatterbox 模型:https://huggingface.co/ResembleAI/chatterbox
  2. 将下载的所有文件(包括 ve.pt)放入 D:\APP\win-pyvideotrans-v4.04-0704\models\chatterbox\ 目录。
  3. 重新启动软件,选择 Chatterbox 渠道即可。
注意:models/chatterbox/ 文件夹需手动创建,如果已存在则直接覆盖。模型总大小约 1GB 左右,请确保网络通畅。
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