Ground-Truth Bounding Box Assignment to Anchor Boxes
To assign ground-truth bounding boxes to anchor boxes, we use an iterative algorithm based on their Intersection over Union (IoU). Given anchor boxes and ground-truth bounding boxes (where ), we compute a matrix where each element is the IoU between anchor box and ground-truth box . First, we find the largest element in , assign the corresponding ground-truth box to the anchor box, and discard its entire row and column. We repeat this process of finding the largest remaining element and discarding its row and column until all ground-truth boxes are assigned. Finally, we evaluate the remaining unassigned anchor boxes, assigning each to the ground-truth box with the highest IoU in its row, provided that this maximum IoU is strictly greater than a predefined threshold.
0
1
Tags
D2L
Dive into Deep Learning @ D2L