#3140 RuntimeError: Unable to open file 'model.bin' in model 'D:/pyvideotrans/win-pyvideotrans-v3.96/models/models--Systran--f

2409:8a55* Posted at: 9 days ago 👁43

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 176, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'D:/pyvideotrans/win-pyvideotrans-v3.96/models/models--Systran--faster-whisper-large-v1'


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

1 Replies

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

解决方案:

  1. 手动下载模型文件

    • 前往 HuggingFace 模型页面下载 faster-whisper-large-v1 的模型文件。由于网络问题,你可能需要使用镜像站或代理。
    • 下载后,将模型文件(应包含 config.json, model.bin, tokenizer.json 等)放入正确的目录:D:/pyvideotrans/win-pyvideotrans-v3.96/models/models--Systran--faster-whisper-large-v1
    • 确保文件夹命名与错误提示中的路径完全一致。
  2. 检查并配置网络代理

    • 打开 pyVideoTrans 软件,进入菜单栏的“设置” -> “网络代理”。
    • 如果你有可用的代理,请填写代理地址(例如 http://127.0.0.1:10809)。
    • 配置代理后,软件可能会自动重试下载缺失的模型文件。
  3. (可选)更换模型

    • 在语音识别设置中,尝试切换到其他模型(例如 large-v2large-v3),这些模型可能已成功下载。
    • 或者,暂时使用其他语音识别渠道(如 Edge-TTS 或在线 API)。

请查阅相关文档:

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

Similar issues already exist