Closed drimyus closed 3 years ago
I tried to run the image_demo.py, it was failed while downloading the models
Cannot find model file ./_models/model-mobilenet_v1_101.pb, converting from tfjs... Weights for checkpoint mobilenet_v1_101 are not downloaded. Downloading to /tmp/_posenet_weights ... Downloading MobilenetV1_Conv2d_0_biases Downloading MobilenetV1_Conv2d_0_weights Downloading MobilenetV1_Conv2d_10_depthwise_biases Downloading MobilenetV1_Conv2d_10_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_10_pointwise_biases Downloading MobilenetV1_Conv2d_10_pointwise_weights Downloading MobilenetV1_Conv2d_11_depthwise_biases Downloading MobilenetV1_Conv2d_11_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_11_pointwise_biases Downloading MobilenetV1_Conv2d_11_pointwise_weights Downloading MobilenetV1_Conv2d_12_depthwise_biases Downloading MobilenetV1_Conv2d_12_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_12_pointwise_biases Downloading MobilenetV1_Conv2d_12_pointwise_weights Downloading MobilenetV1_Conv2d_13_depthwise_biases Downloading MobilenetV1_Conv2d_13_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_13_pointwise_biases Downloading MobilenetV1_Conv2d_13_pointwise_weights Downloading MobilenetV1_Conv2d_1_depthwise_biases Downloading MobilenetV1_Conv2d_1_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_1_pointwise_biases Downloading MobilenetV1_Conv2d_1_pointwise_weights Downloading MobilenetV1_Conv2d_2_depthwise_biases Downloading MobilenetV1_Conv2d_2_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_2_pointwise_biases Downloading MobilenetV1_Conv2d_2_pointwise_weights Downloading MobilenetV1_Conv2d_3_depthwise_biases Downloading MobilenetV1_Conv2d_3_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_3_pointwise_biases Downloading MobilenetV1_Conv2d_3_pointwise_weights Downloading MobilenetV1_Conv2d_4_depthwise_biases Downloading MobilenetV1_Conv2d_4_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_4_pointwise_biases Downloading MobilenetV1_Conv2d_4_pointwise_weights Downloading MobilenetV1_Conv2d_5_depthwise_biases Downloading MobilenetV1_Conv2d_5_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_5_pointwise_biases Downloading MobilenetV1_Conv2d_5_pointwise_weights Downloading MobilenetV1_Conv2d_6_depthwise_biases Downloading MobilenetV1_Conv2d_6_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_6_pointwise_biases Downloading MobilenetV1_Conv2d_6_pointwise_weights Downloading MobilenetV1_Conv2d_7_depthwise_biases Downloading MobilenetV1_Conv2d_7_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_7_pointwise_biases Downloading MobilenetV1_Conv2d_7_pointwise_weights Downloading MobilenetV1_Conv2d_8_depthwise_biases Downloading MobilenetV1_Conv2d_8_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_8_pointwise_biases Downloading MobilenetV1_Conv2d_8_pointwise_weights Downloading MobilenetV1_Conv2d_9_depthwise_biases Downloading MobilenetV1_Conv2d_9_depthwise_depthwise_weights Downloading MobilenetV1_Conv2d_9_pointwise_biases Downloading MobilenetV1_Conv2d_9_pointwise_weights Downloading MobilenetV1_displacement_bwd_1_biases Downloading MobilenetV1_displacement_bwd_1_weights Downloading MobilenetV1_displacement_bwd_2_biases Downloading MobilenetV1_displacement_bwd_2_weights Downloading MobilenetV1_displacement_fwd_1_biases Downloading MobilenetV1_displacement_fwd_1_weights Downloading MobilenetV1_displacement_fwd_2_biases Downloading MobilenetV1_displacement_fwd_2_weights Traceback (most recent call last): File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/lib/python3.7/http/client.py", line 1252, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1298, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1247, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3.7/http/client.py", line 1414, in connect super().connect() File "/usr/lib/python3.7/http/client.py", line 938, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known During handling of the above exception, another exception occurred:
I tried to run the image_demo.py, it was failed while downloading the models