import fiftyone.utils.iou as foui from fiftyone import ViewField as F foui.compute_max_ious( dataset, "ground_truth", iou_attr="max_iou", classwise=True, ) dups_view = dataset.filter_labels( "ground_truth", F("max_iou") > 0.75 ) session.view = dups_view
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter