wasidennis / AdaptSegNet

Learning to Adapt Structured Output Space for Semantic Segmentation, CVPR 2018 (spotlight)
847 stars 203 forks source link

Question about mIoU calculate. #70

Open FantasyJXF opened 4 years ago

FantasyJXF commented 4 years ago

In compute_iou.py, what does fast_hist(a, b, n) do?

Would you please tell me how does it work?

Thank you.

Barsegh-A commented 2 years ago

Hi, although it might be irrelevant for you now, @FantasyJXF, but it might be helpful for others. One can refer to this article to grasp the idea of calculating MIoU the way authors had implemented it.