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.4.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.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tf_livepatch_lr-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 74544af85be1870f6f7058ca30c80a8993030e5af7935b2dbb83449b498e1d67
MD5 042687bf70ff4226f01e94fbb4f8fd04
BLAKE2b-256 4886313d6bc8b7b03e7296d5b543ea2883513f3be111cf297190ea01af6d87d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tf_livepatch_lr-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 516b8d244db6e50558d3796d5c9a5fd5e29cdc4295ccf7a41a5018ce7e2452fa
MD5 c4446a3bfac41c7296d839aeb43f139c
BLAKE2b-256 d64bfd21b8d4365753307d05eb81efde749bc3930492407f79bd0ed061798d3c

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