#3847 TaskCfg(cache_folder='G:/VideoTrans/Trans/win-pyvideotrans-v3.95/tmp/29076/2e6e30dfff', target_dir='C:/Users/lsl/Downloa

103.172* Posted at: 2 hours ago 👁5

语音识别阶段出错 [faster-whisper(本地)] Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 176, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'G:/VideoTrans/Trans/win-pyvideotrans-v3.95/models/models--Systran--faster-whisper-large-v3'

Traceback (most recent call last):
File "videotrans\task\job.py", line 106, in run
File "videotrans\task\trans_create.py", line 358, in recogn
File "videotrans\recognition\__init__.py", line 276, in run
File "videotrans\recognition\_base.py", line 140, in run
File "videotrans\recognition\_overall.py", line 63, in _exec
File "videotrans\recognition\_overall.py", line 142, in _faster
File "videotrans\configure\_base.py", line 276, in _new_process
RuntimeError: Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 176, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
RuntimeError: Unable to open file 'model.bin' in model 'G:/VideoTrans/Trans/win-pyvideotrans-v3.95/models/models--Systran--faster-whisper-large-v3'
TaskCfg(cache_folder='G:/VideoTrans/Trans/win-pyvideotrans-v3.95/tmp/29076/2e6e30dfff', target_dir='C:/Users/lsl/Downloads/_video_out/nasu-mp4', remove_noise=False, is_separate=False, detect_language='th', subtitle_language=None, source_language='泰国语', target_language='简体中文', source_language_code='th', target_language_code='zh-cn', source_sub='C:/Users/lsl/Downloads/_video_out/nasu-mp4/th.srt', target_sub='C:/Users/lsl/Downloads/_video_out/nasu-mp4/zh-cn.srt', source_wav='G:/VideoTrans/Trans/win-pyvideotrans-v3.95/tmp/29076/2e6e30dfff/th.wav', source_wav_output='C:/Users/lsl/Downloads/_video_out/nasu-mp4/th.m4a', target_wav='G:/VideoTrans/Trans/win-pyvideotrans-v3.95/tmp/29076/2e6e30dfff/target.wav', target_wav_output='C:/Users/lsl/Downloads/_video_out/nasu-mp4/zh-cn.m4a', subtitles='', novoice_mp4='G:/VideoTrans/Trans/win-pyvideotrans-v3.95/tmp/29076/2e6e30dfff/novoice.mp4', noextname='nasu', shibie_audio=None, targetdir_mp4='C:/Users/lsl/Downloads/_video_out/nasu-mp4/nasu.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=False, translate_type=1, tts_type=0, recogn_type=0, model_name='large-v3', voice_autorate=False, video_autorate=False, cuda=True, name='C:/Users/lsl/Downloads/nasu.mp4', basename='nasu.mp4', ext='mp4', dirname='C:/Users/lsl/Downloads', shound_del_name=None, uuid='2e6e30dfff', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False, fix_punc=False, recogn2pass=True)


=
system:Windows-10-10.0.22631-SP0
version:v3.95
frozen:True
language:zh
root_dir:G:/VideoTrans/Trans/win-pyvideotrans-v3.95

1 Replies

这是由于 faster-whisper-large-v3 模型文件 model.bin 下载不完整或损坏导致的。

解决方案:

  1. 手动下载并替换模型文件

    • 前往模型下载地址:https://huggingface.co/Systran/faster-whisper-large-v3/tree/main
    • 将该页面上的所有文件(包括 .bin.json.txt 等)下载到本地。
    • 在软件根目录的 models 文件夹内,找到并进入 models--Systran--faster-whisper-large-v3 文件夹。
    • 将下载的所有文件复制到此文件夹内,覆盖已存在的文件。
  2. 检查网络代理:如果手动下载困难,请确保已正确配置网络代理(在软件主界面“网络代理地址”中填写),以便软件能自动从 HuggingFace 或镜像站重新下载完整模型。
  3. 使用其他模型:如果问题持续,可以暂时在语音识别渠道的下拉菜单中,将模型更换为 large-v2large-v3-turbo 等其他可用模型。

请查阅相关文档:

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

Similar issues already exist