CSAILVision / CSAILVision/semantic-segmentation-pytorch
Why mIoU uses sum(intersect)/sum(union) instead of mean over IoU?
Open
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I found the mIoU evaluation codes here:
https://github.com/CSAILVision/semantic-segmentation-pytorch/blob/8f27c9b97d2ca7c6e05333d5766d144bf7d8c31b/eval.py#L98
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!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.