项目作者: gaurav-singh1998

项目描述 :
This is my first deep learning project in which I implemented a LSTM model on abc notation music data.
高级语言: Jupyter Notebook
项目地址: git://github.com/gaurav-singh1998/ABC_Notation_Music_Generation.git
创建时间: 2019-03-23T17:06:01Z
项目社区:https://github.com/gaurav-singh1998/ABC_Notation_Music_Generation

开源协议:MIT License

下载


ABC_Notation_Music_Generation

Introduction

In this deep learning project, which is inspired by the Andrej Karpathy’s blog ‘The Unreasonable Effectiveness of Recurrent Neural Networks’, I implemented a LSTM model on abc notation music data.

Requirements

This repository requires installation of Tensorflow, Numpy and Keras to run smoothly.

Information regarding this repository

The input data is present in ‘./data’ named ‘input.txt’.

The accuracy and loss associated with every epoch is stored in ‘./logs’ in csv format named ‘training_log.csv’.

Model at every epoch is stored in ‘./model’ in h5 format.

A Jupyter Notebook is also presented in which I visualized the result generated by the model.

How to use

Use ‘sample.py’ to run the trained model with no number of epochs, length and seed as arguments to the program. The output generated by this script can be pasted here ‘https://abcjs.net/abcjs-editor.html‘ to play the generated music.

Use ‘train.py’ to train the model from scratch. Here the arguments are input, epochs and save_freq.

Use ‘model.py’ to change the parameters of the model.