Follow PyTorch Guide of updating Learning Rate#1101
Open
hyecheol123 wants to merge 1 commit intojunyanz:masterfrom
Open
Follow PyTorch Guide of updating Learning Rate#1101hyecheol123 wants to merge 1 commit intojunyanz:masterfrom
hyecheol123 wants to merge 1 commit intojunyanz:masterfrom
Conversation
Owner
|
Thanks for the PR. If this condition is added, it seems that the learning rate will not change during the first epoch of |
Author
|
I did not considered continue training while writing that code and will take a look whether there is a good solution to handle it. |
Author
|
I have one question regarding the starting epoch without continue_train option. When continue_train does not specified, does it always starts train from epoch 1? |
Owner
|
The |
Author
|
I will try to fix the code so that we can get proper learning rate decay for continued train. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#1100
I modified the code slightly, adding conditional statement to avoid calling decaying function on the first epoch