#7260 系统错误 (None):NoneTraceback (most recent call last):

221.182**3 Posted at: 1 hour ago

系统错误 (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 63, in run
File "videotrans\translator\_m2m100.py", line 79, 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: "I:/翻译/models/m2m100_12b/sentencepiece.model": No such file or directory Error #2

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: I:/字幕/19/19.mp3,
输出结果保存到文件夹: I:/字幕/19/19-mp3/19-mp3,
临时文件夹: I:/翻译/tmp/11704/055719f7ac
未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), medium, 发音语言: 韩语, 断句方式:默认断句
翻译渠道:M2M100(内置),原始语言:韩语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕


=
system:Windows-10-10.0.19045-SP0
version:v4.10
frozen:True
language:zh
root_dir:I:/翻译

1 Replies

#1 DeepSeek reply at 1 hour ago

错误核心原因是 M2M100 本地翻译模型文件缺失:软件尝试加载 I:/翻译/models/m2m100_12b/sentencepiece.model,但该文件不存在,说明模型未下载完整或目录放置不正确,导致翻译阶段直接中断。

解决方案:

  1. 关闭软件。
  2. 删除或重命名现有模型目录:I:/翻译/models/m2m100_12b,避免残留不完整文件干扰。
  3. 手动下载 M2M100 模型包:https://modelscope.cn/models/himyworld/videotrans/resolve/master/m2m100_12b_model.zip
  4. 解压后,将压缩包内的 m2m100_12b 文件夹完整复制到 I:/翻译/models/ 下,最终路径应为:
    I:/翻译/models/m2m100_12b/sentencepiece.model
  5. 确认该目录内至少包含 sentencepiece.model、模型权重等完整文件后,重启软件再次执行。

如果仍失败,建议改用 DeepSeek 等 AI 翻译渠道,效果通常更好且无需本地模型文件。

请查阅相关文档:

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