#8789 Error during speech recognition stage[faster-whisper(Built-in)] Unable to open file 'model.bin' in model '/home/odelator

2804**bf56 Posted at: 9 hours ago

Error during speech recognition stage[faster-whisper(Built-in)] Unable to open file 'model.bin' in model '/home/odelator/pyvideotrans/models/models--Systran--faster-whisper-tiny',Traceback (most recent call last):
File "/home/odelator/pyvideotrans/videotrans/process/stt_faster.py", line 84, in faster_whisper

model = _create_model(compute_type)

File "/home/odelator/pyvideotrans/videotrans/process/stt_faster.py", line 54, in _create_model

model = WhisperModel(

File "/home/odelator/pyvideotrans/.venv/lib/python3.10/site-packages/faster_whisper/transcribe.py", line 689, in init

self.model = ctranslate2.models.Whisper(

RuntimeError: Unable to open file 'model.bin' in model '/home/odelator/pyvideotrans/models/models--Systran--faster-whisper-tiny'

Traceback (most recent call last):
File "/home/odelator/pyvideotrans/videotrans/task/only_one.py", line 85, in run

trk.recogn()

File "/home/odelator/pyvideotrans/videotrans/task/_stage_recogn.py", line 64, in recogn

raw_subtitles = run_recogn(

File "/home/odelator/pyvideotrans/videotrans/recognition/__init__.py", line 148, in run

return _cls(**kwargs).run()  # type:ignore

File "/home/odelator/pyvideotrans/videotrans/recognition/_base.py", line 101, in run

res = self._exec()

File "/home/odelator/pyvideotrans/videotrans/recognition/_whisper.py", line 39, in _exec

raws = self._faster(audio_duration)

File "/home/odelator/pyvideotrans/videotrans/recognition/_whisper.py", line 136, in _faster

raws=self._new_process(callback=faster_whisper,title=title,is_cuda=self.is_cuda,kwargs=kwargs)

File "/home/odelator/pyvideotrans/videotrans/configure/base.py", line 291, in _new_process

raise VideoTransError(err)

videotrans.configure.excepts.VideoTransError: Unable to open file 'model.bin' in model '/home/odelator/pyvideotrans/models/models--Systran--faster-whisper-tiny',Traceback (most recent call last):
File "/home/odelator/pyvideotrans/videotrans/process/stt_faster.py", line 84, in faster_whisper

model = _create_model(compute_type)

File "/home/odelator/pyvideotrans/videotrans/process/stt_faster.py", line 54, in _create_model

model = WhisperModel(

File "/home/odelator/pyvideotrans/.venv/lib/python3.10/site-packages/faster_whisper/transcribe.py", line 689, in init

self.model = ctranslate2.models.Whisper(

RuntimeError: Unable to open file 'model.bin' in model '/home/odelator/pyvideotrans/models/models--Systran--faster-whisper-tiny'

trk=Translation V/A 单视频模式
Select Media File: /home/odelator/Vídeos/Topicals/Fascist Amerikkka/trumptrillion.mp4,
Output Directory: /home/odelator/Vídeos/PyDubbed/trumptrillion-mp4,
self.cfg.cache_folder='/home/odelator/pyvideotrans/tmp/22334/9e840e7da2'
Not-Selected Clear Output, Not-Selected Enable CUDA
STT Service:faster-whisper(Built-in), tiny, Spoken: English
Max Speech Duration (s): 5s
Min Speech Duration (ms): 3000ms
Min Silence Duration for Split (ms): 600ms
VAD Speech Threshold: 0.45
VAD Engine: silero
Compute Type:default
Beam Size:5
Best Of:5
Condition on Previous Text:False
Repetition Penalty:1.0
Compression Ratio Threshold:2.4
TranslateSrt:Google Translate (Free),Spoken:English,Target:Portuguese (Brazilian)
Traditional Translation Batch Size (Lines): 5
Dont dubbing: self.cfg.voice_role='No'
Soft Subtitles
Selected Output MP4 Only
video duration:151985ms
video information:{'video_fps': 29.97002997002997, 'r_frame_rate': 29.97002997002997, 'video_codec_name': 'hevc', 'audio_codec_name': 'aac', 'width': 2160, 'height': 3840, 'time': 151985, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
self.cfg=TaskCfgVTT(uuid='9e840e7da2', name='/home/odelator/Vídeos/Topicals/Fascist Amerikkka/trumptrillion.mp4', dirname='/home/odelator/Vídeos/Topicals/Fascist Amerikkka', noextname='trumptrillion', basename='trumptrillion.mp4', ext='mp4', target_dir='/home/odelator/Vídeos/PyDubbed/trumptrillion-mp4', cache_folder='/home/odelator/pyvideotrans/tmp/22334/9e840e7da2', is_cuda=False, source_language='English', source_language_code='en', source_sub='/home/odelator/Vídeos/PyDubbed/trumptrillion-mp4/en.srt', source_wav='/home/odelator/pyvideotrans/tmp/22334/9e840e7da2/en.wav', source_wav_output='/home/odelator/Vídeos/PyDubbed/trumptrillion-mp4/en.m4a', target_language='Portuguese (Brazilian)', target_language_code='pt-br', target_sub='/home/odelator/Vídeos/PyDubbed/trumptrillion-mp4/pt-br.srt', target_wav='/home/odelator/pyvideotrans/tmp/22334/9e840e7da2/target.wav', target_wav_output='/home/odelator/Vídeos/PyDubbed/trumptrillion-mp4/pt-br.m4a', translate_type=0, tts_type=2, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, tts_model_name=None, detect_language='en', recogn_type=0, model_name='tiny', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=False, fix_punc=0, app_mode='biaozhun', subtitle_language=None, targetdir_mp4='/home/odelator/Vídeos/PyDubbed/trumptrillion-mp4/trumptrillion.mp4', novoice_mp4='/home/odelator/pyvideotrans/tmp/22334/9e840e7da2/novoice.mp4', is_separate=False, embed_bgm=True, instrument='/home/odelator/pyvideotrans/tmp/22334/9e840e7da2/instrument.wav', vocal='/home/odelator/pyvideotrans/tmp/22334/9e840e7da2/vocal.wav', clear_cache=False, background_music='', subtitle_type=2, only_out_mp4=True, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8, batch=False)
video_duration_ms=151985


=
system:Linux-7.0.0-28-generic-x86_64-with-glibc2.39
version:v4.18
frozen:False
language:en_US
root_dir:/home/odelator/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:42:18) [Clang 21.1.4 ]

1 Replies

#1 DeepSeek reply at 9 hours ago

The cause is an incomplete model download: the folder models--Systran--faster-whisper-tiny exists but does not contain the required model.bin (ordinarily a leftover folder from a failed or interrupted download from huggingface.co, which is blocked in mainland China without a proxy).

Fix steps:

  1. Delete the incomplete model folder entirely: /home/odelator/pyvideotrans/models/models--Systran--faster-whisper-tiny (delete the whole directory, including any blobs/snapshots subfolders and .incomplete/.lock files).
  2. Make sure the machine can actually reach huggingface.co (proxy/VPN, or a working system proxy), then restart the software and run the task again so that the model is downloaded again. If you want to force huggingface.co instead of the domestic mirror, create an empty file huggingface.txt in the software root directory /home/odelator/pyvideotrans/.
  3. If the automatic download keeps failing, download the model manually:

  4. Check that the disk where the software resides has several GB of free space, then retry.
  5. Optional: tiny is the smallest and least accurate model; after the download problem is solved, large-v3-turbo is the recommended model.

If the same error still occurs after the files are complete, provide the last 30 lines of the latest log file in /home/odelator/pyvideotrans/logs/ for further analysis.

Please refer to the related documentation:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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.

Dondate via ko-fi.com

Related resource