← 开源
Kyubyong

tacotron

A TensorFlow Implementation of Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model

ModelsAudio/Speech modelsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.83k
Star
427
Fork
+0
本周
5
贡献者
创建于 2017-05-16 · 更新于 2026-10-13 · 今日第 9401 名
主要开发者
Kyubyongcandlewillbetterenvi

Kyubyong/tacotron 排名第 9,401,有 1,833 个星标。

同类别比较

Kyubyong/tacotron 排名第 9,401,此处有 8 个同类条目;NVIDIA/semantic-segmentation 排名第 9,402。

同类别比较
名称排名指标
microsoft/mattergen9,378
语言:
Python
星标数:
1,846
分叉数:
358
VHellendoorn/Code-LMs9,388
语言:
Python
星标数:
1,840
分叉数:
261
简介:
Guide to using pre-trained large language models of source code
boundless-large-model/boundless-world-model9,391
语言:
Python
星标数:
1,839
分叉数:
75
简介:
High-fidelity world models for general embodied intelligence, such as data engines and world simulators.
AlibabaResearch/AdvancedLiterateMachinery9,399
语言:
C++
星标数:
1,833
分叉数:
195
简介:
A collection of original, innovative ideas and algorithms towards Advanced Literate Machinery. This project is maintained by the OCR Team in the Language Technology Lab, Tongyi Lab, Alibaba Group.
NVIDIA/semantic-segmentation9,402
语言:
Python
星标数:
1,832
分叉数:
388
简介:
Nvidia Semantic Segmentation monorepo
NVlabs/stylegan2-ada9,407
语言:
Python
星标数:
1,828
分叉数:
481
简介:
StyleGAN2 with adaptive discriminator augmentation (ADA) - Official TensorFlow implementation
potamides/DeTikZify9,415
语言:
Python
星标数:
1,824
分叉数:
97
简介:
Synthesizing Graphics Programs for Scientific Figures and Sketches with TikZ.
zjy-ucas/ChineseNER9,419
语言:
Python
星标数:
1,823
分叉数:
565
简介:
A neural network model for Chinese named entity recognition
关键参数与规格
关键参数与规格
参数值
语言Python
类别Models
子类别Audio/Speech models
关键词TTS
星标数1,833
分叉数427
贡献者5
创建日期2017-05-16
更新日期2026-10-13
1 天星标数0
7 天星标数0
排名9,401
上次排名9,444
排名变化43
7 天星标排名12,285
上次 7 天星标排名12,339
7 天星标排名变化54
总星标排名6,835
上次总星标排名6,827
总星标排名变化-8
国家South Korea
README 摘录

A (Heavily Documented) TensorFlow Implementation of Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model Requirements NumPy >= 1. 3 librosa tqdm matplotlib scipy Data We train the model on three different speech datasets. The World English Bible LJ Speech Dataset is recently widely used as a benchmark dataset in the TTS task because it is publicly available. It has 24 hours of reasonable quality samples. Nick's audiobooks are additionally used to see if the model can learn even

with less data, variable speech samples. The World English Bible is a public domain update of the American Standard Version of 1901 into modern English. Its original audios are freely available here. Kyubyong split each chapter by verse manually and aligned the segmented audio clips to the text. You can download them at Kaggle Datasets. Download LJ Speech Dataset or prepare your own data. (If you want to do preprocessing, set True python train. **Perhaps the most important hyperparemeter is

the learning rate. 002 we were never able to learn a clean attention, the loss would frequently explode. 001 we were able to learn a clean attention and train for much longer get decernable words during synthesis. Check other TTS models such as DCTTS or deep voice 3. Differences from the original paper We use Noam style warmup and decay. After the last convolutional layer of the post-processing net, we apply an affine transformation to bring the dimensionality up

to 128 from 80, because the required dimensionality of highway net is 128. In the original highway networks paper, the authors mention that the dimensionality of the input can also be increased with zero-padding, but they used the affine transformation in all their experiments. We do not know what the Tacotron authors chose. Papers that referenced this repo Efficiently Trainable Text-to-Speech System Based on Deep Convolutional Networks with Guided Attention Storytime - End to end neural networks for

audiobooks Jan.

常见问题

记录了多少星标和分叉?

Kyubyong/tacotron 有 1,833 个星标和 427 个分叉。

仓库排名是多少?

Kyubyong/tacotron 排名第 9,401。

记录的语言和类别是什么?

Kyubyong/tacotron 有 1,833 个星标,语言为 Python,类别为 Models。

哪个仓库排名最接近?

Kyubyong/tacotron 与 NVIDIA/semantic-segmentation 比较,后者排名第 9,402,有 1,832 个星标。

README

A (Heavily Documented) TensorFlow Implementation of Tacotron: A Fully End-to-End Text-To-Speech Synthesis Model

Requirements

  • NumPy >= 1.11.1
  • TensorFlow >= 1.3
  • librosa
  • tqdm
  • matplotlib
  • scipy

Data

We train the model on three different speech datasets.

  1. LJ Speech Dataset
  2. Nick Offerman's Audiobooks
  3. The World English Bible

LJ Speech Dataset is recently widely used as a benchmark dataset in the TTS task because it is publicly available. It has 24 hours of reasonable quality samples. Nick's audiobooks are additionally used to see if the model can learn even with less data, variable speech samples. They are 18 hours long. The World English Bible is a public domain update of the American Standard Version of 1901 into modern English. Its original audios are freely available here. Kyubyong split each chapter by verse manually and aligned the segmented audio clips to the text. They are 72 hours in total. You can download them at Kaggle Datasets.

Training

  • STEP 0. Download LJ Speech Dataset or prepare your own data.
  • STEP 1. Adjust hyper parameters in hyperparams.py. (If you want to do preprocessing, set prepro True`.
  • STEP 2. Run python train.py. (If you set prepro True, run python prepro.py first)
  • STEP 3. Run python eval.py regularly during training.

Sample Synthesis

We generate speech samples based on Harvard Sentences as the original paper does. It is already included in the repo.

  • Run python synthesize.py and check the files in samples.

Training Curve

Attention Plot

Generated Samples

Pretrained Files

  • Keep in mind 200k steps may not be enough for the best performance.
  • LJ 200k
  • WEB 200k

Notes

  • It's important to monitor the attention plots during training. If the attention plots look good (alignment looks linear), and then they look bad (the plots will look similar to what they looked like in the begining of training), then training has gone awry and most likely will need to be restarted from a checkpoint where the attention looked good, because we've learned that it's unlikely that the loss will ever recover. This deterioration of attention will correspond with a spike in the loss.

  • In the original paper, the authors said, "An important trick we discovered was predicting multiple, non-overlapping output frames at each decoder step" where the number of of multiple frame is the reduction factor, r. We originally interpretted this as predicting non-sequential frames during each decoding step t. Thus were using the following scheme (with r=5) during decoding.

    t    frame numbers
    -----------------------
    0    [ 0  1  2  3  4]
    1    [ 5  6  7  8  9]
    2    [10 11 12 13 14]
    ...
    

    After much experimentation, we were unable to have our model learning anything useful. We then switched to predicting r sequential frames during each decoding step.

    t    frame numbers
    -----------------------
    0    [ 0  1  2  3  4]
    1    [ 5  6  7  8  9]
    2    [10 11 12 13 14]
    ...
    

    With this setup we noticed improvements in the attention and have since kept it.

  • Perhaps the most important hyperparemeter is the learning rate. With an intitial learning rate of 0.002 we were never able to learn a clean attention, the loss would frequently explode. With an initial learning rate of 0.001 we were able to learn a clean attention and train for much longer get decernable words during synthesis.

  • Check other TTS models such as DCTTS or deep voice 3.

Differences from the original paper

  • We use Noam style warmup and decay.
  • We implement gradient clipping.
  • Our training batches are bucketed.
  • After the last convolutional layer of the post-processing net, we apply an affine transformation to bring the dimensionality up to 128 from 80, because the required dimensionality of highway net is 128. In the original highway networks paper, the authors mention that the dimensionality of the input can also be increased with zero-padding, but they used the affine transformation in all their experiments. We do not know what the Tacotron authors chose.

Papers that referenced this repo

Jan. 2018, Kyubyong Park & Tommy Mulc

排名相邻
同类项目