GitXplorerGitXplorer
a

cs221-iMGM

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
9a0d2727034aedee807fed47d836fe3cfd25a6df

Merge branch 'master' of https://github.com/akashmjn/cs221-iMGM

aakashmjn committed 7 years ago
Unverified
42945f675fd5fc64435a2c2b14d2fdaf4eab92cf

clearer rename

aakashmjn committed 7 years ago
Verified
852bfb4edf9837e8c0d68663973f27dedb167fc1

Update README.md

aakashmjn committed 7 years ago
Unverified
6074b4d840fa500bd4fbbac3fcd44ec203b1e38f

clearer rename

aakashmjn committed 7 years ago
Verified
f2721dbae03b673e7e37f34ca48adf062dd10218

Update README.md

aakashmjn committed 7 years ago
Unverified
554f91d00008ed02667426a7435032f694204373

Added final report

aakashmjn committed 7 years ago

README

The README file for this repository.

CS 221 - Artificial Intelligence - Final Project

Music generation from public MIDI datasets using Markov chains, LSTM language models + sampling, beam search inference.

Project Structure:

src/:

  • sequence: class for dealing with MIDI and converting to useful representation used by models
  • monte_carlo: class for markov-chain model
  • basic_rnn, bidirectional_rnn, sequence_rnn, stacked_rnn: various model classes
  • evaluation: utilities for computing basic statistics on generate sequences

runner.py: Runs scripts for training, inference from saved checkpoints:

Training:

python3 runner.py -m trnn -i ../data/BachChorales/ -o models/sequence_rnn_BachChorales_128/ --lr 0.0005 --epochOffset 0 --inputLen 1 --layerSize 128 --nepochs 50

Generation:

python3 tester.py -m grnn -i models/sequence_rnn_BachChorales_128/epoch_60/checkpoint.ckpt -o ../outputs/sequence_RNN_BachChorales/sequence_rnn_128_60.mid --inputLen 1 --layerSize 128 --lr 0

Reports

See our write-ups for more information.

Contributors

  • Akash Mahajan - Masters, Management Science and Engineering
  • Suraj Heereguppe - Masters, Institute for Computational and Mathematical Engineering
  • Nathan Dalal - Undergraduate, Computer Science