Skip to main content

AdaBound optimizer in Keras

Project description

# Keras AdaBound

[![Travis](https://travis-ci.org/CyberZHG/keras-adabound.svg)](https://travis-ci.org/CyberZHG/keras-adabound)
[![Coverage](https://coveralls.io/repos/github/CyberZHG/keras-adabound/badge.svg?branch=master)](https://coveralls.io/github/CyberZHG/keras-adabound)

[AdaBound](https://github.com/Luolc/AdaBound) optimizer in Keras.

## Install

```bash
pip install keras-adabound
```

## Usage

### Use the optimizer

```python
from keras_adabound import AdaBound

model.compile(optimizer=AdaBound(lr=1e-3, final_lr=0.1), loss=model_loss)
```

### Load with custom objects

```python
from keras_adabound import AdaBound

model = keras.models.load_model(model_path, custom_objects={'AdaBound': AdaBound})
```

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-adabound-0.4.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page