microsoft/Semi-supervised-learning

som question about get_cosine_schedule_with_warmup

wenyuhaokikika opened this issue · 3 comments

Hello , thanks for Semi-supervised-learning,

semilearn/core/utils/build.py:217:def get_cosine_schedule_with_warmup

I want to know why num_cycles set 7. / 16,have some referance?

And I checked the original algorithm of the cosine Annealing algorithm. It seems to be slightly different from the version in the code. Is it possible that TorchSSL does not use the original algorithm but a self-set algorithm with a reduced learning rate? or I found a wrong reference paper?

reference

and TorchSSL is :

image

Looking forward for your reply, thank you~~~

Tasks

No tasks being tracked yet.

Stale issue message

why close?

why close?

Seems to be a stale close.
The num_cycle of 7/16 is set as a default since FixMatch paper. You can find more details there.