Skip to content

How to change learning rate dynamically during training process? #2072

Discussion options

You must be logged in to vote

You can write a hook to set a custom learning rate if the current learning schedule does not meet your need. https://github.com/open-mmlab/mmengine/blob/main/mmengine/hooks/param_scheduler_hook.py
Or, you can write a new learning schedule. https://github.com/open-mmlab/mmengine/blob/main/mmengine/optim/scheduler/param_scheduler.py

Replies: 1 comment 1 reply

Comment options

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

Answer selected by MSTK2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants