-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Loss converged but no detections? #535
Comments
Hi~ I also met this problem several days ago, and I worked it out just now. Please check your annotations, look carefully if any box out of image range. For example, x_min < 0, or the box is much larger than the image, or the box is totally out of image. Here is a script to check the boxes,and you can also use the LabelImg tool to check them. I fixed some annotations, and it works well now. |
Hi, Thanks a lot but my annotations are fine. So there isn't any problem with number of predictions in a single image? Also my image was binary. |
be careful: you have to check the width and height of the boxes AFTER resize. In my case, the original boxes in the images were fine, but there were 2 boxes with zero width/height in the roidb. (you have to add some fields to your custom imdb script first: {'boxes' : boxes, |
Thanks @djdam. |
@rremani was that the problem? |
@djdam Is there a limit in faster-rcnn for total number of detections in an image? there wasn't any such problem with annotations as they were in the middle of the image. |
I don't think so, but I am not sure to be honest. I know that you can configure the "batch size" for both RPN as well as Fast RCNN parts, which basically limits the number of proposals fed to the RCNN part of the network. |
ohk, thanks @djdam ill look more into it. |
There is an issue with large images not training/testing with cudnn < v5. Try this out #237 |
Hi,
I just used one image with like 190 annotations for localizing characters from a form. Loss started with 10 and after 900 iterations loss was 0.01, after 10k iterations loss was 1e-4, but when I used the model to detect from the same image I got zero detection.
Does anybody have idea what could be the reason. Image size was height 1000 and width 600.
The text was updated successfully, but these errors were encountered: