keras_frcnn icon indicating copy to clipboard operation
keras_frcnn copied to clipboard

background detection in roi_helpers.py

Open chiayuhsu opened this issue 6 years ago • 1 comments

Hi,

in roi_helpers.py, you use the following code to neglect some region proposals and detect background:

neglect region proposals:

if best_iou < C.classifier_min_overlap:
    continue

detect background:

if C.classifier_min_overlap <= best_iou < C.classifier_max_overlap:
    cls_name = 'bg'

but I think these two should be interchanged since for a region proposal, the less IoU with GT boxes, the higher probability it would be background.

Please let me know if I am wrong. Thank you!

chiayuhsu avatar Jul 30 '18 17:07 chiayuhsu

@chiayuhsu Did you solve this problem?

ztf-ucas avatar Oct 05 '18 13:10 ztf-ucas