microsoft / Semi-supervised-learning

A Unified Semi-Supervised Learning Codebase (NeurIPS'22)
https://usb.readthedocs.io
MIT License
1.31k stars 173 forks source link

Is this a bug of algorithm mean teacher? #226

Open hellojinjie opened 1 month ago

hellojinjie commented 1 month ago

https://github.com/microsoft/Semi-supervised-learning/blob/6cf697e6968f9f77040a9e0162306436a91a00dc/semilearn/algorithms/meanteacher/meanteacher.py#L54-L56 we get outs_x_ulb_s in line 54, but we use outs_x_ulb_w in line 55 and 56? QQ_1721629356730

Hhhhhhao commented 1 week ago

This seems to be a bug. Would you mind to open a PR for this?