Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated training/faster_rcnn_inception_v2_pets.config #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asetkn
Copy link

@asetkn asetkn commented Jul 26, 2019

Updated training/faster_rcnn_inception_v2_pets.config due to updates at Tensorflow Object Detection API.
Thank you for the tutorial with great details!
Tried following it and training crashed with the following error:
raise ValueError('First step cannot be zero.')
Turns out they updated the code- tensorflow/models#3794

Updated training/faster_rcnn_inception_v2_pets.config due to updates at Tensorflow Object Detection API. 
Thank you for the tutorial with great details!
Tried following it and training crashed with the following error:
raise ValueError('First step cannot be zero.')
Turns out they updated the code-  tensorflow/models#3794
@PelinSuK
Copy link

Helloo i have errors while running model_main_tf2.py.
" python model_main_tf2.py --alsologtostderr --model_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config "
I dont have any custom steps i did everything from here
But my tensorflow version is 2.5 and i did all setups according to 2.5
So the errors are =
File "C:\tensorflow1\models\research\object_detection\model_main_tf2.py", line 116, in
tf.compat.v1.app.run()
File "C:\Users\pelin\anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "C:\Users\pelin\anaconda3\envs\tensorflow1\lib\site-packages\absl\app.py", line 303, in run
_run_main(main, args)
File "C:\Users\pelin\anaconda3\envs\tensorflow1\lib\site-packages\absl\app.py", line 251, in _run_main
sys.exit(main(argv))
File "C:\tensorflow1\models\research\object_detection\model_main_tf2.py", line 106, in main
model_lib_v2.train_loop(
File "C:\tensorflow1\models\research\object_detection\model_lib_v2.py", line 524, in train_loop
raise ValueError('train_pb2.load_all_detection_checkpoint_vars '
ValueError: train_pb2.load_all_detection_checkpoint_vars unsupported in TF2

I searched for 6 days to find a solution. Im so new to this topic and couldnt solve the problems. I would be so appreciate if you help me.

these are my config and other files that i use here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants