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.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: keras-gradient-accumulation-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 19c1f3d51308af327e6e4a26066c9d881a40e287d5e6f7381904e31e5dbc8bfb
MD5 843d71c4579cfe8839204d3ab5d205db
BLAKE2b-256 5f676f56569ed157e437c75b50630e8a12fca2aface9bc747b721ff5cf0fec06

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