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

45.207**6 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/MQ1mT73Yeks5NWSOApr_326307989593_mp4_264_ld.mp4,
输出结果保存到文件夹: C:/Users/84988/Desktop/视频翻译工具视频/edgetts-noproxy.txt/20261005_7f1db5c798516868_2987904654941857_519775407824766_published_mp4_264_hd_taobao-mp4/MQ1mT73Yeks5NWSOApr_326307989593_mp4_264_ld-mp4,
临时文件夹: D:/视频英文翻译工具/模型/tmp/28796/d0fe304c0d
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), tiny, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:俄语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Svetlana(Female/RU), 配音语言:俄语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 不嵌入字幕
代理地址:http://127.0.0.1:9674
video_duration_ms=10033


=
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(或该文件为 0 字节的残缺文件)。模型体积约 1G+,国内网络访问 huggingface.co 常中断,导致下载不完整。

解决方案:

  1. 先彻底删除残缺目录:
    D:/视频英文翻译工具/模型/models/models--Systran--faster-whisper-tiny
  2. 重新识别时让软件自动下载,并确保已配置可用的网络代理(主界面右侧代理框填写,如 http://127.0.0.1:端口),或在软件根目录创建 huggingface.txt 空文件强制走源站。
  3. 若自动下载仍失败,手动下载全部文件后放回原目录(保持文件名不变,浏览器自动加的 (2) 等后缀必须改回原名):

  4. 强烈建议顺带做两件事:

    • 将软件移动到纯英文短路径下(如 D:/pyVideoTrans),当前路径含中文"视频英文翻译工具/模型",易引发各类路径报错;
    • 将识别模型从 tiny 改为 large-v3-turbo(tiny 精度极低,几乎无实用价值)。
  5. 你当前为 v4.12,模型下载逻辑在后续版本有多次修复,建议升级到最新版后再试。

请查阅相关文档:

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