Abhijit-2592 / Keras_object_detection

Convert any classification model or architecture trained in keras to an object detection model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anchor size for detecting small objects

ant1pink opened this issue · comments

commented

Continue to this problem. I had the same problem here, the min side of the images in my datasets is much larger than 600. If I resize the min side to 600, the logo (ROI) that I am going to detect is becoming even smaller. As the result, the smallest anchor-size from the default setting would be too big for it. So as you suggested, I have changed im_size to 1000 and anchor-size to 32, and I got a better result. But I am not sure how to set num_rois, is it the more the better for my case?

commented

According to this blog, I think the number of ROI should be the more the better, especially for those cases that final classification loss is increasing. It is because that if an object is not detected during the region proposal, there’s no way to correctly classify it in the final classification.

guess you solved the problem