#3069 RuntimeError: Unable to open file 'model.bin' in model 'G:/VideoTrans/Trans/win-pyvideotrans-v3.96-22/models/models--Sys

117.188* Posted at: 10 hours ago 👁14

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


=
system:Windows-10-10.0.22631-SP0
version:v3.96
frozen:True
language:zh
root_dir:G:/VideoTrans/Trans/win-pyvideotrans-v3.96-22

1 Replies

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

解决方案:

  1. 手动下载模型文件:由于网络问题,自动从 HuggingFace 下载可能失败。你需要手动下载模型文件。
  2. 下载地址:访问 https://huggingface.co/Systran/faster-whisper-large-v3/tree/main 或使用国内镜像站。
  3. 放置文件:将下载的 model.bin 文件放入以下目录(请确保路径完全一致):
    G:/VideoTrans/Trans/win-pyvideotrans-v3.96-22/models/models--Systran--faster-whisper-large-v3
  4. 重启软件:放置完成后,重新启动 pyVideoTrans 即可。

替代方案(如果手动下载困难):

  • 在软件“设置”中配置网络代理,然后尝试重新运行任务,软件会自动重试下载。
  • 或者,在语音识别渠道中选择其他模型(如 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