Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Unable to open file 'model.bin' in model 'medium.en' #306

Open
iamthenev opened this issue Feb 20, 2025 · 1 comment
Open

Comments

@iamthenev
Copy link

I have successfully installed, and was able to use python diarize.py -a AUDIO_FILE_NAME. I then used python diarize.py -a AUDIO_FILE_NAME --language en --whisper-model turbo and it ran without issue. When I tried the first code again however, I received the following error:

Traceback (most recent call last):
File "E:\Prep\diarize.py", line 121, in
whisper_model = faster_whisper.WhisperModel(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users...\AppData\Local\Programs\Python\Python312\Lib\site-packages\faster_whisper\transcribe.py", line 647, in init
self.model = ctranslate2.models.Whisper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Unable to open file 'model.bin' in model 'medium.en'

I can still run both large and turbo, but the default will produce the above error. Have I done something wrong?

@MahmoudAshraf97
Copy link
Owner

Try deleting the model from cache and download it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants