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

Userwarning solve and sample update #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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