#3226 RuntimeError: Unable to open file 'model.bin' in model 'D:/mod/win-pyvideotrans-v3.96/models/models--Systran--faster-whi

199.19* Posted at: 6 hours ago 👁9

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:/mod/win-pyvideotrans-v3.96/models/models--Systran--faster-whisper-large-v3'


=
system:Windows-10-10.0.26100-SP0
version:v3.96
frozen:True
language:zh
root_dir:D:/mod/win-pyvideotrans-v3.96

1 Replies

这是由于 faster-whisper 模型文件 model.bin 缺失或下载不完整导致的。

解决方案:

  1. 手动下载模型:访问 HuggingFace 模型页面(如 https://huggingface.co/Systran/faster-whisper-large-v3),手动下载所有文件。
  2. 放置模型:将下载的模型文件(必须包含 model.bin)放入正确的目录 D:/mod/win-pyvideotrans-v3.96/models/models--Systran--faster-whisper-large-v3 中。
  3. 检查路径:确保模型文件夹的命名与软件期望的完全一致(models--Systran--faster-whisper-large-v3),且路径中不含中文或空格。
  4. 网络代理:如果手动下载困难,请在软件“设置”中配置网络代理,然后尝试让软件重新自动下载。

参考文档:

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