Advertisement
RapidLemon

Untitled

May 21st, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. curl -O http://download.tensorflow.org/example_images/flower_photos.tgz
  2.  
  3. tar xzf flower_photos.tgz
  4.  
  5. curl -O https://raw.githubusercontent.com/tensorflow/tensorflow/r1.1/tensorflow/examples/image_retraining/retrain.py
  6.  
  7. tensorboard --logdir training_summaries &
  8.  
  9. 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
  10.  
  11. curl -L https://goo.gl/3lTKZs > label_image.py
  12.  
  13. python label_image.py flower_photos/daisy/21652746_cc379e0eea_m.jpg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement