Skip to content

Code for "Sequential Neural Models with Stochastic Layers"

License

Notifications You must be signed in to change notification settings

marcofraccaro/srnn

Repository files navigation

Sequential Neural Models with Stochastic Layers

This repository contains the implementation of the Stochastic Recurrent Neural Network (SRNN) model described in

Sequential Neural Models with Stochastic Layers
Marco Fraccaro, Søren Kaae Sønderby, Ulrich Paquet, Ole Winther
NIPS 2016, arXiv preprint arXiv:1605.07571

The implementation is built on the Theano, Lasagne and Parmesan libraries.

If you have questions on the code, feel free to create a Github issue or contact us: Marco Fraccaro ([email protected]), Søren Kaae Sønderby ([email protected]).

Installation

Please make sure you have installed the requirements before executing the python scripts.

  pip install numpy
  pip install matplotlib
  pip install https://github.com/Theano/Theano/archive/master.zip
  pip install https://github.com/Lasagne/Lasagne/archive/master.zip
  git clone https://github.com/casperkaae/parmesan.git
  cd parmesan
  python setup.py develop

Examples

The repository includes code to run the SRNN on polyphonic music and TIMIT data.

  • MainSRNN_midi.py runs the polyphonic music experiment on the Muse data set.
  • MainSRNN_timit.py runs the TIMIT experiment. Unfortunately we cannot release the TIMIT data, that needs to be obtained from https://catalog.ldc.upenn.edu/ldc93s1. We have released however our preprocessing script, timit_for_srnn.py.

Further details on the experimental setup can be found in the code and in the supplementary material of the paper.

About

Code for "Sequential Neural Models with Stochastic Layers"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages