How to set scheduler warmup steps according to warmup ratio with respect to total training step properly? #14991
Unanswered
BuxianChen
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
In case anyone runs into this problem, my solution was the following:
The solution is kinda funky because you need to initialize the dataset object without actually using it, but I couldn't think of a better way. I would also like to mention that I'm using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am organizing my pure
pytorch
code topytorch-lightning
, but I can't find an elegant way to set scheduler like this, is there anyone do me a favor?Beta Was this translation helpful? Give feedback.
All reactions