Skip to main content

Simple project which allows you to change the learning rate schedule without stopping the training process (tensorflow only)

Project description

Tensorflow learning rate patcher

Description

This is a simple project which implements one feature: it allows you to change the learning rate schedule without stopping the training process by editing the specified file. The file is just a json containing the output of the tensorflow.keras.optimizers.schedules.deserialize method, for example:

{
  "class_name": "PolynomialDecay",
  "config":{
    "cycle": false,
    "decay_steps": 1000,
    "end_learning_rate": 0.01,
    "initial_learning_rate": 0.1,
    "power": 0.5
  }
}

Custom learning rate schedules are also supported. In order to use them pass custom_objects to LiveLrSchedule constructor as you'd do for tensorflow.keras.optimizers.schedules.deserialize.

Project details


Download files

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

Source Distribution

tf_livepatch_lr-0.0.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

tf_livepatch_lr-0.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file tf_livepatch_lr-0.0.2.tar.gz.

File metadata

  • Download URL: tf_livepatch_lr-0.0.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for tf_livepatch_lr-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6602286453039e266cc6d43c9df136b9f47661040016c08a9b7ee345fa3a093a
MD5 11418e9d6e4923717f40cb1446a1131b
BLAKE2b-256 b582cf4d213b083cd63328f95203c3ae2a8fa328b3f8ba3e56515bc5cad7508e

See more details on using hashes here.

File details

Details for the file tf_livepatch_lr-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tf_livepatch_lr-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for tf_livepatch_lr-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 172ffba76b8fec2d6f6b70161f682767dd3cc59c39a9d26765c744ce2b7a4b2c
MD5 ebfca2c007cd1ad9ed0e8443f0419d38
BLAKE2b-256 97799a25067f3f14bc1415abe623b852d2a3a26cbf105a62763f2f0d5cf72730

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page