Skip to content

Phani2019/Music-generation-using-recurrent-neural-networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

char-rnn-keras

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.