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

lr not updated upon niter change #30

Open
keywae opened this issue Jan 3, 2021 · 0 comments
Open

lr not updated upon niter change #30

keywae opened this issue Jan 3, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@keywae
Copy link

keywae commented Jan 3, 2021

I've noticed that if you update niter mid training, it displays the correct new 'lr steps', but it does not correct the current 'lr rate', in accordance with the new steps. Looks like, it just keep the old lr rate from 'latest.state' file.

Example:
When i change niter from 100,000 to 500,000, following were the logs:

  • Updating lr_steps from [10000, 20000, 40000, 60000] to [50000, 100000, 200000, 300000]
  • INFO: <epoch:432, iter: 46,600, lr:1.250e-05, ......

Herer is the settings in config file:
lr_steps_rel: [0.1, 0.2, 0.4, 0.6]
lr_G: 0.0001

@victorca25 victorca25 self-assigned this Jan 11, 2021
@victorca25 victorca25 added the bug Something isn't working label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants