<commit_before>## Unsupervised Learning of Video Representations using LSTMs

Code for paper [Unsupervised Learning of Video Representations using LSTMs](http://arxiv.org/abs/1502.04681)

Note that the code at [this link](http://www.cs.toronto.edu/~nitish/unsupervised_video/) is deprecated.

### Getting Started

To compile cudamat library you need to modify CUDA_ROOT in the cudamat/Makefile to the relevant cuda root path.

Other libraries you need to install are:

* h5py
* google.protobuf

Next compile .proto file by calling
`protoc -I=./ --python_out=./ config.proto`

### Bouncing (Moving) MNIST dataset
python lstm_combo.py models/lstm_combo_2layer_mnist.pbtxt datasets/bouncing_mnist.pbtxt datasets/bouncing_mnist.pbtxt 1<commit_msg>testing readme<commit_after>## Unsupervised Learning of Video Representations using LSTMs

Code for paper [Unsupervised Learning of Video Representations using LSTMs](http://arxiv.org/abs/1502.04681) (<NAME>, <NAME>, <NAME> 2015).

Note that the code at [this link](http://www.cs.toronto.edu/~nitish/unsupervised_video/) is deprecated.

### Getting Started

To compile cudamat library you need to modify CUDA_ROOT in the cudamat/Makefile to the relevant cuda root path.

Other libraries you need to install are:

* h5py
* google.protobuf

Next compile .proto file by calling
```
protoc -I=./ --python_out=./ config.proto
```

### Bouncing (Moving) MNIST dataset
python lstm_combo.py models/lstm_combo_2layer_mnist.pbtxt datasets/bouncing_mnist.pbtxt datasets/bouncing_mnist.pbtxt 1
{'fraction_non_alphanumeric': 0.09514435695538058, 'fraction_numerical': 0.01837270341207349, 'mean_word_length': 5.075697211155378, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1581408', 'n_tokens_mistral': 529, 'n_tokens_neox': 485, 'n_words': 156}