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

Implement Cyclic Learning Rate and Step-wise Learning Rate Scheduler #213

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Franklalalala
Copy link
Contributor

As mentioned in [issue 211], this PR aims to Implement Cyclic Learning Rate and Step-wise Learning Rate Scheduler.

Major changes include:

  1. add a Cyclic Learning Rate in tool.py and corresponding args.
  2. add step-wise lr update scheme in trainer.py and base_trainer.py.
  3. unit test, here I implemented 4 cases, which are mesh test on two lr scheme, exp and clr, and w/wo iteration-wise lr update

Minor change:

  1. docs have been updated in argcheck.py
  2. use the 'display_freq' as the tensorboard log interval (per-iteration), instead of using a fixed 25 iteration interval.

@Franklalalala
Copy link
Contributor Author

The code has been cleaned. It is now the same with the upstream.

@Franklalalala
Copy link
Contributor Author

the test example has been updated:
the dataset size was reduced from 5MB to 68KB

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.

2 participants