#824 RuntimeError: Unable to open file 'model.bin' in model 'D:/BaiduNetdiskDownload/models\models--mobiuslabsgmbh--faster-wh

*0.236* Posted at: 3 hours ago 👁14

语音识别阶段出错:Traceback (most recent call last):

File "videotrans\recognition\_base.py", line 64, in run

File "videotrans\recognition\_overall.py", line 156, in _exec

RuntimeError: Unable to open file 'model.bin' in model 'D:/BaiduNetdiskDownload/models\models--mobiuslabsgmbh--faster-whisper-large-v3-turbo\snapshots\0c94664816ec82be77b20e824c8e8675995b0029'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "videotrans\task\trans_create.py", line 376, in recogn

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

File "videotrans\recognition\_base.py", line 67, in run

videotrans.configure._except.SpeechToTextError: Unable to open file 'model.bin' in model 'D:/BaiduNetdiskDownload/models\models--mobiuslabsgmbh--faster-whisper-large-v3-turbo\snapshots\0c94664816ec82be77b20e824c8e8675995b0029':FasterAll

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

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

File "videotrans\task\trans_create.py", line 412, in recogn

RuntimeError: Unable to open file 'model.bin' in model 'D:/BaiduNetdiskDownload/models\models--mobiuslabsgmbh--faster-whisper-large-v3-turbo\snapshots\0c94664816ec82be77b20e824c8e8675995b0029':FasterAll

=====

Windows-10-10.0.19045-SP0

version:v3.78

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这是模型文件下载不完整或损坏导致的语音识别错误。错误信息显示无法打开 model.bin 文件,说明 faster-whisper 模型没有正确下载或下载过程中出现了问题。

解决方法:

1. 删除损坏的模型文件

  • 前往路径 D:/BaiduNetdiskDownload/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo/
  • 删除整个 snapshots 文件夹
  • 重新启动软件,它会自动重新下载模型

2. 使用专用下载工具(推荐)

  • 访问 https://pyvideotrans.com/faster-whisper-download
  • 下载对应的模型下载工具
  • 将工具放在 sp.exe 同目录下运行,会自动下载完整模型

3. 如果上述方法无效,切换到官网下载

  • 在软件同目录下创建空文件 huggingface.lock(注意后缀是 .lock
  • 确保你的网络能够访问 https://huggingface.co(可能需要科学上网)
  • 重新启动软件下载

4. 手动下载模型

  • 访问 https://github.com/jianchang512/stt/releases/tag/0.0
  • 下载对应的模型压缩包
  • 解压到软件的 models 文件夹中

这个问题通常是由于国内镜像站不稳定导致的下载不完整。建议使用专用下载工具或手动下载方式,成功率更高。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions