Skip to content

Why mIoU uses sum(intersect)/sum(union) instead of mean over IoU? #271

Open
@hubert0527

Description

@hubert0527

I found the mIoU evaluation codes here:

iou = intersection_meter.sum / (union_meter.sum + 1e-10)

I am wondering what is the motivation of using sum(intersect)/sum(union) instead of the mean over sample-wise intersect / union? The former one seems to disregard the testing samples are iid.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions