Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the bug of max steps in lr scheduler while resuming the training #2143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vinits5
Copy link

@vinits5 vinits5 commented Oct 19, 2022

Let's say you started the training for 5 epochs and killed/stopped it at 4th epoch. While resuming, you updated the total epochs to 10 then, the max_steps variable in lr_scheduler needs to be updated as per the new total epochs. This change enables it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant