SNTG icon indicating copy to clipboard operation
SNTG copied to clipboard

Question about the w(t) ramp-up length when using Mean-teacher model

Open sanyouwu opened this issue 5 years ago • 3 comments

Hi, thanks for your contributions! Meanwhile, I am curious about the warm ramp-up function w(t) when you use Mean-Teacher model+ your SNTG. Did you set the ramp-up length is 80 epochs (in your paper Appendix A) or 5 in (Mean-Teacher code).

sanyouwu avatar Aug 16 '19 13:08 sanyouwu

@xinmei9322

sanyouwu avatar Aug 16 '19 13:08 sanyouwu

@SanyouWu Sorry for the late reply. I just saw the message. I set the ramp-up length to 5, the same as that in the original Mean-Teacher code. Actually, the implementation is based on their public code and the hyper-parameters remain the same except the new hyper-parameter we introduced.

xinmei9322 avatar Aug 26 '19 18:08 xinmei9322

Alright, thanks. But I think it is more reasonable for increase the value of w(t) instead of 5. You know, the accuracy of the classification is low at the start of training. I meaning, why not you use two ramp-up function w1(t) and w2(t), and w1(t) (5 epochs)is for consistency loss while w2(t) used for contrastive loss(larger than 5 epochs). @xinmei9322

sanyouwu avatar Aug 27 '19 02:08 sanyouwu