tryolabs / luminoth

Deep Learning toolkit for Computer Vision.
https://tryolabs.com
BSD 3-Clause "New" or "Revised" License
2.4k stars 401 forks source link

Traceback (most recent call last): File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\connection.py", line 160, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\util\connection.py", line 61, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\socket.py", line 743, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed #301

Open BlackHandguy opened 3 years ago

BlackHandguy commented 3 years ago

When Training Faster RCNN, I got this problem!

Traceback (most recent call last): File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\connection.py", line 160, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\util\connection.py", line 61, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\socket.py", line 743, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen chunked=chunked, File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\connectionpool.py", line 392, in _make_request conn.request(method, url, **httplib_request_kw) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\http\client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\http\client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\http\client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\http\client.py", line 1026, in _send_output self.send(msg) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\http\client.py", line 964, in send self.connect() File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\connection.py", line 187, in connect conn = self._new_conn() File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\connection.py", line 172, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000001199E085C88>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\requests\adapters.py", line 449, in send timeout=timeout File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\connectionpool.py", line 727, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\urllib3\util\retry.py", line 439, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='download.tensorflow.org', port=80): Max retries exceeded with url: /models/resnet_v1_101_2016_08_28.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001199E085C88>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "D:\Anaconda3-2019.03\Anaconda3\envs\luminoth\Scripts\lumi.exe__main.py", line 9, in File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\click\core.py", line 722, in call__ return self.main(args, kwargs) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\click\core.py", line 697, in main rv = self.invoke(ctx) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\click\core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\click\core.py", line 895, in invoke return ctx.invoke(self.callback, ctx.params) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\click\core.py", line 535, in invoke return callback(args, kwargs) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\luminoth\train.py", line 307, in train config, environment=environment File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\luminoth\train.py", line 116, in run checkpoint_file = model.get_checkpoint_file() File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\luminoth\models\fasterrcnn\fasterrcnn.py", line 364, in get_checkpoint_file return self.base_network.get_checkpoint_file() File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\luminoth\models\base\base_network.py", line 194, in get_checkpoint_file return get_checkpoint_file(self._architecture) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\luminoth\utils\checkpoint_downloader.py", line 101, in get_checkpoint_file network, network_filename, checkpoint_path, checkpoint_file File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\luminoth\utils\checkpoint_downloader.py", line 61, in download_checkpoint response = requests.get(url, stream=True) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\requests\api.py", line 76, in get return request('get', url, params=params, kwargs) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\requests\api.py", line 61, in request return session.request(method=method, url=url, kwargs) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\requests\sessions.py", line 530, in request resp = self.send(prep, send_kwargs) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\requests\sessions.py", line 643, in send r = adapter.send(request, **kwargs) File "d:\anaconda3-2019.03\anaconda3\envs\luminoth\lib\site-packages\requests\adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='download.tensorflow.org', port=80): Max retries exceeded with url: /models/resnet_v1_101_2016_08_28.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001199E085C88>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))