shap-e
shap-e copied to clipboard
ConnectionError: ('Connection aborted.', OSError(22, 'Invalid argument')) in image to 3D
using Python 3.11.2 in Visual Studio Code ( Mac M1 )
It show me error after running this code below
xm = load_model('transmitter', device=device)
model = load_model('image300M', device=device)
diffusion = diffusion_from_config(load_config('diffusion'))
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
File [/opt/homebrew/lib/python3.11/site-packages/urllib3/connectionpool.py:703](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/lib/python3.11/site-packages/urllib3/connectionpool.py:703), in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
702 # Make the request on the httplib connection object.
--> 703 httplib_response = self._make_request(
704 conn,
705 method,
706 url,
707 timeout=timeout_obj,
708 body=body,
709 headers=headers,
710 chunked=chunked,
711 )
713 # If we're going to release the connection in ``finally:``, then
714 # the response doesn't need to know about the connection. Otherwise
715 # it will also try to release it and we'll have a double-release
716 # mess.
File [/opt/homebrew/lib/python3.11/site-packages/urllib3/connectionpool.py:386](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/lib/python3.11/site-packages/urllib3/connectionpool.py:386), in HTTPConnectionPool._make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
385 try:
--> 386 self._validate_conn(conn)
387 except (SocketTimeout, BaseSSLError) as e:
388 # Py2 raises this as a BaseSSLError, Py3 raises it as socket timeout.
File [/opt/homebrew/lib/python3.11/site-packages/urllib3/connectionpool.py:1042](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/lib/python3.11/site-packages/urllib3/connectionpool.py:1042), in HTTPSConnectionPool._validate_conn(self, conn)
...
549 except MaxRetryError as e:
550 if isinstance(e.reason, ConnectTimeoutError):
551 # TODO: Remove this in 3.0.0: see #2811
ConnectionError: ('Connection aborted.', OSError(22, 'Invalid argument'))
@wastu01 were you ever able to successfully run it on M1?
were you ever able to successfully run it on M1?
not working on May 7. maybe they already update and fixed after that day I using.