#2441 RuntimeError: Unable to open file 'model.bin' in model 'D:/py/win-pyvideotrans-v3.92/models/models--Systran--faster-whis

64.120* Posted at: 3 hours ago 👁5

Traceback (most recent call last):
File "videotrans\process\_overall.py", line 163, in run
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/py/win-pyvideotrans-v3.92/models/models--Systran--faster-whisper-small.en'


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

1 Replies

这个错误表明 faster-whisper 在尝试加载模型文件 model.bin 时失败。模型路径指向 D:/py/win-pyvideotrans-v3.92/models/models--Systran--faster-whisper-small.en,但文件可能不存在或已损坏。

核心解决方法:删除损坏的模型文件夹,让软件重新下载。

请按以下步骤操作:

  1. 关闭 pyVideoTrans 软件。
  2. 打开文件资源管理器,进入模型目录:D:/py/win-pyvideotrans-v3.92/models/
  3. 找到并删除名为 models--Systran--faster-whisper-small.en 的文件夹。
  4. 重新启动 pyVideoTrans。
  5. 再次尝试语音识别任务。软件会自动重新下载 faster-whisper-small.en 模型。

如果问题依旧,请尝试:

  • 检查网络连接:确保网络通畅,可以访问 Hugging Face。
  • 更换模型:在语音识别设置中,尝试选择其他模型(如 smallmedium),看是否只有特定模型有问题。
  • 以管理员身份运行:右键点击 sp.exe,选择“以管理员身份运行”,再尝试下载。

如果上述步骤均无效,请提供 D:/py/win-pyvideotrans-v3.92/logs/ 目录下最新的日志文件,以便进一步分析。

请查看更多参考文档:

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions