← Open Source
descriptinc

melgan-neurips

GAN-based Mel-Spectrogram Inversion Network for Text-to-Speech Synthesis.

Model DevelopmentArchitectureDomain-specific trainingPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.04k
Stars
210
Forks
+0
This week
1
Contributors
Created 2019-10-25 · Updated 2026-10-04 · #11929 today
Top developers
ritheshkumar95

descriptinc/melgan-neurips is ranked 11,929 with 1,041 stars.

Same-category comparison

descriptinc/melgan-neurips is ranked 11,929 among these 8 peers; motional/nuplan-devkit is ranked 11,926.

Same-category comparison
NameRankMetrics
openai/supervised-reptile11,919
Language:
JavaScript
Stars:
1,043
Forks:
212
Description:
Code for the paper "On First-Order Meta-Learning Algorithms".
volcengine/veScale11,922
Language:
Python
Stars:
1,043
Forks:
66
Description:
Byted PyTorch Distributed for Hyperscale Training of LLMs and RLs.
google-research/morph-net11,925
Language:
Python
Stars:
1,042
Forks:
151
Description:
Fast & Simple Resource-Constrained Learning of Deep Network Structure.
motional/nuplan-devkit11,926
Language:
Python
Stars:
1,042
Forks:
219
Description:
The devkit of the nuPlan dataset.
pykaldi/pykaldi11,932
Language:
Python
Stars:
1,041
Forks:
246
Description:
A Python wrapper for Kaldi.
pytorch/tensordict11,933
Language:
Python
Stars:
1,041
Forks:
135
Description:
TensorDict is a pytorch dedicated tensor container.
Phylliade/ikpy11,937
Language:
Python
Stars:
1,039
Forks:
179
Description:
IKPy, an Universal Inverse Kinematics library.
1e0ng/simhash11,940
Language:
Python
Stars:
1,038
Forks:
220
Description:
A Python Implementation of Simhash Algorithm.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryArchitecture, Domain-specific training
KeywordsText-to-speech
Stars1,041
Forks210
Contributors1
Created date2019-10-25
Updated date2026-10-04
Stars in 1 day0
Stars in 7 days0
Rank11,929
Previous rank11,842
Rank change-87
7-day stars rank13,194
Previous 7-day stars rank13,213
7-day stars rank change19
Total stars rank10,828
Previous total stars rank10,802
Total stars rank change-26
CountryUSA
README summary

Official repository for the paper MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesis Previous works have found that generating coherent raw audio waveforms with GANs is challenging. In this paper, we show that it is possible to train GANs reliably to generate high quality coherent waveforms by introducing a set of architectural changes and simple training techniques. Subjective evaluation metric (Mean Opinion Score, or MOS) shows the effectiveness of the proposed approach for high quality mel-spectrogram inversion. To establish

the generality of the proposed techniques, we show qualitative results of our model in speech synthesis, music domain translation and unconditional music synthesis. We evaluate the various components of the model through ablation studies and suggest a set of guidelines to design general purpose discriminators and generators for conditional sequence synthesis tasks. Our model is non-autoregressive, fully convolutional, with significantly fewer parameters than competing models and generalizes to unseen speakers for mel-spectrogram inversion. Our pytorch implementation runs at

more than 100x faster than realtime on GTX 1080Ti GPU and more than 2x faster than real-time on CPU, without any hardware specific optimization tricks. Blog post with samples and accompanying code coming soon. You can try the speech correction application here created based on the end-to-end speech synthesis pipeline using MelGAN. Check the slides if you aren't attending the NeurIPS 2019 conference to check out our poster. Code organization Preparing dataset Create a raw folder with

all the samples stored in subfolder. Run these commands: Training Example PyTorch Hub Example

Frequently asked questions

How many stars and forks are recorded?

descriptinc/melgan-neurips has 1,041 stars and 210 forks.

What is the repository rank?

descriptinc/melgan-neurips is ranked 11,929.

What language and category are recorded?

descriptinc/melgan-neurips has 1,041 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

descriptinc/melgan-neurips is compared with motional/nuplan-devkit, ranked 11,926 with 1,042 stars.

README

Official repository for the paper MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesis

Previous works have found that generating coherent raw audio waveforms with GANs is challenging. In this paper, we show that it is possible to train GANs reliably to generate high quality coherent waveforms by introducing a set of architectural changes and simple training techniques. Subjective evaluation metric (Mean Opinion Score, or MOS) shows the effectiveness of the proposed approach for high quality mel-spectrogram inversion. To establish the generality of the proposed techniques, we show qualitative results of our model in speech synthesis, music domain translation and unconditional music synthesis. We evaluate the various components of the model through ablation studies and suggest a set of guidelines to design general purpose discriminators and generators for conditional sequence synthesis tasks. Our model is non-autoregressive, fully convolutional, with significantly fewer parameters than competing models and generalizes to unseen speakers for mel-spectrogram inversion. Our pytorch implementation runs at more than 100x faster than realtime on GTX 1080Ti GPU and more than 2x faster than real-time on CPU, without any hardware specific optimization tricks. Blog post with samples and accompanying code coming soon.

Visit our website for samples. You can try the speech correction application here created based on the end-to-end speech synthesis pipeline using MelGAN.

Check the slides if you aren't attending the NeurIPS 2019 conference to check out our poster.

Code organization

├── README.md             <- Top-level README.
├── set_env.sh            <- Set PYTHONPATH and CUDA_VISIBLE_DEVICES.
│
├── mel2wav
│   ├── dataset.py           <- data loader scripts
│   ├── modules.py           <- Model, layers and losses
│   ├── utils.py             <- Utilities to monitor, save, log, schedule etc.
│
├── scripts
│   ├── train.py                    <- training / validation / etc scripts
│   ├── generate_from_folder.py

Preparing dataset

Create a raw folder with all the samples stored in wavs/ subfolder. Run these commands:

ls wavs/*.wav | tail -n+10 > train_files.txt
ls wavs/*.wav | head -n10 > test_files.txt

Training Example

. source set_env.sh 0
# Set PYTHONPATH and use first GPU
python scripts/train.py --save_path logs/baseline --path 

PyTorch Hub Example

import torch
vocoder = torch.hub.load('descriptinc/melgan-neurips', 'load_melgan')
vocoder.inverse(audio)  # audio (torch.tensor) -> (batch_size, 80, timesteps)
Nearby in the ranking
Similar items