3DTopia / LGM

[ECCV 2024 Oral] LGM: Large Multi-View Gaussian Model for High-Resolution 3D Content Creation.
https://me.kiui.moe/lgm/
MIT License
1.71k stars 118 forks source link

HTTPS #57

Closed Haun-Kim closed 5 months ago

Haun-Kim commented 5 months ago

(LGM) PS C:\Users\Haun\PycharmProjects\LGM> python app.py big --resume pretrained/model_fp16_fixrot.safetensors A matching Triton is not available, some optimizations will not be enabled Traceback (most recent call last): File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\xformers__init__.py", line 55, in _is_triton_available from xformers.triton.softmax import softmax as triton_softmax # noqa File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\xformers\triton\softmax.py", line 11, in import triton ModuleNotFoundError: No module named 'triton' C:\Users\Haun\PycharmProjects\LGM\core\attention.py:22: UserWarning: xFormers is available (Attention) warnings.warn("xFormers is available (Attention)") [INFO] Loaded checkpoint from pretrained/model_fp16_fixrot.safetensors Keyword arguments {'trust_remote_code': True} are not expected by MVDreamPipeline and will be ignored. Loading pipeline components...: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:00<00:00, 9.56it/s] Keyword arguments {'trust_remote_code': True} are not expected by MVDreamPipeline and will be ignored. Loading pipeline components...: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 7/7 [00:00<00:00, 7.11it/s] Downloading data from 'https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx' to file 'C:\Users\Haun.u2net\u2net.onnx'. Traceback (most recent call last): File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\connection.py", line 198, in _new_conn sock = connection.create_connection( File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection raise err File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection sock.connect(sa) socket.timeout: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen response = self._make_request( File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\connectionpool.py", line 491, in _make_request raise new_e File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\connectionpool.py", line 1099, in _validate_conn conn.connect() File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\connection.py", line 616, in connect self.sock = sock = self._new_conn() File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\connection.py", line 207, in _new_conn raise ConnectTimeoutError( urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x00000192722BC940>, 'Connection to objects.githubusercontent.com timed out. (connect timeout=5)')

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\requests\adapters.py", line 667, in send resp = conn.urlopen( File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen retries = retries.increment( File "C:\Users\Haun\miniconda3\envs\LGM\lib\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='objects.githubusercontent.com', port=443): Max retries exceeded with url: /github-production-release-asset-2e65be/286500101/e39324e8-fce7-44ee-ae2f-12c49df29c51?X-Amz-A lgorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240602%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240602T093548Z&X-Amz-Expires=300&X-Amz-Signature=ce48add1a37a7a19f0c712cc07c7a2bab354c48cca1bbebe45dabd86e a3efa97&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=286500101&response-content-disposition=attachment%3B%20filename%3Du2net.onnx&response-content-type=application%2Foctet-stream (Caused by ConnectTimeoutError(<urllib3.c onnection.HTTPSConnection object at 0x00000192722BC940>, 'Connection to objects.githubusercontent.com timed out. (connect timeout=5)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "app.py", line 73, in bg_remover = rembg.new_session() File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\rembg\session_factory.py", line 44, in new_session return session_class(model_name, sess_opts, providers, *args, *kwargs) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\rembg\sessions\base.py", line 35, in init str(self.class.download_models(args, kwargs)), File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\rembg\sessions\u2net.py", line 62, in download_models pooch.retrieve( File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\pooch\core.py", line 239, in retrieve stream_download(url, full_path, known_hash, downloader, pooch=None) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\pooch\core.py", line 807, in stream_download downloader(url, tmp, pooch) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\pooch\downloaders.py", line 214, in call response = requests.get(url, timeout=timeout, kwargs) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\requests\api.py", line 73, in get return request("get", url, params=params, kwargs) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\requests\api.py", line 59, in request return session.request(method=method, url=url, kwargs) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, send_kwargs) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\requests\sessions.py", line 724, in send history = [resp for resp in gen] history = [resp for resp in gen] File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\requests\sessions.py", line 265, in resolve_redirects resp = self.send( File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, kwargs) File "C:\Users\Haun\miniconda3\envs\LGM\lib\site-packages\requests\adapters.py", line 688, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='objects.githubusercontent.com', port=443): Max retries exceeded with url: /github-production-release-asset-2e65be/286500101/e39324e8-fce7-44ee-ae2f-12c49df29c51?X-Amz -Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240602%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240602T093548Z&X-Amz-Expires=300&X-Amz-Signature=ce48add1a37a7a19f0c712cc07c7a2bab354c48cca1bbebe45dabd8 6ea3efa97&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=286500101&response-content-disposition=attachment%3B%20filename%3Du2net.onnx&response-content-type=application%2Foctet-stream (Caused by ConnectTimeoutError(<urllib3 .connection.HTTPSConnection object at 0x00000192722BC940>, 'Connection to objects.githubusercontent.com timed out. (connect timeout=5)'))