GithubHelp home page GithubHelp logo

dt2119's Introduction

This is a Music Generation Implementation using WaveNet

This repository contains unconditinal WaveNet structure from:

-WaveNet: A Generative Model for Raw Audio[https://arxiv.org/abs/1609.03499]

The dataset is from:

-The MAESTRO Dataset V1.0.0[https://magenta.tensorflow.org/datasets/maestro#dataset] which stands for MIDI and Audio Edited for Synchronous TRacks and Organization.

Content

Section Description
Theory Basic Theory
Requirements How to install the required package
Usage Quickstart examples
GPU GPU requirement and memory

Theory

The Dilated Convolution

The dilated convolution is seen as below: Dilated Convolution

The Music WaveNet

The network architecture is seen below: Music WaveNet Train

Music WaveNet Generate

Reduced Version

In order to decrease the complexity of computation, we change the settings as follows:

Total layers: 8 residual channels: 32 skip channels: 128 max dilation: 128

Requirements

This repo was tested on Python 3.7.3 with PyTorch 1.1 and Scipy 1.3.0

Installation

PyTorch can be installed by conda as follows:

conda install pytorch torchvision cudatoolkit=9.0 -c pytorch

Scipy can be installed by conda as follows:

conda install -c anaconda scipy

Usage

If you want to reproduce the results music reconstruction, you can run the command:

python train.py

If you want to train on different dataset, you should change the config.json file and train_files.txt

GPU

If you want to reproduce our results with the defult settings, you need a GPU with more than 10GB memory. Otherwise you need to decrease the number of layers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.