语音识别阶段出错[faster-whisper(内置)] Unable to open file 'model.bin' in model '/Users/cc/pyvideotrans/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo',Traceback (most recent call last):
File "/Users/cc/pyvideotrans/videotrans/process/stt_faster.py", line 84, in faster_whisper
model = _create_model(compute_type)File "/Users/cc/pyvideotrans/videotrans/process/stt_faster.py", line 54, in _create_model
model = WhisperModel(File "/Users/cc/miniconda3/envs/pyvideotrans/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 '/Users/cc/pyvideotrans/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'
Traceback (most recent call last):
File "/Users/cc/pyvideotrans/videotrans/task/only_one.py", line 84, in run
trk.recogn()File "/Users/cc/pyvideotrans/videotrans/task/_stage_recogn.py", line 64, in recogn
raw_subtitles = run_recogn(File "/Users/cc/pyvideotrans/videotrans/recognition/__init__.py", line 148, in run
return _cls(**kwargs).run() # type:ignoreFile "/Users/cc/pyvideotrans/videotrans/recognition/_base.py", line 101, in run
res = self._exec()File "/Users/cc/pyvideotrans/videotrans/recognition/_whisper.py", line 39, in _exec
raws = self._faster(audio_duration)File "/Users/cc/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 "/Users/cc/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 '/Users/cc/pyvideotrans/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo',Traceback (most recent call last):
File "/Users/cc/pyvideotrans/videotrans/process/stt_faster.py", line 84, in faster_whisper
model = _create_model(compute_type)File "/Users/cc/pyvideotrans/videotrans/process/stt_faster.py", line 54, in _create_model
model = WhisperModel(File "/Users/cc/miniconda3/envs/pyvideotrans/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 '/Users/cc/pyvideotrans/models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo'
trk=翻译视频 单视频模式
选择音视频文件: /Users/cc/Downloads/06926555cfbd17ce7b154ef53ae56523.mp4,
输出目录: /Users/cc/Downloads/_video_out/06926555cfbd17ce7b154ef53ae56523-mp4,
self.cfg.cache_folder='/Users/cc/pyvideotrans/tmp/62277/0adce5c856'
已选 清理已生成, 未选 CUDA加速
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文
最长语音持续(秒): 5s
最短语音持续(毫秒): 3000ms
静音分割持续毫秒: 600ms
语音阈值: 0.45
选择VAD: silero
计算数据类型:default
识别准确度beam_size:5
识别准确度best_of:5
启用上下文感知:False
重复惩罚:1.0
文本压缩率:2.4
翻译渠道:智谱AI,发音语言:简体中文,目标语言:英语
已选 发送完整字幕, AI翻译渠道每批字幕行数:40
配音渠道:Edge-TTS(免费), 配音角色:Andrew(Male/US), 目标语言:英语
Volume:+0%, Speed:+0%, 已选 配音加速, 未选 视频慢速
已选 移除每条字幕配音开头结尾静音缓冲
静音移除力度: default
嵌入硬字幕
中日韩字幕单行字符数:15, 其他语言字幕单行字符数:40
video duration:37240ms
video information:{'video_fps': 30.0, 'r_frame_rate': 30.0, 'video_codec_name': 'hevc', 'audio_codec_name': 'aac', 'width': 720, 'height': 1280, 'time': 37240, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
self.cfg=TaskCfgVTT(uuid='0adce5c856', name='/Users/cc/Downloads/06926555cfbd17ce7b154ef53ae56523.mp4', dirname='/Users/cc/Downloads', noextname='06926555cfbd17ce7b154ef53ae56523', basename='06926555cfbd17ce7b154ef53ae56523.mp4', ext='mp4', target_dir='/Users/cc/Downloads/_video_out/06926555cfbd17ce7b154ef53ae56523-mp4', cache_folder='/Users/cc/pyvideotrans/tmp/62277/0adce5c856', is_cuda=False, source_language='简体中文', source_language_code='zh-cn', source_sub='/Users/cc/Downloads/_video_out/06926555cfbd17ce7b154ef53ae56523-mp4/zh-cn.srt', source_wav='/Users/cc/pyvideotrans/tmp/62277/0adce5c856/zh-cn.wav', source_wav_output='/Users/cc/Downloads/_video_out/06926555cfbd17ce7b154ef53ae56523-mp4/zh-cn.m4a', target_language='英语', target_language_code='en', target_sub='/Users/cc/Downloads/_video_out/06926555cfbd17ce7b154ef53ae56523-mp4/en.srt', target_wav='/Users/cc/pyvideotrans/tmp/62277/0adce5c856/target.wav', target_wav_output='/Users/cc/Downloads/_video_out/06926555cfbd17ce7b154ef53ae56523-mp4/en.m4a', translate_type=7, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Andrew(Male/US)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='zh', recogn_type=0, model_name='large-v3-turbo', 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='/Users/cc/Downloads/_video_out/06926555cfbd17ce7b154ef53ae56523-mp4/06926555cfbd17ce7b154ef53ae56523.mp4', novoice_mp4='/Users/cc/pyvideotrans/tmp/62277/0adce5c856/novoice.mp4', is_separate=False, embed_bgm=True, instrument='/Users/cc/pyvideotrans/tmp/62277/0adce5c856/instrument.wav', vocal='/Users/cc/pyvideotrans/tmp/62277/0adce5c856/vocal.wav', clear_cache=True, background_music='', subtitle_type=1, only_out_mp4=False, recogn2pass=False, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8, batch=False)
video_duration_ms=37240
=
system:macOS-26.6.2-arm64-arm-64bit
version:v4.18
frozen:False
language:zh_CN
root_dir:/Users/cc/pyvideotrans
Python: 3.10.15 | packaged by conda-forge | (main, Oct 16 2024, 01:24:20) [Clang 17.0.6 ]