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.5.tar.gz (4.0 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.5-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tf_livepatch_lr-0.0.5.tar.gz
  • Upload date:
  • Size: 4.0 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.5.tar.gz
Algorithm Hash digest
SHA256 8d6adf02fdec9a05464297f5946b3f3ed9333e1187b3fcbfc92bafb3bb45c674
MD5 31c81cf2ca05e732326d2e3af46da0ef
BLAKE2b-256 645d4a9344563d0ec845f52e084a98762295dbcf4ee0b4224af7437dbbdcc74b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tf_livepatch_lr-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 229a9758dc9c65259522ebb99af25b3225c2d904f87c360f0952f337b614a2f5
MD5 984969c2c8e31bddd7bcdaf6e5b99c60
BLAKE2b-256 eb627ae9e34a069105611a3695fd804f3a0f8e913ffca07778c6bc8b0205f8bc

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