Closed hydxqing closed 4 years ago
If the two weights are the same before training, How to train the consistency loss? Isn't the goal of training consistency loss to make the weight of the two net equal? When you execute teacher = teacher 0.99 + student 0.01, the teacher weight cannot change. Isn't it?
Please read the 'temporal ensembling' (https://arxiv.org/abs/1610.02242) and 'mean teachers are better role models' (https://arxiv.org/abs/1703.01780) papers; they should give you a better idea of how consistency regularization and the mean teacher model work.
Hello, I read the code carefully and tried to run it, but I still have some doubts. I hope to get your help.