Best practice of adaptively updating parameters #8361
Unanswered
chris-tkinter
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I am trying to implement a model that is optimized using the following loss
and would like to create a “weight warmup”, that is, the parameter
weight
starts at 0, and goes up linearly every epoch.I know that the
LightningModule
has aself.current_epoch
which is a counter for the epoch, so that I can manually increase theweight
for every epoch. But I am just wondering is it the best practice?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions