#8189 Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/模型/models/models--Systran--faster-whisper-tiny',Traceback (most re

123.138**4 Posted at: 1 hour ago

Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/模型/models/models--Systran--faster-whisper-tiny',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 85, in faster_whisper
File "videotrans\process\stt_faster.py", line 55, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/模型/models/models--Systran--faster-whisper-tiny'

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 70, in run
File "videotrans\task\_stage_recogn.py", line 65, in recogn
File "videotrans\recognition\__init__.py", line 233, in run
File "videotrans\recognition\_base.py", line 99, in run
File "videotrans\recognition\_whisper.py", line 41, in _exec
File "videotrans\recognition\_whisper.py", line 130, in _faster
File "videotrans\configure\base.py", line 264, in _new_process
videotrans.configure.excepts.VideoTransError: Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/模型/models/models--Systran--faster-whisper-tiny',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 85, in faster_whisper
File "videotrans\process\stt_faster.py", line 55, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/模型/models/models--Systran--faster-whisper-tiny'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/84988/Desktop/20240916_a3c4011aa3a2cfa2_481974664497_169497396794391_published_mp4_264_hd_taobao.mp4,
输出结果保存到文件夹: C:/Users/84988/Desktop/视频翻译工具视频/edgetts-noproxy.txt/20261005_7f1db5c798516868_2987904654941857_519775407824766_published_mp4_264_hd_taobao-mp4/20240916_a3c4011aa3a2cfa2_481974664497_169497396794391_published_mp4_264_hd_taobao-mp4,
临时文件夹: D:/视频英文翻译工具/模型/tmp/38020/9966c3843b
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:俄语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Svetlana(Female/RU), 配音语言:俄语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 不嵌入字幕
video_duration_ms=26733


=
system:Windows-10-10.0.26300-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:D:/视频英文翻译工具/模型

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 faster-whisper 模型文件缺失或下载不完整导致的,具体是 D:/视频英文翻译工具/模型/models/models--Systran--faster-whisper-tiny 目录下没有有效的 model.bin 文件。

解决办法:

  1. 关闭软件,打开目录 D:/视频英文翻译工具/模型/models/models--Systran--faster-whisper-tiny,将里面的所有文件全部删除(如果该文件夹不存在则跳过)。
  2. 重新启动软件并再次执行任务,让软件自动重新下载该模型。如果自动下载仍然失败,请手动下载:

  3. 注意:下载的文件名必须保持原样,不能有 (2) 等自动重命名后缀。
  4. 建议将软件解压到纯英文路径(如 D:\pyVideoTrans),避免中文路径对模型加载造成干扰。

如果以上操作后仍报错,请将 logs/ 目录下最新日志的末尾约 30 行发来,以便进一步分析。

请查阅相关文档:

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