Traceback (most recent call last):
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 793, in urlopen
response = self._make_request(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
conn.connect()
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connection.py", line 616, in connect
self.sock = sock = self._new_conn()
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f4cad830a00>: Failed to establish a new connection: [Errno 101] Network is unreachable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 847, in urlopen
retries = retries.increment(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/stabilityai/stable-video-diffusion-img2vid (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4cad830a00>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gen_vid.py", line 115, in
gen_vid(args.name, args.seed, args.bg, args.is_pad)
File "gen_vid.py", line 63, in gen_vid
pipe = StableVideoDiffusionPipeline.from_pretrained(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/diffusers/pipelines/pipeline_utils.py", line 1090, in from_pretrained
cached_folder = cls.download(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/diffusers/pipelines/pipeline_utils.py", line 1649, in download
info = model_info(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(args, kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 2300, in model_info
r = get_session().get(path, headers=headers, timeout=timeout, params=params)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, send_kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/huggingface_hub/utils/_http.py", line 66, in send
return super().send(request, args, **kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/stabilityai/stable-video-diffusion-img2vid (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4cad830a00>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"), '(Request ID: 5119f1d6-fc7e-4c2b-89b3-620895c0449a)')
Traceback (most recent call last): File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connection.py", line 198, in _new_conn sock = connection.create_connection( File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection raise err File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) OSError: [Errno 101] Network is unreachable
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 793, in urlopen response = self._make_request( File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 491, in _make_request raise new_e File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn conn.connect() File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connection.py", line 616, in connect self.sock = sock = self._new_conn() File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connection.py", line 213, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f4cad830a00>: Failed to establish a new connection: [Errno 101] Network is unreachable
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/connectionpool.py", line 847, in urlopen retries = retries.increment( File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/stabilityai/stable-video-diffusion-img2vid (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4cad830a00>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "gen_vid.py", line 115, in
gen_vid(args.name, args.seed, args.bg, args.is_pad)
File "gen_vid.py", line 63, in gen_vid
pipe = StableVideoDiffusionPipeline.from_pretrained(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/diffusers/pipelines/pipeline_utils.py", line 1090, in from_pretrained
cached_folder = cls.download(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/diffusers/pipelines/pipeline_utils.py", line 1649, in download
info = model_info(
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(args, kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 2300, in model_info
r = get_session().get(path, headers=headers, timeout=timeout, params=params)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, send_kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/huggingface_hub/utils/_http.py", line 66, in send
return super().send(request, args, **kwargs)
File "/home/h/anaconda3/envs/4dgaussian/lib/python3.8/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/stabilityai/stable-video-diffusion-img2vid (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4cad830a00>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"), '(Request ID: 5119f1d6-fc7e-4c2b-89b3-620895c0449a)')
请问大佬们这种情况如何解决?