Forum Discussion

Titanameda's avatar
Titanameda
Icon for New Contributor rankNew Contributor
6 years ago

openvino : what is the reason for this , how to resolve?

after running this script , the following errors are obtained

script: ./demo_squeezenet_download_convert_run.sh

ERRORS:

################|| Downloading models ||################

========== Retrieving /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.prototxt from the cache

========== Downloading /root/openvino_models/models/public/squeezenet1.1/squeezenet1.1.caffemodel

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen

chunked=chunked)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request

self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn

conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 326, in connect

ssl_context=context)

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 332, in ssl_wrap_socket

return context.wrap_socket(sock, server_hostname=server_hostname)

File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket

_context=self, _session=session)

File "/usr/lib/python3.6/ssl.py", line 817, in __init__

self.do_handshake()

File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake

self._sslobj.do_handshake()

File "/usr/lib/python3.6/ssl.py", line 689, 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 "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 449, in send

timeout=timeout

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen

_stacktrace=sys.exc_info()[2])

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 367, in increment

raise six.reraise(type(error), error, _stacktrace)

File "/usr/lib/python3/dist-packages/six.py", line 692, in reraise

raise value.with_traceback(tb)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen

chunked=chunked)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request

self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn

conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 326, in connect

ssl_context=context)

File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 332, in ssl_wrap_socket

return context.wrap_socket(sock, server_hostname=server_hostname)

File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket

_context=self, _session=session)

File "/usr/lib/python3.6/ssl.py", line 817, in __init__

self.do_handshake()

File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake

self._sslobj.do_handshake()

File "/usr/lib/python3.6/ssl.py", line 689, 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 "/opt/intel/openvino_2019.3.376/deployment_tools/open_model_zoo/tools/downloader/downloader.py", line 65, in try_download

chunk_iterable = start_download()

File "/opt/intel/openvino_2019.3.376/deployment_tools/open_model_zoo/tools/downloader/downloader.py", line 244, in <lambda>

lambda: model_file.source.start_download(session, CHUNK_SIZE)):

File "/opt/intel/openvino_2019.3.376/deployment_tools/open_model_zoo/tools/downloader/common.py", line 172, in start_download

response = session.get(self.url, stream=True, timeout=DOWNLOAD_TIMEOUT)

File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 546, in get

return self.request('GET', url, **kwargs)

File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 533, in request

resp = self.send(prep, **send_kwargs)

File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 646, in send

r = adapter.send(request, **kwargs)

File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 498, in send

raise ConnectionError(err, request=request)

requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

########## Error: Download failed

################|| Post-processing ||################

FAILED:

squeezenet1.1

Error on or near line 159; exiting with status 1

14 Replies