Skip to content

Conversation

@zjZSTU
Copy link

@zjZSTU zjZSTU commented May 1, 2020

first

there are 2 userwarning.

  1. The epoch parameter in scheduler.step() was not necessary and is being deprecated where possible. Please use scheduler.step() to step the scheduler.
  2. To get the last learning rate computed by the scheduler, please use get_last_lr().

I modified the code to make sure it met the requirements of pytorch

second

use warnup + CosineAnnearling as an sample,and plot the lr list. by the way, i update the readme

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.

1 participant