Metadata-Version: 2.1
Name: onelongcyclelr
Version: 0.1.2
Summary: An adaptation of pytorch OneCycleLR that doesn't crash when max steps is reached
Home-page: https://github.com/abcamiletto/onelongcyclelr
Author: Andrea Boscolo Camiletto
Author-email: abcamiletto@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: torch (>=1.0.0,<2.0.0)
Project-URL: Repository, https://github.com/abcamiletto/onelongcyclelr
Description-Content-Type: text/markdown

# OneLongCycleLR

This is a simple adaptation from the OneCycleLR of pytorch.optim package.
The default behaviour is to raise a ValueError when the maximum number of steps is reached. This one instead just keeps on returning the last value.

To install it, just use:

    pip install onelongcyclelr

And to use it you need to import it like

    from onelongcyclelr import OneLongCycleLR

The arguments and keywords needed are exactly the same as the official implementation.
