fast-rcnn icon indicating copy to clipboard operation
fast-rcnn copied to clipboard

Confusion about the nms implementation

Open chinmay5 opened this issue 4 years ago • 1 comments

I have some doubts regarding the nms implementation. Specifically, the part inds + 1 being used here:- https://github.com/rbgirshick/fast-rcnn/blob/b612190f279da3c11dd8b1396dd5e72779f8e463/lib/utils/nms.py#L35

The remaining code is quite clear but I am not able to wrap my brain around this particular line

chinmay5 avatar Jun 26 '20 08:06 chinmay5

you can see xx1 = np.maximum(x1[i], x1[order[1:]]) , x1[order[1:]] is start from 0, so all the indices in xx1 wiil decrease 1. and order is complete (include i).

GitHub-Crow avatar Jan 13 '21 12:01 GitHub-Crow