Swin-Transformer icon indicating copy to clipboard operation
Swin-Transformer copied to clipboard

Why do you use different weight_decay ?

Open fabiozappo opened this issue 3 years ago • 2 comments

https://github.com/microsoft/Swin-Transformer/blob/main/optimizer.py#:~:text=def%20set_weight_decay(model,no_decay%2C%20%27weight_decay%27%3A%200.%7D%5D, in this code snippet you set some layers weight decay to zero. Is there any reason why you do this? Does it has a high impact on training results?

Btw thank you for your work :)

fabiozappo avatar Feb 28 '22 09:02 fabiozappo

hope for your test result

fanrz avatar Apr 08 '22 07:04 fanrz