#3143 RuntimeError: Unable to open file 'model.bin' in model 'D:/videotrans/models/models--distil-whisper--distil-large-v3.5-c

36.92* Posted at: 9 days ago 👁26

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:/videotrans/models/models--distil-whisper--distil-large-v3.5-ct2'


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

1 Replies

这是由于模型文件 model.bin 缺失或损坏导致的。faster-whisper 模型文件夹结构不正确,无法加载。

解决方案:

  1. 检查模型文件夹:前往 D:/videotrans/models/ 目录,找到名为 models--distil-whisper--distil-large-v3.5-ct2 的文件夹。
  2. 验证文件:确保该文件夹内包含 model.bin 文件。如果不存在,说明模型下载不完整。
  3. 重新下载模型

    • 方法一(推荐):在软件“设置”中配置“网络代理”,然后重新选择 faster-whisper 模型,软件会自动重试下载。
    • 方法二(手动):从 HuggingFace 镜像站(如 hf-mirror.com)手动下载 distil-large-v3.5-ct2 模型的 model.bin 文件,并确保将其放置在正确的文件夹结构内(例如 models/models--distil-whisper--distil-large-v3.5-ct2/model.bin)。
  4. 替代方案:如果问题持续,请在“语音识别渠道”中更换为其他模型(如 large-v3large-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