资源算法constant-memory-waveglow

constant-memory-waveglow

2019-12-26 | |  31 |   0 |   0

Constant Memory WaveGlow

A PyTorch implementation ofWaveGlow: A Flow-based Generative Network for Speech Synthesisusing constant memory method described in Training Glow with Constant Memory Cost.

The model implementation details are slightly differed from theofficial implementation based on personal favor, and the project structure is brought frompytorch-template.

Quick Start

Modify the data_dir in the json file to a directory which has a bunch of wave files with the same sampling rate, then your are good to go. The mel-spectrogram will be computed on the fly.

{  "data_loader": {    "type": "RandomWaveFileLoader",    "args": {      "data_dir": "/your/data/wave/files",      "batch_size": 8,      "num_workers": 2,      "segment": 16000
    }
  }
}
python train.py -c config.json

Memory Usage Comparison

Coming soon.

Result

I trained the model on some cello music pieces from MusicNet using the musicnet_config.json. The clips in the samples folder is what I got. Although the audio quality is not very good, it's possible to use WaveGlow on music generation as well. The generation speed is around 470kHz on a 1080ti.


上一篇:waveglow-vqvae

下一篇:partial_conv-Tensorflow

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...