Created
October 7, 2016 21:40
-
-
Save IAMIronmanSam/073a03997464cf64e852141ea756a74c to your computer and use it in GitHub Desktop.
Image Classifier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Deplo tensorflow image in docker | |
sudo docker run -it gcr.io/tensorflow/tensorflow:latest-devel | |
#Copy Image Set- | |
sudo docker run -it -v /home/arivu/MyWorld/tensorflow/tf_files/starwars:/tf_files/starwars gcr.io/tensorflow/tensorflow:latest-devel | |
#Re-Train model | |
python /tensorflow/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/starwars |
I'm having this problem too
You should link the '/home/arivu/MyWorld/tensorflow' not just '/home/arivu/MyWorld/tensorflow/starwars'. Otherwise, the train model will be deleted after you exit the docker session.
sudo docker run -it -v /home/arivu/MyWorld/tensorflow/tf_files:/tf_files gcr.io/tensorflow/tensorflow:latest-devel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the same problem with you. Were you able to find a solution?