r9y9/tacotron_pytorch
关于
Tacotron 语音合成模型的 PyTorch 实现。
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文tacotron_pytorch
PyTorch implementation of Tacotron speech synthesis model.
Inspired from keithito/tacotron. Currently not as much good speech quality as keithito/tacotron can generate, but it seems to be basically working. You can find some generated speech examples trained on LJ Speech Dataset at here.
If you are comfortable working with TensorFlow, I'd recommend you to try https://github.com/keithito/tacotron instead. The reason to rewrite it in PyTorch is that it's easier to debug and extend (multi-speaker architecture, etc) at least to me.
Requirements
- PyTorch
- TensorFlow (if you want to run the training script. This definitely can be optional, but for now required.)
Installation
git clone --recursive https://github.com/r9y9/tacotron_pytorch
pip install -e . # or python setup.py develop
If you want to run the training script, then you need to install additional dependencies.
pip install -e ".[train]"
Training
The package relis on keithito/tacotron for text processing, audio preprocessing and audio reconstruction (added as a submodule). Please follows the quick start section at https://github.com/keithito/tacotron and prepare your dataset accordingly.
If you have your data prepared, assuming your data is in "~/tacotron/training" (which is the default), then you can train your model by:
python train.py
Alignment, predicted spectrogram, target spectrogram, predicted waveform and checkpoint (model and optimizer states) are saved per 1000 global step in checkpoints directory. Training progress can be monitored by:
tensorboard --logdir=log
Testing model
Open the notebook in notebooks directory and change checkpoint_path to your model.
探索相关项目
加载中…