Giter VIP home page Giter VIP 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 --model LipschitzRNN --T 784 --n_units 128 --epochs 100 --eps 0.03 --lr 0.003 --lr_decay 0.1 --lr_decay_epoch 90 --beta 0.75 --gamma 0.001 --seed 1

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

python3 driver.py --name pmnist --model LipschitzRNN --T 784 --n_units 128 --epochs 100 --eps 0.03 --lr 0.0035 --lr_decay 0.1 --lr_decay_epoch 90 --beta 0.75 --gamma 0.001 --seed 1

Reference

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

lipschitzrnn's People

Contributors

afqueiruga avatar erichson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lipschitzrnn's Issues

Many errors in the code

Thanks for the kind of you to publish the code. However, there could be many errors, for example:

  • in models.py

截屏2021-06-28 11 05 56

the "<<<<< HEAD", "=====" and ">>>>>>> 5f48c09" make trouble.
  • in driver.py

截屏2021-06-28 11 10 37

rnn_models seems lost.

I really don't know how to solve these problems. Could you help me?

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.