
Tacotron2 (TACOTRON2_WAVERNN_CHAR_LJSPEECH)
Audio and speech4,045 ops28.1M params
Text-to-mel-spectrogram front end of Tacotron 2, traced in torchaudio, SpeechBrain and ESPnet builds.
Audio and speech · 4,045 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
Tacotron 2 is a neural network architecture for speech synthesis directly from text. The system has two stages: a recurrent sequence-to-sequence feature prediction network that maps character embeddings to mel-scale spectrograms, followed by a modified WaveNet acting as a vocoder to turn those spectrograms into waveforms. It achieves a mean opinion score of 4.53, comparable to 4.58 for professionally recorded speech.
The paper's ablations evaluate using mel spectrograms as WaveNet's input instead of linguistic, duration and F0 features. The authors further show that this compact acoustic intermediate representation enables significant simplification of the WaveNet architecture.
ESPnet's configuration for training Tacotron 2 uses a 512-dimensional character or phoneme embedding in front of a one-layer BLSTM encoder of 512 units. The decoder stacks two LSTM layers of 1024 units. A postnet of five layers with 512 channels refines the output. Compared to the original paper, ESPnet's configuration additionally uses a guided attention loss to accelerate learning of the diagonal attention. That recipe needs only a single GPU with 12 GB memory and takes about 3 days to train on a Titan V.
Key idea. Tacotron 2 shows that a sequence-to-sequence network predicting mel spectrograms, feeding a modified WaveNet vocoder, yields speech with a mean opinion score of 4.53 against 4.58 for professionally recorded speech.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{shen2018naturalttssynthesisconditioning,
title={Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictions},
author={Jonathan Shen and Ruoming Pang and Ron J. Weiss and Mike Schuster and Navdeep Jaitly and Zongheng Yang and Zhifeng Chen and Yu Zhang and Yuxuan Wang and RJ Skerry-Ryan and Rif A. Saurous and Yannis Agiomyrgiannakis and Yonghui Wu},
year={2018},
eprint={1712.05884},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/1712.05884},
}