PhotoMaker
PhotoMaker copied to clipboard
PhotoMakerStableDiffusionXLPipeline.from_pretrained() download error
Fetching 18 files: 17%|██████████▌ | 3/18 [00:01<00:05, 2.52it/s] Traceback (most recent call last): File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 714, in urlopen httplib_response = self._make_request( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1053, in validate_conn conn.connect() File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connection.py", line 419, in connect self.sock = ssl_wrap_socket( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket ssl_sock = ssl_wrap_socket_impl( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/ssl.py", line 1040, in _create self.do_handshake() File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 798, in urlopen retries = retries.increment( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 714, in urlopen httplib_response = self._make_request( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1053, in validate_conn conn.connect() File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/connection.py", line 419, in connect self.sock = ssl_wrap_socket( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket ssl_sock = ssl_wrap_socket_impl( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/ssl.py", line 1040, in _create self.do_handshake() File "/home/wangjinting/anaconda3/envs/py3.8/lib/python3.8/ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/wangjinting/A-V/PhotoMaker/gradio_demo/app.py", line 27, in
You can try export HF_HUB_ENABLE_HF_TRANSFER=False