#7883 语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model 'D:/software/2ai/win-pyvideotrans-v4.15/models/mod

104.28**5 Posted at: 1 hour ago

语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model 'D:/software/2ai/win-pyvideotrans-v4.15/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo',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:/software/2ai/win-pyvideotrans-v4.15/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 101, in process_task

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:/software/2ai/win-pyvideotrans-v4.15/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo',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:/software/2ai/win-pyvideotrans-v4.15/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'
trk=[TransCreate]: uuid='7b22b704b7', proxy_str='http://127.0.0.1:10808', cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: E:/~已上传到2个网盘/★AV/★欧美av/★好看的欧美av/Kelly.Collins.俄罗斯毛妹/video/2022/2022.05.03.ultrafilms.22.05.03.kelly.collins.intimate.moment.mp4,
输出结果保存到文件夹: E:/~已上传到2个网盘/★AV/★欧美av/★好看的欧美av/Kelly.Collins.俄罗斯毛妹/video/2022/_video_out/2022.05.03.ultrafilms.22.05.03.kelly.collins.intimate.moment-mp4,
临时文件夹: D:/software/2ai/win-pyvideotrans-v4.15/tmp/43448/7b22b704b7
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语,
翻译渠道:微软(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
输出字幕格式: 单字幕
代理地址: http://127.0.0.1:10808, precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=False, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=False


=
system:Windows-10-10.0.26200-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:D:/software/2ai/win-pyvideotrans-v4.15

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:faster-whisper 的 large-v3-turbo 模型文件缺失或不完整。报错显示软件在 models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 目录中找不到 model.bin 文件,这通常是模型自动下载失败(网络不稳定/被中断/仅下载了部分文件)导致的,属于下载失败间接引发的错误。

解决方案(按顺序尝试):

  1. 检查模型目录
    打开 D:/software/2ai/win-pyvideotrans-v4.15/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo,查看里面是否有 model.bin 文件。

    • 若无该文件或文件明显过小(如只有几十KB),说明下载失败,需重新下载。
    • 若有该文件但报错依旧,可能文件不完整/损坏,建议删除整个目录后重下。
  2. 先删除已有残缺模型目录,再让软件自动重新下载

    • 关闭软件
    • 删除 models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 整个文件夹
    • 重新启动软件,再次执行任务,让软件重新自动下载
  3. 手动下载模型文件(推荐,自动下载常失败)

    • 从 HuggingFace 下载该模型全部文件:https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main
    • 国内无科学上网时可使用镜像站:https://hf-mirror.com/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main
    • 下载后,将所有文件(含 model.bin、config.json、tokenizer.json 等)放到:
      软件目录/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo
    • 注意:若下载时浏览器自动重命名了同名文件(例如 model(2).bin),必须改回原始文件名。
  4. 或改用其他模型/渠道(应急方案)

    • 将 faster-whisper 的模型从 large-v3-turbo 改为 small 或 base(体积小、下载成功率更高)先验证流程是否正常
    • 也可临时切换到 openai-whisper(内置) 等其他语音识别渠道

补充说明:

  • 你的代理为 http://127.0.0.1:10808,请确认该代理确实在运行且能访问 huggingface.co,否则模型下载必然失败。
  • 除手动下载外,务必不要将文件放进需管理员权限或含特殊符号的路径;当前路径 D:/software/2ai/win-pyvideotrans-v4.15 本身无问题。

请查阅相关文档:

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