#3157 RuntimeError: Unable to open file 'model.bin' in model 'D:/DpyVideoTrans/models/models--Systran--faster-whisper-large-v2

36.143* Posted at: 16 hours ago 👁11

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 179, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/DpyVideoTrans/models/models--Systran--faster-whisper-large-v2'


=
system:Windows-10-10.0.19045-SP0
version:v3.96
frozen:True
language:zh
root_dir:D:/DpyVideoTrans

1 Replies

这是由于 faster-whisper 模型文件 model.bin 缺失或损坏导致的。

解决方案:

  1. 手动下载模型文件

    • 访问 HuggingFace 模型页面:https://huggingface.co/Systran/faster-whisper-large-v2
    • 下载 model.bin 文件。
    • 将其放入正确的目录:D:/DpyVideoTrans/models/models--Systran--faster-whisper-large-v2
    • 确保文件夹名称与错误信息中的路径完全一致。
  2. 使用网络代理或镜像站

    • 如果无法访问 HuggingFace,请在软件“设置”中配置“网络代理”。
    • 或者,从国内镜像站(如 hf-mirror.com)下载模型文件。
  3. 验证模型完整性

    • 确保 model.bin 文件已完整下载,没有中断。
    • 如果问题依旧,尝试删除整个模型文件夹 models--Systran--faster-whisper-large-v2,然后重新启动软件,让它重新下载(需确保网络通畅或代理有效)。

请查阅相关文档:

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.

Related resource