All Projects → PanDav2 → Clockwork-RNN

PanDav2 / Clockwork-RNN

Licence: other
This repository is a reproduction of the clockwork RNN paper.

Programming Languages

TeX
3793 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Clockwork-RNN

danifojo-2018-repeatrnn
Comparing Fixed and Adaptive Computation Time for Recurrent Neural Networks
Stars: ✭ 32 (+60%)
Mutual labels:  rnn
TCN-TF
TensorFlow Implementation of TCN (Temporal Convolutional Networks)
Stars: ✭ 107 (+435%)
Mutual labels:  rnn
keras-utility-layer-collection
Collection of custom layers and utility functions for Keras which are missing in the main framework.
Stars: ✭ 63 (+215%)
Mutual labels:  rnn
machine learning
机器学习、深度学习、NLP实战项目
Stars: ✭ 123 (+515%)
Mutual labels:  rnn
STAR Network
[PAMI 2021] Gating Revisited: Deep Multi-layer RNNs That Can Be Trained
Stars: ✭ 16 (-20%)
Mutual labels:  rnn
nemesyst
Generalised and highly customisable, hybrid-parallelism, database based, deep learning framework.
Stars: ✭ 17 (-15%)
Mutual labels:  rnn
deeplearning.ai notes
📓 Notes for Andrew Ng's courses on deep learning
Stars: ✭ 73 (+265%)
Mutual labels:  rnn
name2gender
Extrapolate gender from first names using Naïve-Bayes and PyTorch Char-RNN
Stars: ✭ 24 (+20%)
Mutual labels:  rnn
Motor-Imagery-Tasks-Classification-using-EEG-data
Implementation of Deep Neural Networks in Keras and Tensorflow to classify motor imagery tasks using EEG data
Stars: ✭ 67 (+235%)
Mutual labels:  rnn
Probabilistic-RNN-DA-Classifier
Probabilistic Dialogue Act Classification for the Switchboard Corpus using an LSTM model
Stars: ✭ 22 (+10%)
Mutual labels:  rnn
presidential-rnn
Project 4 for Metis bootcamp. Objective was generation of character-level RNN trained on Donald Trump's statements using Keras. Also generated Markov chains, and quick pyTorch RNN as baseline. Attempted semi-supervised GAN, but was unable to test in time.
Stars: ✭ 26 (+30%)
Mutual labels:  rnn
rnn-theano
RNN(LSTM, GRU) in Theano with mini-batch training; character-level language models in Theano
Stars: ✭ 68 (+240%)
Mutual labels:  rnn
training-charRNN
Training charRNN model for ml5js
Stars: ✭ 87 (+335%)
Mutual labels:  rnn
Selected Stories
An experimental web text editor that runs a LSTM model while you write to suggest new lines
Stars: ✭ 39 (+95%)
Mutual labels:  rnn
tf-attend-infer-repeat
TensorFlow-based implementation of "Attend, Infer, Repeat" paper (Eslami et al., 2016, arXiv:1603.08575).
Stars: ✭ 44 (+120%)
Mutual labels:  rnn
Online-Signature-Verification
Online Handwriting Signature Verification using CNN + RNN.
Stars: ✭ 16 (-20%)
Mutual labels:  rnn
Predicting-Next-Character-using-RNN
Uses RNN on the Nietzsche dataset
Stars: ✭ 15 (-25%)
Mutual labels:  rnn
neural-namer
Fantasy name generator in TensorFlow
Stars: ✭ 65 (+225%)
Mutual labels:  rnn
MetaTraderForecast
RNN based Forecasting App for Meta Trader and similar trading platforms
Stars: ✭ 103 (+415%)
Mutual labels:  rnn
ACT
Alternative approach for Adaptive Computation Time in TensorFlow
Stars: ✭ 16 (-20%)
Mutual labels:  rnn

Clockwork RNN

This project is an implementation of the Clockwork RNN (see paper).

People : Paul Mustière, Pandav2 aka David Panou

Organization : UPMC - Master Data Science

Clockwork-RNN

The model can be found under models/clockwork_rnn.py.

The current main.py replicates the sequence generation task described in the paper, but the implementation should be able to handle other tasks.

To monitor the training, you can use TensorBoard:

tensorboard --reload_interval 2 --logdir log

Results

We ran different sizes of Clockwork RNN as well as LSTMs to compare performance with similar numbers of parameters.

The following table summarizes the results:

Number of parameters Clockwork RNN (MSE) LSTM (MSE)
~70 4.3e-2 1.5e-1
~480 3.4e-3 1.0e-1
~800 1.8e-3 9.3e-2

They were obtained with a learning rate of 0.01 for Clockwork RNN, and 0.001 for LSTM (which was more unstable).

The following graph shows the MSE loss during training:

Graph of loss during training

The following plot shows the generated signal (and the target) for the best performing Clockwork RNN:

Plot of generated signal

Generated signals for other models can be found under results/

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].