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

Prediction and ground truth boxes bound whole image? #33

Closed
shbhas opened this issue Dec 13, 2017 · 3 comments
Closed

Prediction and ground truth boxes bound whole image? #33

shbhas opened this issue Dec 13, 2017 · 3 comments
Labels

Comments

@shbhas
Copy link

shbhas commented Dec 13, 2017

Hi,
I am new to image classification. I tried out the train_ssd300 code exactly the way you implemented it (same VOC datasets, parameters), the only difference is that I had to use decode_y instead of decode_y2 because the latter output an empty matrix each time. When I run the code for 10epochs I get the image with both ground truth and prediction boxes bounding the whole images. Am I missing something? In addition the prediction is completely off and has a low percent. I thought that it was because I didn't train the model enough, but it won't train longer than 7 epochs. Any help would be great!

@pierluigiferrari
Copy link
Owner

pierluigiferrari commented Dec 14, 2017

10 epochs is not remotely enough. The reason why decode_y2() with the default parameters is giving you an empty prediction list is because there simply aren't any good predictions yet. As mentioned in the README, you need to train for at least 20,000 steps (something in that ballpark) until the model starts to make any half-decent predictions. Try to relax the early stopping parameters so the model doesn't stop training so quickly.

I don't quite understand what you mean by "I get the image with both ground truth and prediction boxes bounding the whole images".

@shbhas
Copy link
Author

shbhas commented Dec 14, 2017

Thanks for the quick response!I am training it now and I think it should solve the box issue

@stale
Copy link

stale bot commented Dec 28, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 28, 2017
@stale stale bot closed this as completed Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants