Different weight decay for different layes

Hi, is it possible to set different values for different layers or disable the weight decay for some specified layers, thanks

3 Likes

It is. Check out the per-parameter options section.

4 Likes

Thanks for the reply, it works.

@apaszke Is it also possible to make this dynamic? In my case some (mostly) CNN weights are imploding out and the bias parameters are exploding.