-
Notifications
You must be signed in to change notification settings - Fork 8
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
main principle #1
Comments
Adding the missing variables ( |
different with Object detection API version or Tensorflow Version |
@hongym7 Thanks for your response. In my opinion, you missed to add the two mentioned parameters So, I added them and I saw that the training is really slow (compared to an execution without early stop). For example, without early stop I can train for 110k Iterations while I can only train 42 iterations with early stop. Can you imagine what is the problem why it takes that much time? Before every, lets say 1000th iterations a model got output and now (with early stop) every iteration I obtain a model. The accuracy values are still not good enough. Thanks a lot in advance for any hints/remarks |
@hongym7 Currently I am using tensorflow 1.12.0-rc2 and downloaded the TF OD API for one month. So, I think it is the latest version. |
Hi @paviddavid , to fixed the error I looked into the function
I hope that this is the correct way to do it as I am not good at Tensorflow. |
Hello,
your README is not very long. Therefore, I want to ask on this way. Is this function an implementation of the Early Stopping feature for the Tensorflow Object-Detection? Do I only have to copy this function in the ../models/research/object_detection/ folder and execute it as the provided model_main.py by the official Tensorflow OD API?
How should I use it? As far as I understood it, the function searches for an convergence in the first 100k iterations (default value), am I right? What is the criterion to abort the training process?
Kind Regards
EDIT:
If I copy the function inside the folder and execute it, I get the following error message:
TypeError: create_train_and_eval_specs() missing 2 required positional arguments: 'predict_input_fn' and 'train_steps'
Obviously,
train_input_fn
andtrain_steps
are missing. Please clarify why they are missing.The text was updated successfully, but these errors were encountered: