All Projects → titu1994 → Keras Adabound

titu1994 / Keras Adabound

Licence: mit
Keras implementation of AdaBound

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Keras Adabound

nibbler
Runtime Python bytecode optimizer. ⚡️
Stars: ✭ 21 (-83.72%)
Mutual labels:  optimizer
Vtil Core
Virtual-machine Translation Intermediate Language
Stars: ✭ 738 (+472.09%)
Mutual labels:  optimizer
Gpx Simplify Optimizer
Free Tracks Optimizer Online Service
Stars: ✭ 61 (-52.71%)
Mutual labels:  optimizer
Adamp
AdamP: Slowing Down the Slowdown for Momentum Optimizers on Scale-invariant Weights (ICLR 2021)
Stars: ✭ 306 (+137.21%)
Mutual labels:  optimizer
Scour
Scour - An SVG Optimizer / Cleaner
Stars: ✭ 443 (+243.41%)
Mutual labels:  optimizer
Avmf
🔩 Framework and Java implementation of the Alternating Variable Method
Stars: ✭ 16 (-87.6%)
Mutual labels:  optimizer
soar
SQL Optimizer And Rewriter
Stars: ✭ 7,786 (+5935.66%)
Mutual labels:  optimizer
Glsl Optimizer
GLSL optimizer based on Mesa's GLSL compiler. Used to be used in Unity for mobile shader optimization.
Stars: ✭ 1,506 (+1067.44%)
Mutual labels:  optimizer
Leanify
lightweight lossless file minifier/optimizer
Stars: ✭ 694 (+437.98%)
Mutual labels:  optimizer
Jhc Components
JHC Haskell compiler split into reusable components
Stars: ✭ 55 (-57.36%)
Mutual labels:  optimizer
Booster
🚀Optimizer for mobile applications
Stars: ✭ 3,741 (+2800%)
Mutual labels:  optimizer
Heimer
Heimer is a simple cross-platform mind map, diagram, and note-taking tool written in Qt.
Stars: ✭ 380 (+194.57%)
Mutual labels:  optimizer
Giflossy
Merged into Gifsicle!
Stars: ✭ 937 (+626.36%)
Mutual labels:  optimizer
Lookahead.pytorch
lookahead optimizer (Lookahead Optimizer: k steps forward, 1 step back) for pytorch
Stars: ✭ 279 (+116.28%)
Mutual labels:  optimizer
Viz torch optim
Videos of deep learning optimizers moving on 3D problem-landscapes
Stars: ✭ 86 (-33.33%)
Mutual labels:  optimizer
simplu3D
A library to generate buildings from local urban regulations.
Stars: ✭ 18 (-86.05%)
Mutual labels:  optimizer
Marsnake
System Optimizer and Monitoring, Security Auditing, Vulnerability scanner for Linux, macOS, and UNIX-based systems
Stars: ✭ 16 (-87.6%)
Mutual labels:  optimizer
Adahessian
ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learning
Stars: ✭ 114 (-11.63%)
Mutual labels:  optimizer
Adamw keras
AdamW optimizer for Keras
Stars: ✭ 106 (-17.83%)
Mutual labels:  optimizer
Stacer
Linux System Optimizer and Monitoring - https://oguzhaninan.github.io/Stacer-Web
Stars: ✭ 7,405 (+5640.31%)
Mutual labels:  optimizer

AdaBound for Keras

Keras port of AdaBound Optimizer for PyTorch, from the paper Adaptive Gradient Methods with Dynamic Bound of Learning Rate.

Usage

Add the adabound.py script to your project, and import it. Can be a dropin replacement for Adam Optimizer.

Also supports AMSBound variant of the above, equivalent to AMSGrad from Adam.

from adabound import AdaBound

optm = AdaBound(lr=1e-03,
                final_lr=0.1,
                gamma=1e-03,
                weight_decay=0.,
                amsbound=False)

Results

With a wide ResNet 34 and horizontal flips data augmentation, and 100 epochs of training with batchsize 128, it hits 92.16% (called v1).

Weights are available inside the Releases tab

NOTE

  • The smaller ResNet 20 models have been removed as they did not perform as expected and were depending on a flaw during the initial implementation. The ResNet 32 shows the actual performance of this optimizer.

With a small ResNet 20 and width + height data + horizontal flips data augmentation, and 100 epochs of training with batchsize 1024, it hits 89.5% (called v1).

On a small ResNet 20 with only width and height data augmentations, with batchsize 1024 trained for 100 epochs, the model gets close to 86% on the test set (called v3 below).

Train Set Accuracy

Train Set Loss

Test Set Accuracy

Test Set Loss

Requirements

  • Keras 2.2.4+ & Tensorflow 1.12+ (Only supports TF backend for now).
  • Numpy
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].