#8420 Error during speech recognition stage[faster-whisper(Built-in)] Unable to open file 'model.bin' in model 'C:/Users/Admin

1.55**3 Posted at: 1 hour ago

Error during speech recognition stage[faster-whisper(Built-in)] Unable to open file 'model.bin' in model 'C:/Users/Admin/Downloads/win-pyvideotrans-v4.17/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 'C:/Users/Admin/Downloads/win-pyvideotrans-v4.17/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 64, 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 136, in _faster

File "videotrans\configure\base.py", line 277, in _new_process

videotrans.configure.excepts.VideoTransError: Unable to open file 'model.bin' in model 'C:/Users/Admin/Downloads/win-pyvideotrans-v4.17/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 'C:/Users/Admin/Downloads/win-pyvideotrans-v4.17/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'
trk=[TransCreate]: uuid='861817a0bc', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: C:/Users/Admin/Downloads/Bilibili/开局觉醒流刃若火举世震惊!灵气复苏,凶兽横行。穿越而来的武道天才楚渊,在觉醒仪式上获得被世人判定为废武魂的“魂刃”。/开局觉醒流刃若火举世震惊!灵气复苏,凶兽横行。穿越而来的武道天才楚渊,在觉醒仪式上获得被世人判定为废武魂的“魂刃”。.mp4,
输出结果保存到文件夹: C:/Users/Admin/Downloads/Bilibili/开局觉醒流刃若火举世震惊!灵气复苏,凶兽横行。穿越而来的武道天才楚渊,在觉醒仪式上获得被世人判定为废武魂的“魂刃”。/开局觉醒流刃若火举世震惊!灵气复苏,凶兽横行。穿越而来的武道天才楚渊,在觉醒仪式上获得被世人判定为废武魂的“魂刃”。-mp4,
临时文件夹: C:/Users/Admin/Downloads/win-pyvideotrans-v4.17/tmp/1408/861817a0bc
已选 清理已存在
已启用CUDA加速
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Simplified Chinese, , 数据类型:default
发音语言和目标语言相同,不翻译字幕
SubFormat: 单字幕, precent=4, hasend=False, should_recogn=True, should_trans=False, 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.28000-SP0
version:v4.17
frozen:True
language:en_US
root_dir:C:/Users/Admin/Downloads/win-pyvideotrans-v4.17

1 Replies

#1 DeepSeek reply at 1 hour ago

直接原因:large-v3-turbo 语音识别模型未下载完整(缺少 model.bin 等权重文件),目录 models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 里只有空壳或残缺文件。这是模型下载失败导致的,和视频本身无关。

处理步骤:

  1. 先检查该目录:C:/Users/Admin/Downloads/win-pyvideotrans-v4.17/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo。若里面没有 model.bin、config.json、tokenizer.json、vocabulary.txt 等文件,或文件大小明显偏小,说明没下完。把该目录整体删除。
  2. 手动下载模型(自动下载在国内网络下失败率很高):

  3. 若下载困难,可先改选一个体积更小的模型应急:在 STT 服务行把 large-v3-turbo 换成 small 或 base,看能否自动下载并跑通,确认流程正常后再补下 turbo 模型。
  4. 另外建议处理视频文件名(这是另一个高发隐患):你的视频名极长且含中文、感叹号、逗号,FFmpeg 命令行容易超长或解析失败。请把视频重命名为短英文名(如 video1.mp4),放到浅目录(如 D:/videos)后再导入。

请参考以下相关文档:

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