#8488 语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model 'D:/运行程序/视频烧制字幕软件/win-pyvideotrans-v4.17/models/mo

88.84**0 Posted at: 1 hour ago

语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model 'D:/运行程序/视频烧制字幕软件/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 'D:/运行程序/视频烧制字幕软件/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\speech2text.py", line 96, 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 'D:/运行程序/视频烧制字幕软件/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 'D:/运行程序/视频烧制字幕软件/win-pyvideotrans-v4.17/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'
trk=[SpeechToText]: uuid='84edf573ec', proxy_str=None, cfg=[TaskCfgSTT]
原始输入文件名: C:/Users/DELL/Desktop/6 Reel -Safe 06-26 - Chiksans line.mp4,
输出结果保存到文件夹: C:/Users/DELL/Desktop/recogn,
临时文件夹: D:/运行程序/视频烧制字幕软件/win-pyvideotrans-v4.17/tmp/3412/84edf573ec
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo
发音语言:en
未选 降噪, precent=1, hasend=False, should_recogn=True, should_trans=False, should_dubbing=False, should_hebing=False, out_format='srt', copysrt_rawvideo=False, spk_insert=True


=
system:Windows-10-10.0.22631-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:D:/运行程序/视频烧制字幕软件/win-pyvideotrans-v4.17

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:faster-whisper-large-v3-turbo 模型文件未下载完整,目标目录内缺少关键的 model.bin 文件。这通常是因为下载中断、网络不稳定(huggingface.co 国内被墙)或镜像站限流导致,与软件本身无关。

解决方案(任选其一):

方案一:手动下载该模型文件(最稳妥)

  1. 打开 https://huggingface.co/mobiuslabsgmbh/faster-whisper-large-v3-turbo/tree/main (国内无法直连可用镜像站 hf-mirror.com 替换域名)
  2. 下载页面内所有文件(至少包含 model.bin、config.json、tokenizer.json、vocabulary.txt、preprocessor_config.json 等)
  3. 将下载的文件全部放入目录:
    D:/运行程序/视频烧制字幕软件/win-pyvideotrans-v4.17/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo/
  4. 注意:若浏览器自动把重名文件改成 model(2).bin 这类名字,必须手动改回原名 model.bin

方案二:删除不完整目录后重试自动下载

  1. 先完全关闭软件
  2. 删除 models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 整个文件夹
  3. 重新启动软件并再次执行,让软件重新下载(建议开启稳定的科学上网工具;若下载经常失败,可在软件根目录创建空文件 huggingface.txt 强制走 huggingface.co 直连)

方案三:临时改用其他已可用的模型
在主界面将识别模型先切换为 large-v3 或 medium,若这两个模型能正常运行,说明对应目录内的模型是完整的,可先完成本次任务。

另外提醒:您的软件安装在 D:/运行程序/视频烧制字幕软件/ 这一含中文路径下,虽然多数情况可用,但建议后续迁移至纯英文浅层目录(如 D:/pyVideoTrans)以减少偶发问题。

请查阅相关文档:

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