#3082 RuntimeError: Unable to open file 'model.bin' in model 'D:/8_Tools/trans/models/models--Systran--faster-whisper-large-v2

113.108* Posted at: 16 hours ago 👁16

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:/8_Tools/trans/models/models--Systran--faster-whisper-large-v2'


=
system:Windows-10-10.0.26200-SP0
version:v3.96
frozen:True
language:zh
root_dir:D:/8_Tools/trans

1 Replies

这是由于 faster-whisper 模型文件下载不完整或损坏导致的。

  1. 手动下载模型文件

    • 前往 HuggingFace 模型页面下载完整的 faster-whisper-large-v2 模型文件。
    • 将下载的模型文件(应包含 config.json, model.bin, tokenizer.json 等)放置到正确的目录:D:/8_Tools/trans/models/models--Systran--faster-whisper-large-v2
    • 确保 model.bin 文件存在且未被损坏。
  2. 检查并配置网络代理

    • 如果无法访问 HuggingFace,请在软件“设置”中配置“网络代理”,或使用国内镜像源手动下载模型。
  3. 验证路径

    • 确认软件根目录 D:/8_Tools/trans 的路径中不包含中文或特殊字符(当前路径符合要求)。

请查阅相关文档:

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