This repo is Unofficial implements of TFGAN: Time and Frequency Domain Based Generative Adversarial Network for High-fidelity Speech Synthesis using Pytorch.
Tested on Python 3.6
pip install -r requirements.txt
- Download dataset for training. This can be any wav files with sample rate 22050Hz. (e.g. LJSpeech was used in paper)
- preprocess:
python preprocess.py -c config/default.yaml -d [data's root path]
- Edit configuration
yaml
file
-
python trainer.py -c [config yaml file] -n [name of the run]
cp config/default.yaml config/config.yaml
and then editconfig.yaml
- Write down the root path of train/validation files to 2nd/3rd line.
-
tensorboard --logdir logs/
python inference.py -p [checkpoint path] -i [input mel path]
- LJSpeech checkpoint here .