File tree Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,20 @@ A project that trains a LSTM recurrent neural network over a dataset of MIDI fil
55Dependencies
66============
77
8+ * Python 2.7
9+ * Anaconda
810* Numpy (http://www.numpy.org/ )
9- * Tensorflow (https://github.com/tensorflow/tensorflow )
11+ * Tensorflow (https://github.com/tensorflow/tensorflow ) - 0.8
1012* Python Midi (https://github.com/vishnubob/python-midi.git )
1113* Mingus (https://github.com/bspaans/python-mingus )
14+ * Matplotlib (http://matplotlib.org/ )
1215
1316Basic Usage
1417===========
1518
16- 1 . ` mkdir data && mkdir models `
17- 2 . Download the dataset [ Nottingham MIDI dataset ] ( http://www-etud.iro.umontreal.ca/~boulanni/Nottingham.zip ) and unzip to ` data/Nottingham `
19+ 1 . Run ` ./install.sh ` to create conda env, install dependencies and download data
20+ 2 . ` source activate music_rnn ` to activate the conda environment
18213 . Run ` python nottingham_util.py ` to generate the sequences and chord mapping file to ` data/nottingham.pickle `
19224 . Run ` python rnn.py --run_name YOUR_RUN_NAME_HERE ` to start training the model. Use the grid object in ` rnn.py ` to edit hyperparameter
2023 configurations.
24+ 5 . ` source deactivate ` to deactivate the conda environment
Original file line number Diff line number Diff line change 1+ conda create -n music_rnn python=2.7
2+ source activate music_rnn
3+
4+ pip install -r requirements.txt
5+
6+ mkdir models
7+
8+ mkdir data
9+ # http://www-etud.iro.umontreal.ca/~boulanni/icml2012
10+ wget http://www-etud.iro.umontreal.ca/~boulanni/Nottingham.zip -O data/Nottingham.zip
11+ unzip data/Nottingham.zip -d data/
Original file line number Diff line number Diff line change 1+ matplotlib
2+ mingus
3+ numpy
4+ git+https://github.com/vishnubob/python-midi#egg=midi
5+ # Linux, Python 2.7, GPU
6+ https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
You can’t perform that action at this time.
0 commit comments