Skip to content

Implementation of a paper "Polyphonic Music Generation with Sequence Generative Adversarial Networks" in TensorFlow

Notifications You must be signed in to change notification settings

L0SG/seqgan-music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is a work-in-progress status without code cleanup and refactoring.

Introduction

This is an implementation of a paper Polyphonic Music Generation with Sequence Generative Adversarial Networks in TensorFlow.

Hard-forked from the official SeqGAN code.

Requirements

Python 2.7

Tensorflow 1.4 or newer (tested on 1.9)

pip packages: music21 4.1.0, pyyaml, nltk, pathos

How to use

python music_seqgan.py for full training run.

SeqGAN.yaml contains (almost) all hyperparameters that you can play with.

5 sample MIDI sequences are automatically generated per epoch.

Dataset

The model uses a MIDI version of Nottingham database (http://abc.sourceforge.net/NMD/) as the dataset.

Preprocessed musical word tokens are included in the "dataset" folder.

About

Implementation of a paper "Polyphonic Music Generation with Sequence Generative Adversarial Networks" in TensorFlow

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages