#3235 RuntimeError: Unable to open file 'model.bin' in model 'C:/win-pyvideotrans-v3.97/models/models--mobiuslabsgmbh--faster-

82.135* Posted at: 10 hours ago 👁8

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


=
system:Windows-10-10.0.26100-SP0
version:v3.97
frozen:True
language:en
root_dir:C:/win-pyvideotrans-v3.97

1 Replies

This error occurs because the software cannot find the model.bin file for the faster-whisper model in the specified directory, likely due to an incomplete or failed download.

Solution Steps:

  1. Check the Model Directory: Navigate to C:/win-pyvideotrans-v3.97/models/. Look for a folder named models--mobiuslabsgmbh--faster-whisper-large-v3-turbo. If it exists, open it and check if the model.bin file is present. If the folder is missing or the file is not there, proceed to step 2.
  2. Manually Download the Model: Due to potential network issues with HuggingFace, you need to download the model manually.

  3. Place the Model Correctly: Create the exact folder path C:/win-pyvideotrans-v3.97/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo/ if it doesn't exist. Place the downloaded model.bin file inside this folder.
  4. Restart the Software: Close and restart pyVideoTrans. It should now be able to load the model from the local file.

Alternative/Additional Steps:

  • Configure Network Proxy: If you frequently encounter download failures, configure a network proxy within the software's settings to access HuggingFace.
  • Use a Different Model: In the software's settings, you can switch to a different, more commonly used faster-whisper model (e.g., large-v3 from Systran) which might already be cached or easier to download.

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