Code Monkey home page Code Monkey logo

melnet's Introduction

MelNet Reimplementation

This is a PyTorch reimplementation of MelNet.

Implementation seems to be reasonably working. I'm using 2x2080Ti (which was a huge investment on my part) to train the network. Even then, I did not have enough GPU memory to run the network with the hyperparameters the paper has set out to use. I've used NVIDIA's apex in order to fit wider networks into the GPUs, and I got reasonable results for:

  • Batchsize: 16, Width: 64, Hop Length: 256, Timesteps: 384, Sample Rate: 16384 (~5 seconds of audio).
  • Batchsize: 8, Width: 128, Hop Length: 256, Timesteps: 384, Sample Rate: 16384 (~5 seconds of audio).

The codebase for now lacks the Centralised Stack. (Please contribute!)

Dataset

This has been accommodated for the maestro dataset from Google only; please contribute if you are looking to implement the TTS version of MelNet.

Parallelisation

This implementation utilises apex.parallel.DistributedDataParallel module and torch.multiprocessing in order to train on multiple GPUs. Please see the implementation details if you are looking for a way to run a PyTorch processes for each GPU.

License

I haven't decided on the license of the code here. For now, CC BY-SA policy applies while I decide whether I want this to be GPL or MIT, etc.

Misc.

I've invested quite a bit of time into hardware while writing this reimplementation; if you were to use it, please consider a donation. As always, contributions are welcome.

melnet's People

Contributors

fatchord avatar jaeyeun97 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.