aritroper aritroper - 15 days ago 29
Git Question

Connection reset by peer error TensorFlow

I am trying to build an image recognizer program using TensorFlow and Docker I keep getting the following error when I try to train a classifier,
using this code:

python tensorflow/examples/image_retraining/retrain.py \
--bottleneck_dir=/tf_files/bottlenecks \
--how_many_training_steps 500 \
--model_dir=/tf_files/inception \
--output_graph=/tf_files/retrained_graph.pb \
--output_labels=/tf_files/retrained_labels.txt \
--image_dir /tf_files/flower_photos


as such: enter image description here

socket.error: [Errno 104] Connection reset by peer


and then when I ran the code again I got the error:

IOError: CRC check failed 0x76f1f85e != 0x6caceac0L


any suggestions?

Answer

After working on the issue, I figured out that there was an error with unzipping the inception v3 file and so I had to manually install the directory off of the TensorFlow git and put it into the tf_files directory and then delete in the file image_retraining.py the DATA_URL that contained the link for the inception v3 file as well as the method that used the DATA_URL.

Comments