#7372 Unable to open file 'model.bin' in model 'E:/BaiduNetdiskDownload/99999/models/models--Systran--faster-whisper-tiny',Tra

157.228**0 Posted at: 1 hour ago

Unable to open file 'model.bin' in model 'E:/BaiduNetdiskDownload/99999/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 'E:/BaiduNetdiskDownload/99999/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 228, in run
File "videotrans\recognition\_base.py", line 97, 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 'E:/BaiduNetdiskDownload/99999/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 'E:/BaiduNetdiskDownload/99999/models/models--Systran--faster-whisper-tiny'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/Administrator/Desktop/aa507842c733b30d331353dc342521fa.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Desktop/_video_out/aa507842c733b30d331353dc342521fa-mp4,
临时文件夹: E:/BaiduNetdiskDownload/99999/tmp/13880/b463950312
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 西班牙语(拉美), 断句方式:默认断句
翻译渠道:微软(免费),原始语言:西班牙语(拉美),目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Xiaoxiao(Female/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
已选 分离人声与背景声,存在分离后的纯净人声文件,存在分离后的背景声音文件
已选 仅输出mp4
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.19045-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:E:/BaiduNetdiskDownload/99999

1 Replies

#1 DeepSeek reply at 1 hour ago

这是模型文件未下载完整或下载失败导致的,faster-whisper 在指定目录下找不到有效的 model.bin 文件。

原因:模型首次使用时需自动在线下载,由于 huggingface.co 国内被屏蔽,或网络不稳定,导致模型下载中断、不完整或为空。

解决方案(按顺序执行)

  1. 删除损坏的模型目录:进入 E:/BaiduNetdiskDownload/99999/models/models--Systran--faster-whisper-tiny,将整个文件夹删除。
  2. 手动下载模型(推荐,避免反复失败):

    • 打开 https://huggingface.co/Systran/faster-whisper-tiny/tree/main
    • 下载该页面所有文件(尤其是 model.binconfig.jsontokenizer.jsonvocabulary.txt 等)
    • 全部放入 E:/BaiduNetdiskDownload/99999/models/models--Systran--faster-whisper-tiny 文件夹内

      注意:若浏览器把重名文件自动命名为 model(1).bin,必须改回原名 model.bin
  3. 确保科学上网稳定:若依靠软件自动下载,请确保代理稳定(你已配置 http://127.0.0.1:10808,需确认代理服务正常运行),或让软件自动切换到国内镜像站。
  4. 可选建议tiny 模型精度最低,若追求质量,可改用 large-v3-turbo(同样按上述方式下载对应模型)。

请查阅相关文档:

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