Skip to content
Discussion options

You must be logged in to vote

@FredMushZhao I think either works if you want to schedule it on each step. Alternatively, you could use on_train_epoch_start if you want to update it on each epoch.

For reference on all available hooks: https://pytorch-lightning.readthedocs.io/en/stable/common/lightning_module.html#hooks

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FredZZD
Comment options

Answer selected by FredZZD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment