#2472 TaskCfg(cache_folder='E:/trans/win-pyvideotrans-v3.92/tmp/15572/94ed66ef4c', target_dir='E:/trans/recogn', remove_noise=

183.87* Posted at: 1 month ago 👁92

语音识别阶段出错 [faster-whisper(本地)] 下载模型失败,你可以打开以下网址,将 .bin/.txt/.json 文件下载到
E:/trans/win-pyvideotrans-v3.92/models/models--Systran--faster-whisper-large-v3 文件夹内

[https://huggingface.co/Systran/faster-whisper-large-v3/tree/main]

Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\_speech2text.py", line 146, in recogn
File "videotrans\recognition\__init__.py", line 245, in run
File "videotrans\recognition\_base.py", line 80, in run
File "videotrans\recognition\_overall.py", line 182, in _exec
RuntimeError: 下载模型失败,你可以打开以下网址,将 .bin/.txt/.json 文件下载到
E:/trans/win-pyvideotrans-v3.92/models/models--Systran--faster-whisper-large-v3 文件夹内

[https://huggingface.co/Systran/faster-whisper-large-v3/tree/main]

TaskCfg(cache_folder='E:/trans/win-pyvideotrans-v3.92/tmp/15572/94ed66ef4c', target_dir='E:/trans/recogn', remove_noise=True, is_separate=False, detect_language='ja', subtitle_language=None, source_language=None, target_language=None, source_language_code=None, target_language_code=None, source_sub=None, target_sub='E:/trans/recogn/PPPE-280.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='PPPE-280', shibie_audio='E:/trans/win-pyvideotrans-v3.92/tmp/15572/94ed66ef4c/removed_noise_1767505551.3918285.wav', targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=None, tts_type=None, recogn_type=0, model_name='large-v3', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='C:/Users/niu/Downloads/Video/PPPE-280.ts', basename='PPPE-280.ts', ext='ts', dirname='C:/Users/niu/Downloads/Video', shound_del_name=None, uuid='94ed66ef4c', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False)


=
system:Windows-10-10.0.22621-SP0
version:v3.92
frozen:True
language:zh
root_dir:E:/trans/win-pyvideotrans-v3.92

1 Replies

下载模型失败通常是由于网络连接问题或 HuggingFace 访问限制导致。请按以下步骤解决:

  1. 手动下载模型文件(推荐)

    • 打开错误信息中提供的链接:https://huggingface.co/Systran/faster-whisper-large-v3/tree/main
    • 在页面中找到并下载所有 .bin.txt.json 文件(通常包括 model.binconfig.jsontokenizer.jsonvocabulary.txt 等)。
    • 将这些文件放入软件指定的文件夹:E:/trans/win-pyvideotrans-v3.92/models/models--Systran--faster-whisper-large-v3(如果文件夹不存在,请手动创建)。
    • 完成后重启软件重试。
  2. 使用代理(如果手动下载也失败)

    • 在主界面第5行“网络代理”处,填入可用的代理地址(格式如 http://127.0.0.1:10809)。
    • 勾选“清理已生成”,然后重新运行任务。
  3. 更换更小的模型(临时方案)

    • 在语音识别设置中,将模型从 large-v3 更换为 mediumsmall,这些模型体积更小,下载成功率更高。
  4. 检查杀毒软件/防火墙

    • 暂时禁用杀毒软件或防火墙,看是否是其阻止了网络连接。

如果以上方法均无效,可能是 HuggingFace 服务器暂时不可用,请稍后再试。

请查看更多参考文档:

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