#7460 Unable to open file 'model.bin' in model 'E:/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-medium',

2a09**3ad Posted at: 2 hours ago

Unable to open file 'model.bin' in model 'E:/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-medium',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:/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-medium'

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 'E:/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-medium',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:/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-medium'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/hzl/Downloads/Video/Adobe Camera RAW - Lesson 14 - Before and After Views.mp4,
输出结果保存到文件夹: C:/Users/hzl/Downloads/Video/_video_out/Adobe Camera RAW - Lesson 14 - Before and After Views-mp4,
临时文件夹: E:/win-pyvideotrans-v4.12-0913/tmp/7076/f981fe62b7
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), medium, 发音语言: 英语, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
video_duration_ms=130466


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:E:/win-pyvideotrans-v4.12-0913

1 Replies

#1 DeepSeek reply at 2 hours ago

这是因为 faster-whisper 的 medium 模型未下载成功或文件不完整(缺失核心权重文件 model.bin)。该错误与软件本身无关,属于模型下载失败的典型表现。

解决方案(任选其一):

  1. 重新触发下载(推荐):删除 E:/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-medium 整个文件夹,然后重新执行任务,软件会自动重新下载。
  2. 手动下载模型

  3. 临时替代方案:若急需使用,可先切换到更小尺寸的模型(smallbase),这些模型体积更小,下载成功率更高。

下载失败原因说明:模型托管于国外站点 huggingface.co,国内网络无法直连,软件会自动切换至镜像站 hf-mirror.com,但镜像站有频率限制(429),仍有较大概率失败。建议配合稳定的代理工具或使用上述手动下载方式。

请查阅相关文档:

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