Semi-supervised-learning
Semi-supervised-learning copied to clipboard
Questions about batch normalization handling.
I've noticed that in certain methods like PiModel and MeanTeacher, batch normalization is frozen during inference on unlabeled data. I'm curious about the rationale behind this decision. Unlike in FixMatch, where this operation isn't performed. Could you please shed some light on this? Thank you!
https://github.com/microsoft/Semi-supervised-learning/blob/6dc008347b8ed2a546d788dcd01a476fdced05a2/semilearn/algorithms/pimodel/pimodel.py#L43-L51
https://github.com/microsoft/Semi-supervised-learning/blob/6dc008347b8ed2a546d788dcd01a476fdced05a2/semilearn/algorithms/meanteacher/meanteacher.py#L44-L57