Ground-Truth Bounding Box Assignment Example
To illustrate the algorithm for assigning ground-truth bounding boxes to anchor boxes, consider an IoU matrix . First, if the absolute maximum value in the matrix is , we assign ground-truth bounding box to anchor box , and then discard all elements in row and column . Next, we search the remaining valid elements; if the largest is , we assign to and discard row and column . We repeat this process: finding assigns to (discarding row , column ), and finding assigns to (discarding row , column ). Once all ground-truth boxes are assigned, we traverse the remaining unassigned anchor boxes (e.g., ) and assign them to their highest-IoU ground-truth box only if that specific IoU exceeds a predefined threshold.
0
1
Tags
D2L
Dive into Deep Learning @ D2L