Code Monkey home page Code Monkey logo

lipschitzrnn's Introduction

Lipschitz Recurrent Neural Networks

Overview of models:

  • Lipschitz RNN (--model LipschitzRNN)
  • Antisymmetric RNN (--model asymRNN)
  • Cayley RNN (--model calRNN)
  • Residual RNN (--model resRNN)
  • Vanilla RNN: (--model RNN)

Get started

Here is an example ro run the Lipschitz RNN on the ordered pixel-by-pixel MNIST classification task:

python3 driver.py --name mnist --T 784 --model LipschitzRNN --n_units 128 --epochs 90 --eps 0.01 --lr 0.1 --lr_decay 0.2 --lr_decay_epoch 30 60 80 --beta 0.65 --init_std 32 --gamma 0.001

Here is an example ro run the Lipschitz RNN on the permuted pixel-by-pixel MNIST classification task:

python3 driver.py --name pmnist --T 784 --model LipschitzRNN --n_units 128 --epochs 90 --eps 0.01 --lr 0.1 --lr_decay 0.2 --lr_decay_epoch 30 60 80 --beta 0.8 --init_std 32 --gamma 0.001

Reference

https://arxiv.org/pdf/2006.12070.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.