vis4d.op.box.matchers.max_iou

Match predictions and targets according to maximum 2D IoU.

Classes

MaxIoUMatcher(thresholds, labels, ...[, ...])

MaxIoUMatcher class.

class MaxIoUMatcher(thresholds, labels, allow_low_quality_matches, min_positive_iou=0.0)[source]

MaxIoUMatcher class.

Creates an instance of the class.

forward(boxes, targets)[source]

Match all boxes to targets based on maximum IoU.

Return type:

MatchResult