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

cyclical learning rate #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joeismad
Copy link

Added a cyclical learning rate option for training. In case anyone is interested, just putting this out there.

Example of CLR in yaml:
training:
lr_cyclical: true
lr_cyclical_steps: 5000
lr_cyclical_max: .2
lr_cyclical_min: .02

Added a cyclical learning rate option for training.  In case anyone is interested, just putting this out there.

Example of CLR in yaml:
training:
    lr_cyclical: true
    lr_cyclical_steps: 5000
    lr_cyclical_max: .2
    lr_cyclical_min: .02
@ASilver
Copy link

ASilver commented Apr 23, 2019

Nice one, though it is worth mentioning that one could easily use CLR before. I guess the question is how is this managed? Just peak LR at the midway point and then back to the minimum? There are a lot of approaches to CLR with differing rates of increase and decrease, such as more steps to reach the peak, followed by a quicker fall.

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