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

45.207**1 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:/字幕/20/20.mp3,
输出结果保存到文件夹: I:/字幕/20/新建文件夹/20-mp3,
临时文件夹: I:/翻译/tmp/22236/ebed514807
未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:Whisper.cpp(Win内置), ggml-large-v3.bin, 发音语言: 韩语, 断句方式:默认断句
翻译渠道:M2M100(内置),原始语言:韩语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕
代理地址:http://127.0.0.1:7897


=
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(内置) 翻译模型的本地文件缺失。

具体报错 OSError: Not found: "I:/翻译/models/m2m100_12b/sentencepiece.model" 表明软件在指定路径找不到该模型文件,说明模型未下载完整或未正确放置。

解决方案:

  1. 下载 M2M100 模型包:https://modelscope.cn/models/himyworld/videotrans/resolve/master/m2m100_12b_model.zip
  2. 解压后,将压缩包内的 m2m100_12b 文件夹完整复制到 I:/翻译/models/ 目录下
  3. 确认最终路径为 I:/翻译/models/m2m100_12b/sentencepiece.model
  4. 重启软件后重试

如果自动下载失败,请删除 I:/翻译/models/m2m100_12b 整个文件夹后,按上述步骤重新手动下载放置。

请查阅相关文档:

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