An open API service indexing awesome lists of open source software.

https://github.com/l0sg/seqgan-music

Implementation of a paper "Polyphonic Music Generation with Sequence Generative Adversarial Networks" in TensorFlow
https://github.com/l0sg/seqgan-music

deep-learning generative-adversarial-network music-generation polyphonic seqgan tensorflow

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

**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](https://arxiv.org/abs/1710.11418) in TensorFlow.

Hard-forked from the [official SeqGAN code](https://github.com/LantaoYu/SeqGAN).

## 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 () as the dataset.

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