语音识别阶段出错:[faster-whisper(本地)] 多次重试连接失败,服务可能暂时不可用:
Traceback (most recent call last):
File "videotrans\task\job.py", line 113, in run
File "videotrans\task\trans_create.py", line 360, in recogn
File "videotrans\recognition\__init__.py", line 243, in run
File "videotrans\recognition\_base.py", line 78, in run
File "videotrans\recognition\_overall.py", line 180, in _exec
RuntimeError: urllib3.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:997)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 519, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hf-mirror.com', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v3/revision/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\process\_overall.py", line 93, in run
File "faster_whisper\transcribe.py", line 681, in init
File "faster_whisper\utils.py", line 116, in download_model
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\_snapshot_download.py", line 165, in snapshot_download
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\hf_api.py", line 2864, in repo_info
File "huggingface_hub\utils\_validators.py", line 114, in _inner_fn
File "huggingface_hub\hf_api.py", line 2648, in model_info
File "requests\sessions.py", line 602, in get
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "huggingface_hub\utils\_http.py", line 95, in send
File "requests\adapters.py", line 675, in send
requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='hf-mirror.com', port=443): Max retries exceeded with url: /api/models/Systran/faster-whisper-large-v3/revision/main (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))"), '(Request ID: 3ad2392a-28b5-4316-a4dd-43af2ee6740f)')
TaskCfg(cache_folder='D:/win-pyvideotrans-v3.87/tmp/34856/bb90754461', target_dir='D:/2222/Pharmacology,药理学/抗生素/_video_out/Hexokinase.vs.Glucokinase.Part.2-mp4', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='D:/2222/Pharmacology,药理学/抗生素/_video_out/Hexokinase.vs.Glucokinase.Part.2-mp4/en.srt', target_sub='D:/2222/Pharmacology,药理学/抗生素/_video_out/Hexokinase.vs.Glucokinase.Part.2-mp4/zh-cn.srt', source_wav='D:/win-pyvideotrans-v3.87/tmp/34856/bb90754461/en.wav', source_wav_output='D:/2222/Pharmacology,药理学/抗生素/_video_out/Hexokinase.vs.Glucokinase.Part.2-mp4/en.m4a', target_wav='D:/win-pyvideotrans-v3.87/tmp/34856/bb90754461/target.wav', target_wav_output='D:/2222/Pharmacology,药理学/抗生素/_video_out/Hexokinase.vs.Glucokinase.Part.2-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/win-pyvideotrans-v3.87/tmp/34856/bb90754461/novoice.mp4', noextname='Hexokinase.vs.Glucokinase.Part.2', shibie_audio=None, targetdir_mp4='D:/2222/Pharmacology,药理学/抗生素/_video_out/Hexokinase.vs.Glucokinase.Part.2-mp4/Hexokinase.vs.Glucokinase.Part.2.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=1, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='gtts', copysrt_rawvideo=False, clear_cache=False, translate_type=10, tts_type=22, recogn_type=0, model_name='large-v3', split_type=0, voice_autorate=True, video_autorate=True, cuda=False, name='D:/2222/Pharmacology,药理学/胰岛素相关/Hexokinase.vs.Glucokinase.Part.2.mp4', basename='Hexokinase.vs.Glucokinase.Part.2.mp4', ext='mp4', dirname='D:/2222/Pharmacology,药理学/胰岛素相关', shound_del_name=None, uuid='bb90754461', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0)
=
system:Windows-10-10.0.26200-SP0
version:v3.87
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.87