You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to figure out how to use the weightdecay function and the Momentum optimizer.
It seems weightdecay should be passed to the optimiser function, e.g., when an optimizer is created. None of the optimizers do however have an option to pass in a weight decay parameter. Am I supposed to create a separate optimizer for weight decay and momentum that is called before the optimizer that calls descent?
The text was updated successfully, but these errors were encountered:
The optimiser APIs are pretty clumsy right now; they are supposed to be composable but it doesn't quite work. I'll take a look at redesigning this soon.
I have been trying to figure out how to use the
weightdecay
function and theMomentum
optimizer.It seems
weightdecay
should be passed to theoptimiser
function, e.g., when an optimizer is created. None of the optimizers do however have an option to pass in a weight decay parameter. Am I supposed to create a separate optimizer for weight decay and momentum that is called before the optimizer that callsdescent
?The text was updated successfully, but these errors were encountered: