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

Unable to get bounding boxes for test images #162

Open
Rathna21 opened this issue Mar 21, 2019 · 3 comments
Open

Unable to get bounding boxes for test images #162

Rathna21 opened this issue Mar 21, 2019 · 3 comments

Comments

@Rathna21
Copy link

Thanks for the script. I successfully converted the YOLO 2 VOC model to Keras model.

While testing, I am unable to get bounding boxes for the test images in images folder and I get output as "Found 0 boxes in dog.png" and same for other images.

Can someone help me on this?

@JesseLv001
Copy link

I have suffered the same problem while using my own dataset, the loss when training looks good but can not find boxes while test and draw the image. Can anybody solve it?

@Rathna21
Copy link
Author

Adding to the first comment on "Found 0 boxes in dog.png", when i convert the model into keras and then when i try to load it and print the predicted result, I find that all the values are NaN

@DLeeeeeee
Copy link

DLeeeeeee commented May 17, 2019

I found that there are several BN layers whose variance contain negative number after converting. I am quite sure it is the reason to cause NaN output but I don't get how come these negatives exist. An interesting point is that negative number is always the first one in variance weights. So I guess we need to read the first variance number differently?

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

No branches or pull requests

3 participants