Shortcuts

MeanIntersectionOverUnion

class torch_uncertainty.metrics.classification.MeanIntersectionOverUnion(num_classes, top_k=1, multidim_average='global', ignore_index=None, validate_args=True, **kwargs)[source]

Compute the MeanIntersection over Union (IoU) score.

compute()[source]

Compute the Means Intersection over Union (MIoU) based on saved inputs.