Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -O http://download.tensorflow.org/example_images/flower_photos.tgz
- tar xzf flower_photos.tgz
- curl -O https://raw.githubusercontent.com/tensorflow/tensorflow/r1.1/tensorflow/examples/image_retraining/retrain.py
- tensorboard --logdir training_summaries &
- python retrain.py --bottlenecks_dir=bottlenecks --model_dir=inception --summaries_dir=training_summaries/long --output_graph=retrained_graph.pb --output_labels=retrained_labels.txt --image_dir=flower_photos
- curl -L https://goo.gl/3lTKZs > label_image.py
- python label_image.py flower_photos/daisy/21652746_cc379e0eea_m.jpg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement