#3334 RuntimeError: Unable to open file 'model.bin' in model 'C:/PyVideoTrans/models/models--Systran--faster-whisper-large-v3'

2804:14c* Posted at: 2 days ago 👁60

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 'C:/PyVideoTrans/models/models--Systran--faster-whisper-large-v3'


=
system:Windows-10-10.0.26200-SP0
version:v3.95
frozen:True
language:en
root_dir:C:/PyVideoTrans

1 Replies

This error indicates that the faster-whisper model file model.bin is missing from the specified directory. This is typically caused by an incomplete or failed model download.

Solution Steps:

  1. Check the model folder: Navigate to C:/PyVideoTrans/models/models--Systran--faster-whisper-large-v3. Verify if the model.bin file exists inside.
  2. Manually download the model (Recommended):

    • Due to potential network issues with HuggingFace, you should download the model manually.
    • Download the faster-whisper-large-v3 model from a reliable source (e.g., HuggingFace mirror).
    • Extract the downloaded files and ensure the main model file is named model.bin.
    • Place the model.bin file (and any other related files like config.json, tokenizer.json) directly into the folder C:/PyVideoTrans/models/models--Systran--faster-whisper-large-v3. The folder name must match exactly.
  3. Alternative: Use a different model: In the software's settings, try switching the ASR model to a smaller variant like large-v2 or medium. The software will attempt to download it, which might succeed if the network issue is intermittent.
  4. Configure Network Proxy: If you are in a region where HuggingFace is blocked, configure a network proxy in the software's settings under "Network Proxy" to facilitate model downloads.
  5. Upgrade Software: Your current version is v3.95. Consider upgrading to the latest version (v3.97) as it may contain fixes related to model handling.

Please refer to the relevant documentation:

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