Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
/ clr_chainer Public archive

Cyclical Learning Rate (CLR) with Chainer

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE_REFERENCES
Notifications You must be signed in to change notification settings

t2kasa/clr_chainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clr_chainer

Cyclical Learning Rate (CLR) implementation with Chainer.

CLR choices

triangular

triangular

triangular2

triangular2

exp_range

exp_range

Usage

Add CLR extension to the trainer.
The value_range in the following code means (lr_min, lr_max).
NOTE: An initial value for attr of the optimizer is overwritten in the CLR initialization.

from clr.training.extensions import CLR

policy = 'triangular'
step_size = 2000
value_range = (0.01, 0.1)
trainer.extend(CLR('lr', value_range, 2 * step_size, policy))

References

About

Cyclical Learning Rate (CLR) with Chainer

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE_REFERENCES

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages