Created
May 5, 2019 13:13
-
-
Save vishal-kvn/01d6f297ed39393d08568dd5e4461e5c to your computer and use it in GitHub Desktop.
No messages like 'INFO:tensorflow:global step .. loss...' while training model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://github.com/tensorflow/models/issues/5348#issuecomment-423634084 | |
| The model_train.py combined train.py and eval.py | |
| in ole version and find that: | |
| 1 Add tf.logging.set_verbosity(tf.logging.INFO) after the import section of the model_main.py script. It will display a summary after every 100th step. Maybe model_train.py forget it officially. | |
| 2 As for the warning like WARNING:tensorflow:Ignoring ground truth with image id 283094706 since it was previously added, if you set anyone of the arg in --num_eval_steps=200 or the num_examples in .config file | |
| eval_config: { num_examples: 200 max_evals: 10 } | |
| larger than the numbers of your test images in you datasets. Then it will show the warning. So just set them as the test images num will be ok. | |
| 3 When run it with python3,I got another problem: can't pickle dict_values ,add list() to category_index.values() in model_lib.py about line 390 as this list(category_index.values()) works for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment