instruct-nerf2nerf
instruct-nerf2nerf copied to clipboard
Unable to connect to instruct-pix2pix
During the editing training phase, I encountered the following problem. I tried using VPN but it didn't work. How can I solve it? Couldn't connect to the Hub: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/timbrooks/instruct-pix2pix (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)')))"), '(Request ID: 47f0e2b9-5e1c-47b7-b3a1-2ea343018d99)'). Will try to load from local cache. Traceback (most recent call last): File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\connectionpool.py", line 712, in urlopen self._prepare_proxy(conn) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\connectionpool.py", line 1012, in _prepare_proxy conn.connect() File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\connection.py", line 369, in connect self.sock = conn = self._connect_tls_proxy(hostname, conn) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\connection.py", line 504, in connect_tls_proxy socket = ssl_wrap_socket( File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\util\ssl.py", line 453, in ssl_wrap_socket ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\util\ssl.py", line 495, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\ssl.py", line 1073, in _create self.do_handshake() File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\ssl.py", line 1342, in do_handshake self._sslobj.do_handshake() ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:1135)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\requests\adapters.py", line 486, in send resp = conn.urlopen( File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\connectionpool.py", line 799, in urlopen retries = retries.increment( File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\urllib3\util\retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/timbrooks/instruct-pix2pix (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 1205, in download info = model_info(pretrained_model_name, token=token, revision=revision) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\huggingface_hub\utils_validators.py", line 119, in _inner_fn return fn(*args, **kwargs) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\huggingface_hub\hf_api.py", line 2227, in model_info r = get_session().get(path, headers=headers, timeout=timeout, params=params) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\requests\sessions.py", line 602, in get return self.request("GET", url, **kwargs) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\huggingface_hub\utils_http.py", line 68, in send return super().send(request, *args, **kwargs) File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\site-packages\requests\adapters.py", line 517, in send raise SSLError(e, request=request) requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/timbrooks/instruct-pix2pix (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)')))"), '(Request ID: 47f0e2b9-5e1c-47b7-b3a1-2ea343018d99)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\Load_File\Anaconda3\envs\nerfstudio\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "D:\Load_File\Anaconda3\envs\nerfstudio\Scripts\ns-train.exe_main.py", line 7, in
I also tried the ping command, but couldn't connect. ping huggingface.co 正在 Ping huggingface.co [199.59.149.230] 具有 32 字节的数据: 请求超时。 请求超时。 请求超时。
Do you have any other solutions?