-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscripts.txt
More file actions
13 lines (8 loc) · 1.02 KB
/
scripts.txt
File metadata and controls
13 lines (8 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
//for inception model
python -m scripts.retrain --bottleneck_dir=tf_files/bottlenecks --how_many_training_steps 500 --model_dir=tf_files/models/inception --architecture=inception --output_graph=tf_files/retrained_graph.pb --output_labels=tf_files/retrained_labels.txt --image_dir=tf_files/DataSet/
//for mobilenet model
python -m scripts.retrain --bottleneck_dir=tf_files/bottlenecks --how_many_training_steps 500 --model_dir=tf_files/models/mobilenet_0.50_224 --architecture=mobilenet_0.50_224 --summaries_dir=tf_files/training_summaries/mobilenet_0.50_224 --output_graph=tf_files/retrained_graph.pb --output_labels=tf_files/retrained_labels.txt --image_dir=tf_files/DataSet/
//for inception model
python -m scripts.label_image --input_height 299 --input_width 299 --input_layer "Mul" --graph=tf_files/retrained_graph.pb --image=tf_files/DataSet/roses/12240303_80d87f77a3_n.jpg
//for mobilenet model
python -m scripts.label_image --graph=tf_files/retrained_graph.pb --image=tf_files/DataSet/roses/12240303_80d87f77a3_n.jpg