翻译字幕阶段出错 [Hy-MT2-1.8B(本地内置)] 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 250, in handle_request
File "httpcore\_sync\connection_pool.py", line 216, in handle_request
File "httpcore\_sync\connection_pool.py", line 196, in handle_request
File "httpcore\_sync\connection.py", line 99, in handle_request
File "httpcore\_sync\connection.py", line 76, in handle_request
File "httpcore\_sync\connection.py", line 154, in _connect
File "httpcore\_backends\sync.py", line 152, in start_tls
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1017)
The above exception was the direct cause of the following exception:
Trace
......
\concurrent.py", line 69, in thread_map
return _executor_map(ThreadPoolExecutor, fn, *iterables, **tqdm_kwargs)
File "tqdm\contrib\concurrent.py", line 51, in _executor_map
return list(tqdm_class(ex.map(fn, *iterables, chunksize=chunksize), **kwargs))
File "tqdm\std.py", line 1169, in iter
for obj in iterable:
File "concurrent\futures\_base.py", line 621, in result_iterator
File "concurrent\futures\_base.py", line 319, in _result_or_cancel
File "concurrent\futures\_base.py", line 458, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "concurrent\futures\thread.py", line 58, in run
File "huggingface_hub\_snapshot_download.py", line 435, in _inner_hf_hub_download
hf_hub_download( # type: ignore
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn
return fn(*args, **kwargs)
File "huggingface_hub\file_download.py", line 976, in hf_hub_download
return _hf_hub_download_to_local_dir(
File "huggingface_hub\file_download.py", line 1427, in _hf_hub_download_to_local_dir
_download_to_tmp_and_move(
File "huggingface_hub\file_download.py", line 1858, in _download_to_tmp_and_move
http_get(
File "videotrans\util\help_down.py", line 105, in _patched_http_get
File "huggingface_hub\utils\_validators.py", line 88, in _inner_fn
return fn(*args, **kwargs)
File "huggingface_hub\file_download.py", line 371, in http_get
with http_stream_backoff(
File "contextlib.py", line 135, in enter
File "huggingface_hub\utils\_http.py", line 644, in http_stream_backoff
yield from _http_backoff_base(
File "huggingface_hub\utils\_http.py", line 462, in _http_backoff_base
with client.stream(method=method, url=url, **kwargs) as response:
File "contextlib.py", line 135, in enter
File "httpx\_client.py", line 868, in stream
File "httpx\_client.py", line 914, in send
File "httpx\_client.py", line 942, in _send_handling_auth
File "httpx\_client.py", line 979, in _send_handling_redirects
File "httpx\_client.py", line 1014, in _send_single_request
File "httpx\_transports\default.py", line 249, in handle_request
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1017)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "videotrans\task\job.py", line 35, in run
File "videotrans\task\job.py", line 135, in process_task
File "videotrans\task\translate_srt.py", line 47, in trans
File "videotrans\translator\_runner.py", line 63, in run
File "videotrans\translator\_base.py", line 63, in run
File "videotrans\translator\_hymt2.py", line 20, in _download
File "videotrans\util\help_down.py", line 166, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: 自动下载模型失败,你可以点击 【查看帮助教程】 了解如何手动下载
cfg=TaskCfgSTS(uuid='6aaff50807', name='E:/UE5_Top Down RPG/UE5-EN_TopDownRPG/_video_out/190.Rock Projectile-mp4/en.srt', dirname='E:/UE5_Top Down RPG/UE5-EN_TopDownRPG/_video_out/190.Rock Projectile-mp4', noextname='en', basename='en.srt', ext='srt', target_dir='E:/01testtt/pyVideoTrans/output/translate', cache_folder=None, is_cuda=False, source_language=None, source_language_code='English', source_sub='E:/UE5_Top Down RPG/UE5-EN_TopDownRPG/_video_out/190.Rock Projectile-mp4/en.srt', source_wav=None, source_wav_output=None, target_language=None, target_language_code='Simplified Chinese', target_sub='E:/01testtt/pyVideoTrans/output/translate/en.Simplified Chinese.srt', target_wav=None, target_wav_output=None, translate_type=3)
=
system:Windows-10-10.0.19045-SP0
version:v4.06
frozen:True
language:zh
root_dir:E:/01testtt/pyVideoTrans