Open GarryLau opened 6 years ago
Hello, was this ever resolved?
@ljd16 Solved by using transfer learning. But training directly still cannot be successful.
when i run : bash ./scripts/train_mobilenet_on_imagenet.sh i got: WARNING:tensorflow:From eval_image_classifier.py:94: get_or_create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version. Instructions for updating: Please switch to tf.train.get_or_create_global_step can you give some help? did you get zhe same bug?
Totally, I have two problems. Firstly, In the mobilenet_v1_eval.py, yeah, it's eval not train. When is_training=False, you will not get a right result. When is_training=True, you can get a right answer. Obviously, it's wrong! I guess it's a big bug, but I cannot figure it out. Someone knows that?
Secondly, I use export_eval_pbtxt() to get the "mobilenet_v1_eval.pbtxt".
Then, frozen the graph:
Then I use the frozen .pb file to classify an image, it won't get a right result, no matter you use is_training is True or False above to get the "mobilenet_v1_eval.pbtxt". And the classify file is:
The mobilenet v1 I used is in https://github.com/tensorflow/models/tree/master/research/slim/nets . I have tried inception v3, whether to eval or classify an image. So I think mobilenet_v1_eval.py must have a bug. Anyone can help me? Many thanks.
All the codes I used are in https://github.com/GarryLau/draft_notes/tree/master/TF .
@Zehaos @aselle @poxvoculi