#3188 RuntimeError: Unable to open file 'model.bin' in model 'E:/win-pyvideotrans-v3.96/models/models--Systran--faster-whisper

188.253* Posted at: 13 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 'E:/win-pyvideotrans-v3.96/models/models--Systran--faster-whisper-large-v2'


=
system:Windows-10-10.0.19045-SP0
version:v3.96
frozen:True
language:zh
root_dir:E:/win-pyvideotrans-v3.96

1 Replies

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

解决方案:

  1. 手动下载模型文件:由于网络问题,自动从 HuggingFace 下载可能失败。你需要手动下载模型文件。
  2. 下载地址:访问 HuggingFace 模型页面 或使用国内镜像站。
  3. 放置文件:将下载到的 model.bin 文件放入正确的目录:E:/win-pyvideotrans-v3.96/models/models--Systran--faster-whisper-large-v2
  4. 验证目录结构:确保 model.bin 文件直接位于上述路径下,而不是嵌套在子文件夹中。
  5. 重启软件:放置好文件后,重启 pyVideoTrans 即可。

如果手动下载困难,可以尝试:

  • 在软件的“设置”中配置“网络代理”,然后重新尝试识别任务,软件会自动重试下载。
  • 或者,在语音识别渠道中选择其他模型(如 large-v3),但同样需要确保其模型文件已完整下载。

请查阅相关文档:

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