#7404 语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model 'E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-09

154.58**8 Posted at: 1 hour ago

语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model 'E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-large-v3',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 85, in faster_whisper
File "videotrans\process\stt_faster.py", line 55, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-large-v3'

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 65, in recogn

File "videotrans\recognition\__init__.py", line 233, in run

File "videotrans\recognition\_base.py", line 99, 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 264, in _new_process

videotrans.configure.excepts.VideoTransError: Unable to open file 'model.bin' in model 'E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-large-v3',Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 85, in faster_whisper
File "videotrans\process\stt_faster.py", line 55, in _create_model
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-large-v3'

self.cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: C:/Users/郑先生/Downloads/记录真实生活.mp4,
输出结果保存到文件夹: C:/Users/郑先生/Downloads/新建文件夹/记录真实生活-mp4,
临时文件夹: E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-0913/tmp/1512/4098dee08b
已选 清理已存在
已启用CUDA加速
已选 降噪
语音识别:faster-whisper(内置), large-v3, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:OpenAI ChatGPT,原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
输出字幕格式: 目标语言在上双字幕
代理地址:http://127.0.0.1:7897


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-0913

1 Replies

#1 DeepSeek reply at 1 hour ago

Unable to open file 'model.bin' 的核心原因是:faster-whisper 的 large-v3 模型未下载完整或下载失败,导致模型目录中缺少 model.bin 文件。

该模型体积约 3GB,位于国外站点 huggingface.co,国内网络环境下自动下载极易失败(即便有代理,长时大文件下载仍可能中断)。


解决方案

1. 删除不完整的模型目录

彻底删除以下文件夹(整个目录):

E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-large-v3

2. 手动下载模型

打开模型下载地址(需科学上网):
https://huggingface.co/Systran/faster-whisper-large-v3/tree/main

点击页面右上角下载图标,下载该页面全部文件(至少包含 model.binconfig.jsontokenizer.jsonvocabulary.txt 等)。

⚠️ 注意:

  • 下载时若浏览器自动重命名为 model(1).bin 之类,必须改回原文件名 model.bin
  • 下载后确认 model.bin 文件大小约 3GB,若明显偏小说明下载不完整。

3. 放置到指定位置

将下载的全部文件放入:

E:/BaiduNetdiskDownload/win-pyvideotrans-v4.12-0913/models/models--Systran--faster-whisper-large-v3

该目录内应能直接看到 model.bin 文件。

4. 重新运行

回到软件,取消勾选"清理已生成"(避免误删),重新开始任务即可。


备选方案(推荐新手)

若下载 large-v3 困难,可改用体积更小的模型先跑通流程:

  • 在主界面语音识别模型的模型名中改选 large-v3-turbo(约 1.6GB)或 mediumsmall
  • 或切换识别渠道为 Qwen-ASR(内置)(中文效果佳,模型体积小)。

请查阅相关文档:

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