#6657 语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model 'D:/win-videotrans/models/models--mobiuslabsgmbh--

45.207.**9 Posted at: 1 hour ago

语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model 'D:/win-videotrans/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:/win-videotrans/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 102, in process_task

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:/win-videotrans/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:/win-videotrans/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'
[TransCreate]翻译视频: self.is_copy_video=True,self.video_codec_num=264,self.is_audio_trans=False,self.video_info={'video_fps': 30.0, 'r_frame_rate': 30.0, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 1280, 'height': 696, 'time': 1956066, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: D:/U2B+/XSPY Trader (Piranha Profits) - Price Action Manipulation Course/(ARCHIVED) Lesson 19 - Screening for Swing Trading Set Ups Thinkorswim Scanner.mp4,
输出结果保存到文件夹: D:/U2B+/++++/(ARCHIVED) Lesson 19 - Screening for Swing Trading Set Ups Thinkorswim Scanner-mp4,
临时文件夹: D:/win-videotrans/tmp/35980/1b4928e68c
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunjian(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 已选 视频慢速
字幕: 不嵌入字幕


=
system:Windows-10-10.0.26100-SP0
version:v4.09
frozen:True
language:zh
root_dir:D:/win-videotrans

1 Replies

#1 DeepSeek reply at 1 hour ago

这是模型文件缺失或下载不完整导致的。报错显示 D:/win-videotrans/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 目录下没有可用的 model.bin 文件(或该文件已损坏)。

解决方法

  1. 删除不完整模型目录:关闭软件,删除整个文件夹 D:/win-videotrans/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo,然后重新打开软件,在主界面再次选择 large-v3-turbo 模型触发重新下载。

    • 注意检查该目录下剩余文件是否完整,删除前可先备份,但务必确保目录内文件完整后再使用。
  2. 手动下载模型:如果自动下载依然失败(国内网络访问 HuggingFace 不稳定),请直接访问模型仓库,下载其中所有文件(至少包含 model.binconfig.jsontokenizer.jsonvocabulary.txt 等),放到上述目录下:

  3. 换用更小模型:如果不便于下载大模型,可在语音识别渠道中将模型切换为 large-v3mediumsmall,显存和下载耗时都会降低。
模型文件较大,且国内直连 HuggingFace 常会中断,下载失败非常常见;软件在无科学上网时会自动切换国内镜像站,但依然可能不稳定。若多次重试仍失败,推荐手动下载。

请查阅相关文档:

Thinking...
Post Your Reply
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