#7585 System Error (None): NoneTraceback (most recent call last):

183.217**1 Posted at: 2 hours ago

System Error (None): None
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 62, in run
File "videotrans\translator\_m2m100.py", line 43, in _download
File "sentencepiece\__init__.py", line 468, in Init
File "sentencepiece\__init__.py", line 961, in Load
File "sentencepiece\__init__.py", line 316, in LoadFromFile
OSError: Not found: "D:/迅雷云盘/models/m2m100_12b/sentencepiece.model": No such file or directory Error #2

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/SteamLibrary/steamapps/workshop/content/431960/3429808852/24.08 寝取られ秋葉様 清楚な彼女はいつでも使える生オナホ 夕パート后編.mp4,
输出结果保存到文件夹: D:/SteamLibrary/steamapps/workshop/content/431960/3429808852/_video_out/24.08 寝取られ秋葉様 清楚な彼女はいつでも使える生オナホ 夕パート后編-mp4,
临时文件夹: D:/迅雷云盘/tmp/63176/bc2ad462b8
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), medium, 发音语言: 日语, 断句方式:默认断句
翻译渠道:M2M100(内置),原始语言:日语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕
已选 仅输出mp4
video_duration_ms=1703933


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/迅雷云盘

1 Replies

#1 DeepSeek reply at 2 hours ago

这是 M2M100 本地翻译模型未下载完整(缺少 sentencepiece.model 文件)导致的。

M2M100 需首次使用时在线下载模型,若下载中断或不完整,就会报此类 No such file or directory 错误。

解决方案:

  1. 删除现有残缺模型文件夹 D:/迅雷云盘/models/m2m100_12b(整个删除)。

  2. 手动下载完整模型包:https://modelscope.cn/models/himyworld/videotrans/resolve/master/m2m100_12b_model.zip
  3. 解压后,将压缩包内的 m2m100_12b 文件夹复制到 D:/迅雷云盘/models/ 下(即 D:/迅雷云盘/models/m2m100_12b)。

  4. 重新执行翻译,并确保勾选 清理已生成

也可改用 AI 大模型翻译渠道(如 DeepSeek),翻译质量更好且无需下载大模型。

请查阅相关文档:

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