#3991 RuntimeError: Unable to open file 'model.bin' in model 'C:/Users/Leyf/Documents/setups 2022/python subtitles maker/model

197.186* Posted at: 3 hours ago 👁8

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 346, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'C:/Users/Leyf/Documents/setups 2022/python subtitles maker/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'


=
system:Windows-10-10.0.18362-SP0
version:v3.98
frozen:True
language:en
root_dir:C:/Users/Leyf/Documents/setups 2022/python subtitles maker

1 Replies

This error occurs because the faster-whisper model file model.bin is missing or corrupted in the specified local model directory.

Solution:

  1. Manually download the model files.

  2. Place the files in the correct folder.

    • Ensure the folder exists at: C:/Users/Leyf/Documents/setups 2022/python subtitles maker/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo/
    • Copy all downloaded files into this folder. If the folder does not exist, create it first.
  3. Check your software path.

    • The software is installed in a path containing spaces (setups 2022) and a long directory chain. This can cause issues with command-line tools like ffmpeg. It is strongly recommended to move the entire pyVideoTrans folder to a simpler path, such as D:\pyVideoTrans, with no spaces or special characters.
  4. Retry the task. After placing the model files and optionally moving the software, try the task again. Ensure you have selected the correct model (large-v3-turbo) in the software's "Speech Recognition" dropdown.

Please refer to the relevant documentation:

Post Your Reply