NVIDIA/waveglow
关于
基于流的语音合成生成网络
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- -2
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
WaveGlow: a Flow-based Generative Network for Speech Synthesis
Ryan Prenger, Rafael Valle, and Bryan Catanzaro
In our recent paper, we propose WaveGlow: a flow-based network capable of generating high quality speech from mel-spectrograms. WaveGlow combines insights from Glow and WaveNet in order to provide fast, efficient and high-quality audio synthesis, without the need for auto-regression. WaveGlow is implemented using only a single network, trained using only a single cost function: maximizing the likelihood of the training data, which makes the training procedure simple and stable.
Our PyTorch implementation produces audio samples at a rate of 1200 kHz on an NVIDIA V100 GPU. Mean Opinion Scores show that it delivers audio quality as good as the best publicly available WaveNet implementation.
Visit our website for audio samples.
Setup
Clone our repo and initialize submodule
git clone https://github.com/NVIDIA/waveglow.git cd waveglow git submodule init git submodule updateInstall requirements
pip3 install -r requirements.txtInstall Apex
Generate audio with our pre-existing model
- Download our published model
- Download mel-spectrograms
- Generate audio
python3 inference.py -f <(ls mel_spectrograms/*.pt) -w waveglow_256channels.pt -o . --is_fp16 -s 0.6
N.b. use convert_model.py to convert your older models to the current model
with fused residual and skip connections.
Train your own model
Download LJ Speech Data. In this example it's in
data/Make a list of the file names to use for training/testing
ls data/*.wav | tail -n+10 > train_files.txt ls data/*.wav | head -n10 > test_files.txtTrain your WaveGlow networks
mkdir checkpoints python train.py -c config.jsonFor multi-GPU training replace
train.pywithdistributed.py. Only tested with single node and NCCL.For mixed precision training set
"fp16_run": trueonconfig.json.Make test set mel-spectrograms
python mel2samp.py -f test_files.txt -o . -c config.jsonDo inference with your network
ls *.pt > mel_files.txt python3 inference.py -f mel_files.txt -w checkpoints/waveglow_10000 -o . --is_fp16 -s 0.6
探索相关项目
加载中…