An open API service indexing awesome lists of open source software.

https://github.com/stefoe/indrnn-pytorch

pytorch implementation of Independently Recurrent Neural Networks https://arxiv.org/abs/1803.04831
https://github.com/stefoe/indrnn-pytorch

indrnn paper-implementations pytorch rnn

Last synced: 9 months ago
JSON representation

pytorch implementation of Independently Recurrent Neural Networks https://arxiv.org/abs/1803.04831

Awesome Lists containing this project

README

          

# indrnn-pytorch
pytorch implementation of the IndRNN Paper (https://arxiv.org/pdf/1803.04831.pdf)

The test functions are adapted from the tensorflow implementation (https://github.com/batzner/indrnn) and the theano implementation (https://github.com/Sunnydreamrain/IndRNN_Theano_Lasagne).
Tested with Python3.7 and pytorch 1.0.0

IndRNNv2 version should be faster with GPUs, especially for bidirectional networks.
Seconds per 100 iterations with GPU-P100 on the addition test and batch size of 50:

| IndRNN | IndRNNv2 |
| -----: | -------: |
| 6.7 | 3.65 |

Seconds per epoch with GPU-P100 on SeqMNIST and batch size of 256:

| IndRNN | IndRNNv2 |
| -----: | -------: |
| 394 | 114 |

TODOs:
-get parameters for MNIST experiments
-add permutation MNIST test