roytseng-tw / Detectron.pytorch

A pytorch implementation of Detectron. Both training from scratch and inferring directly from pretrained Detectron weights are available.
MIT License
2.82k stars 565 forks source link

python tools/download_imagenet_weights.py #141

Open zq130320339 opened 6 years ago

zq130320339 commented 6 years ago

Traceback (most recent call last): File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn (self.host, self.port), self.timeout, **extra_kw) File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/util/connection.py", line 83, in create_connection raise err File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen chunked=chunked) File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py", line 346, in _make_request self._validate_conn(conn) File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py", line 850, in _validate_conn conn.connect() File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/connection.py", line 284, in connect conn = self._new_conn() File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f42d27027f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/zq/anaconda3/lib/python3.6/site-packages/requests/adapters.py", line 440, in send timeout=timeout File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen _stacktrace=sys.exc_info()[2]) File "/home/zq/anaconda3/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='docs.google.com', port=443): Max retries exceeded with url: /uc?export=download&id=1wHSvusQ1CiEMc5Nx5R8adqoHQjIDWXl1 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f42d27027f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "tools/download_imagenet_weights.py", line 91, in main() File "tools/download_imagenet_weights.py", line 86, in main download_file_from_google_drive(file_id, destination) File "tools/download_imagenet_weights.py", line 51, in download_file_from_google_drive response = session.get(URL, params={'id': id}, stream=True) File "/home/zq/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 521, in get return self.request('GET', url, kwargs) File "/home/zq/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 508, in request resp = self.send(prep, send_kwargs) File "/home/zq/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "/home/zq/anaconda3/lib/python3.6/site-packages/requests/adapters.py", line 508, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='docs.google.com', port=443): Max retries exceeded with url: /uc?export=download&id=1wHSvusQ1CiEMc5Nx5R8adqoHQjIDWXl1 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f42d27027f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

Merofine commented 5 years ago

did you make it? @zq130320339

guoguotingzhu commented 5 years ago

I met the same problem .have you solved it?