In the submission files, we can only choose one integer label for each pixel.
So I understood that for labels that overlap, choosing either one of the labels gets it correct(true positive).
However, I'm not sure how to compute "prediction" from below equation.
mIOU = (true_positive) / (prediction + target - true_positive).
For example,
if I thought that certain area had two overlapping labels 1 & 2 and I predicted it as 1,
and there actually was ground truth label 2 around that area so I got true positives for label 2(by choosing either one),
then which pixels are computed as "prediction" for label 2(where I didn't predict any label 2)?
I'm a bit confused because since labels have different number of pixels, score might change depending on which label becomes "prediction"(specifically, false postiive).
+ Could you provide the evaluation metrics code?