Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onelongcyclelr-0.1.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onelongcyclelr-0.1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file onelongcyclelr-0.1.2.tar.gz.

File metadata

  • Download URL: onelongcyclelr-0.1.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.13 Linux/5.15.0-40-generic

File hashes

Hashes for onelongcyclelr-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3128b7ab0e081f904c8681dc5b94a87056b6f890601183b5cb0d3469fa0af512
MD5 22bc23fc40f114752a5b96290fbe97bf
BLAKE2b-256 7ea3f8f98cb1ac1d6b5b25188c510a2332fc51181d71596f78f4ea0ec4e79484

See more details on using hashes here.

File details

Details for the file onelongcyclelr-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: onelongcyclelr-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.13 Linux/5.15.0-40-generic

File hashes

Hashes for onelongcyclelr-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba1b3b5ed6572eca52ba7cd1b0098f9c79bc316fd7343de512ef512c296f3841
MD5 83b40ecbd6e12028b7d5a6cf405441fe
BLAKE2b-256 d649c581870953830a045b46a44ca61ac21fc090ea117ba189372e70931b0128

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page