![](/project/music_generation/featured_huc35d87b808152f57d47683e24d00ae05_41361_720x0_resize_lanczos_2.png)
Multi-layer recurrent neural networks for training and sampling from texts, inspired by karpathy/char-rnn.
Requirements
This code is written in Python 2, and it requires the Keras deep learning library.
Usage
All input data should be placed in the data/
directory. The example input.txt
is taken from the Nottingham Dataset (Cleaned).
To train the model with default settings:
$ python train.py
To sample the model:
$ python sample.py 100
Training loss/accuracy is stored in logs/training_log.csv
.