Last active
April 11, 2017 10:37
-
-
Save murano500k/0d56b88c0b1cae106e580b3fc77fb56a to your computer and use it in GitHub Desktop.
Tensorflow
This file contains hidden or 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
sudo docker images | |
export CONTAINER | |
export FILE | |
docker save CONTAINER > /media/artem/hddgl/tf.tar | |
docker cp FILE CONTAINER:/notebooks | |
docker run -it -v /media/artem/hddgl/tf/tf_files:/tf_files gcr.io/tensorflow/tensorflow:latest-devel | |
docker run -it -v $TF:/tf_files gcr.io/tensorflow/tensorflow:latest-devel | |
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/cars | |
python /tf_files/label_image.py /tf_files/mx_grandi10sedan_main2016.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment