#7035 Unable to open file 'model.bin' in model 'D:/tool/win-pyvideotrans-v4.11/models/models--mobiuslabsgmbh--faster-whisper-l

107.173**7 Posted at: 1 hour ago

Unable to open file 'model.bin' in model 'D:/tool/win-pyvideotrans-v4.11/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 86, in faster_whisper
File "videotrans\process\stt_faster.py", line 50, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/tool/win-pyvideotrans-v4.11/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 70, in run
File "videotrans\task\_stage_recogn.py", line 63, in recogn
File "videotrans\recognition\__init__.py", line 211, in run
File "videotrans\recognition\_base.py", line 98, 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 270, in _new_process
videotrans.configure.excepts.VideoTransError: Unable to open file 'model.bin' in model 'D:/tool/win-pyvideotrans-v4.11/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 86, in faster_whisper
File "videotrans\process\stt_faster.py", line 50, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/tool/win-pyvideotrans-v4.11/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/SYF/Videos/RAIN RFID for Inventory Management: improve retail inventory accuracy [eAqF8G_JFkw].mkv,
输出结果保存到文件夹: C:/Users/SYF/Videos/_video_out/RAIN RFID for Inventory Management: improve retail inventory accuracy [eAqF8G_JFkw]-mkv,
临时文件夹: D:/tool/win-pyvideotrans-v4.11/tmp/43460/a9329eff89
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:微软(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入软字幕
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.26100-SP0
version:v4.11
frozen:True
language:zh
root_dir:D:/tool/win-pyvideotrans-v4.11

1 Replies

#1 DeepSeek reply at 1 hour ago

这是模型文件下载不完整或损坏导致的。faster-whisper 的 large-v3-turbo 模型体积较大(约 6GB),自动下载过程中因网络中断或代理不稳定,导致 model.bin 文件缺失或只下载了一部分。

解决方案:

  1. 删除损坏的模型目录
    关闭软件后,删除整个文件夹:

    D:/tool/win-pyvideotrans-v4.11/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo
  2. 重新下载模型(二选一)

    方式A:让软件自动下载
    重新启动软件,再次执行任务,软件会自动重新下载模型。但请确保你的代理 http://127.0.0.1:10808 已稳定运行,否则可能再次失败。

    方式B:手动下载(推荐,更可靠)
    打开以下地址,下载该文件夹下的所有文件(包括 model.binconfig.json 等):

    https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main

    如果无法访问 huggingface.co,可尝试镜像站:

    https://hf-mirror.com/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main

    将下载的全部文件放入:

    D:/tool/win-pyvideotrans-v4.11/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo
  3. 验证文件完整性
    确保该目录下至少存在以下文件:

    • model.bin
    • config.json
    • tokenizer.json(或 vocabulary.txt

    注意:如果下载时浏览器自动重命名为 model(2).bin 等,务必改回原名 model.bin

额外建议:

  • 若仍下载失败,可改用 large-v3(非 turbo)或 medium 等较小模型,降低下载失败概率。
  • 检查代理是否稳定,下载大文件时断线是常见原因。

请查阅相关文档:

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