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.3.tar.gz (3.8 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.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tf_livepatch_lr-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for tf_livepatch_lr-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c91240b123c726ab00994f3cfcfbc4f4330ef699fa3b4c814549b6dfc6e37f27
MD5 2472e72f604fc230e24a84f0cf1955ad
BLAKE2b-256 573695f34a67109f00d0126e4d11bc249b2e00af17256e90f70db97f50d4361c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tf_livepatch_lr-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for tf_livepatch_lr-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31f4d0d57348f2a86ea02df3fca54072c500f951c8a7c252c0f0b0453c8dfb06
MD5 592dfba55caaaa0e054f25c72ff22b03
BLAKE2b-256 fc5c0066902b776fcdbda1f69f20c343ac37d030c83bcef1f5f0366459d80aa4

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