Skip to main content

Gradient accumulation for Keras

Project description

Keras Gradient Accumulation

Travis Coverage Version Downloads License

[中文|English]

Install

pip install keras-gradient-accumulation

Usage

from keras_gradient_accumulation import GradientAccumulation

optimizer = GradientAccumulation('adam', accumulation_steps=8)

Known Issues

  • Not compatible with OptimizerV2

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

keras-gradient-accumulation-0.0.3.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file keras-gradient-accumulation-0.0.3.tar.gz.

File metadata

  • Download URL: keras-gradient-accumulation-0.0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4

File hashes

Hashes for keras-gradient-accumulation-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c6efc27e75cd97d82179cf2af40cd3af25a122c69a6c7d79877d6fb0058b9d5c
MD5 2dd502acf47c9638525d67be85961464
BLAKE2b-256 48a9265f8d08c7774e512b2dc4c578a2ed1e92215054f1fccfe998d7c582a062

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