Music Generation

Deep Learning

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.

Karthik Bhaskar
Karthik Bhaskar
Machine Learning Researcher | Data Scientist | Software Engineer

Machine Learning Researcher | Software Engineer | Vector Institute | University of Toronto | University Health Network

Related