Coggle requires JavaScript to display documents.
InceptionV3
with tf.Session() as sess: with tf.gfile.FastGFile(pb_file,'rb') as f: graph_def=tf.GraphDef() graph_def.ParseFromString(f.read()) tf.import_graph_def(graph_def,name='')
softmax_tensor=sess.graph.get_tensor_by_name('softmax:0')
python retrain.py \ --bottleneck_dir=bottleneck \ --how_many_training_steps=200 \ --model_dir=inception_model \ --output_graph=retrained_graph.pb \ --output_labels=retrained_labels.txt \ --image_dir=data/flower_photos
$ curl -L https://goo.gl/3lTKZs > label_image.py $ python label_image.py flower_photos/roses/2414954629_3708a1a04d.jpg
5*5
3*3
7*7
1*7
7*1
1*1
1个Inception模块组 = Inception Module * n
tf.truncated_normal_initializer
[batch_size, 299, 299 ,3]
end_points
"PreLogits"
"Logits"
"Predictions"
"Mixed 6e"
"AuxLogits"