Closed jarvisWang0903 closed 4 years ago
That is a good question. When we choose the threshold to generate the pseudo labels, on one hand, we don't want to induce a lot of noisy labels, so we set the threshold to be 0.9 in general. On the other hand, we don't want to cause a big imbalance across different classes when we choose 0.9 as the threshold. For some categories, due to the rare pixels or poor prediction, if we still use 0.9 as the threshold, there will be only a very small number of pixels are assigned with a pseudo label. In this case, we use 0.5 as the threshold which means as long as the predictor has confidence larger than 50%, we thought it was a confident prediction. Hope my explanation is clear to you.