#8597 Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny',Traceback (mos

2408**8831 Posted at: 2 hours ago

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

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 71, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 141, in run
File "videotrans\recognition\_base.py", line 101, in run
File "videotrans\recognition\_whisper.py", line 39, in _exec
File "videotrans\recognition\_whisper.py", line 137, in _faster
File "videotrans\configure\base.py", line 277, in _new_process
videotrans.configure.excepts.VideoTransError: Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 84, in faster_whisper
File "videotrans\process\stt_faster.py", line 54, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny'

trk=[TransCreate]: uuid='c407a3765a', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/84988/Desktop/视频-2.mp4,
输出结果保存到文件夹: C:/Users/84988/Desktop/视频翻译工具视频/edgetts-noproxy.txt/视频-2-mp4,
临时文件夹: D:/视频英文翻译工具/新/4.16/tmp/18584/c407a3765a
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 简体中文,
翻译渠道:DeepSeek,原始语言:简体中文,目标语言:俄语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Svetlana(Female/RU), 配音语言:俄语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 嵌入硬字幕 , precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=True
video_duration_ms=20000


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

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 faster-whisper 的 tiny 模型文件没有下载完整导致的,并非软件本身的 bug。模型体积较大,需要从 huggingface.co 下载,如果网络不稳定,就会中断并留下不完整的文件。

解决方案

方案一:手动下载模型(推荐,最稳妥)

  1. 打开模型页面:https://huggingface.co/Systran/faster-whisper-tiny/tree/main
  2. 点击每个文件右侧的下载图标,把里面的所有文件(model.bin、config.json、tokenizer.json、vocabulary.txt、preprocessor_config.json 等)全部下载下来
  3. 先删除原目录中不完整的文件,目录为:D:/视频英文翻译工具/新/4.16/models/models--Systran--faster-whisper-tiny
  4. 把下载好的所有文件直接放进该目录,不要嵌套文件夹,文件名也不要改
  5. 重新执行任务
⚠️ 如果浏览器下载时自动改名成 model(2).bin 之类,务必改回原名 model.bin。

方案二:挂代理后重下

  1. 确保代理稳定,长时间持续下载不会中断
  2. 先删除上述目录内已有的残留文件
  3. 重新执行,软件会自动重新下载

另外需要注意

你的软件路径 D:/视频英文翻译工具/新/4.16 含有中文,虽然本次报错主因是模型缺失,但建议将软件移动到全英文数字路径(如 D:/pyVideoTrans),可避免后续 ffmpeg、模型加载等各类莫名其妙的问题。

请查阅相关文档:

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