← 开源
NVIDIA

flowtron

Flowtron is an auto-regressive flow-based generative network for text to speech synthesis with control over speech variation and style transfer

ModelsAudio/Speech modelsJupyter Notebook
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
894
Star
174
Fork
+0
本周
5
贡献者
创建于 2020-04-30 · 更新于 2026-08-07 · 今日第 12839 名
主要开发者
rafaelvalleartemgilya16

NVIDIA/flowtron 排名第 12,839,有 894 个星标。

同类别比较

NVIDIA/flowtron 排名第 12,839,此处有 8 个同类条目;peylnog/ContinuousSR 排名第 12,836。

同类别比较
名称排名指标
hustvl/YOLOS12,772
语言:
Jupyter Notebook
星标数:
903
分叉数:
125
简介:
[NeurIPS 2021] You Only Look at One Sequence
EvolvingLMMs-Lab/NEO12,786
语言:
Python
星标数:
901
分叉数:
33
简介:
NEO Series: Native Vision-Language Models from First Principles
FudanDISC/DISC-FinLLM12,819
语言:
Python
星标数:
896
分叉数:
97
简介:
DISC-FinLLM,中文金融大语言模型(LLM),旨在为用户提供金融场景下专业、智能、全面的金融咨询服务。DISC-FinLLM, a Chinese financial large language model (LLM) designed to provide users with professional, intelligent, and comprehensive financial consulting services in financial scenarios.
peylnog/ContinuousSR12,836
语言:
Python
星标数:
895
分叉数:
34
简介:
Official Code for “Pixel to Gaussian: Ultra-Fast Continuous Super-Resolution with 2D Gaussian Modeling” ICLR 2026
scutcyr/BianQue12,858
语言:
Python
星标数:
892
分叉数:
111
简介:
中文医疗对话模型扁鹊(BianQue)
nyukat/breast_cancer_classifier12,862
语言:
Jupyter Notebook
星标数:
891
分叉数:
275
简介:
Deep Neural Networks Improve Radiologists' Performance in Breast Cancer Screening
microsoft/bioemu12,875
语言:
Python
星标数:
889
分叉数:
150
简介:
Inference code for scalable emulation of protein equilibrium ensembles with generative deep learning
NVlabs/cosmos-policy12,881
语言:
Python
星标数:
888
分叉数:
106
简介:
Cosmos Policy
关键参数与规格
关键参数与规格
参数值
语言Jupyter Notebook
类别Models
子类别Audio/Speech models
关键词Text-to-speech
星标数894
分叉数174
贡献者5
创建日期2020-04-30
更新日期2026-08-07
1 天星标数0
7 天星标数0
排名12,839
上次排名12,739
排名变化-100
7 天星标排名13,627
上次 7 天星标排名13,642
7 天星标排名变化15
总星标排名12,159
上次总星标排名12,138
总星标排名变化-21
国家USA
README 摘录

Flowtron: an Autoregressive Flow-based Network for Text-to-Mel-spectrogram Synthesis Rafael Valle, Kevin Shih, Ryan Prenger and Bryan Catanzaro In our recent [paper] we propose Flowtron: an autoregressive flow-based generative network for text-to-speech synthesis with control over speech variation and style transfer. Flowtron borrows insights from Autoregressive Flows and revamps [Tacotron] in order to provide high-quality and expressive mel-spectrogram synthesis. Flowtron is optimized by maximizing the likelihood of the training data, which makes

training simple and stable. Flowtron learns an invertible mapping of data to a latent space that can be manipulated to control many aspects of speech synthesis (pitch, tone, speech rate, cadence, accent). Our mean opinion scores (MOS) show that Flowtron matches state-of-the-art TTS models in terms of speech quality. In addition, we provide results on control of speech variation, interpolation between samples and style transfer between speakers seen and unseen during training. Install python requirements or build

docker image Training from scratch 1. Update the filelists inside the filelists folder to point to your data 2. Train using the attention prior and the alignment loss (CTC loss) until attention looks good 3. Resume training without the attention prior once the alignments have stabilized 4. (OPTIONAL) If the gate layer is overfitting once done training, train just the gate layer from scratch 5. (OPTIONAL) Training using a pre-trained model Training using a pre-trained model can lead

to faster convergence. Dataset dependent layers can be [ignored] 1. Download our published [Flowtron LJS], [Flowtron LibriTTS] or [Flowtron LibriTTS2K] model 2. Fine-tuning for few-shot speech synthesis 1. Download our published [Flowtron LibriTTS2K] model 2. Multi-GPU (distributed) and Automatic Mixed Precision Training ([AMP]) 1. Inference demo Disable the attention prior and run inference: 1. Related repos WaveGlow Faster than real time Flow-based Generative Network for Speech Synthesis Acknowledgements This implementation uses code from the following repos

: Keith Ito, Prem Seetharaman and Liyuan Liu as described in our code.

常见问题

记录了多少星标和分叉?

NVIDIA/flowtron 有 894 个星标和 174 个分叉。

仓库排名是多少?

NVIDIA/flowtron 排名第 12,839。

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

NVIDIA/flowtron 有 894 个星标,语言为 Jupyter Notebook,类别为 Models。

哪个仓库排名最接近?

NVIDIA/flowtron 与 peylnog/ContinuousSR 比较,后者排名第 12,836,有 895 个星标。

README

Flowtron: an Autoregressive Flow-based Network for Text-to-Mel-spectrogram Synthesis

Rafael Valle, Kevin Shih, Ryan Prenger and Bryan Catanzaro

In our recent paper we propose Flowtron: an autoregressive flow-based generative network for text-to-speech synthesis with control over speech variation and style transfer. Flowtron borrows insights from Autoregressive Flows and revamps Tacotron in order to provide high-quality and expressive mel-spectrogram synthesis. Flowtron is optimized by maximizing the likelihood of the training data, which makes training simple and stable. Flowtron learns an invertible mapping of data to a latent space that can be manipulated to control many aspects of speech synthesis (pitch, tone, speech rate, cadence, accent).

Our mean opinion scores (MOS) show that Flowtron matches state-of-the-art TTS models in terms of speech quality. In addition, we provide results on control of speech variation, interpolation between samples and style transfer between speakers seen and unseen during training.

Visit our website for audio samples.

Pre-requisites

  1. NVIDIA GPU + CUDA cuDNN

Setup

  1. Clone this repo: git clone https://github.com/NVIDIA/flowtron.git
  2. CD into this repo: cd flowtron
  3. Initialize submodule: git submodule update --init; cd tacotron2; git submodule update --init
  4. Install PyTorch
  5. Install python requirements or build docker image
    • Install python requirements: pip install -r requirements.txt

Training from scratch

  1. Update the filelists inside the filelists folder to point to your data
  2. Train using the attention prior and the alignment loss (CTC loss) until attention looks good python train.py -c config.json -p train_config.output_directory=outdir data_config.use_attn_prior=1
  3. Resume training without the attention prior once the alignments have stabilized python train.py -c config.json -p train_config.output_directory=outdir data_config.use_attn_prior=0 train_config.checkpoint_path=model_niters
  4. (OPTIONAL) If the gate layer is overfitting once done training, train just the gate layer from scratch python train.py -c config.json -p train_config.output_directory=outdir train_config.checkpoint_path=model_niters data_config.use_attn_prior=0 train_config.ignore_layers='["flows.1.ar_step.gate_layer.linear_layer.weight","flows.1.ar_step.gate_layer.linear_layer.bias"]' train_config.finetune_layers='["flows.1.ar_step.gate_layer.linear_layer.weight","flows.1.ar_step.gate_layer.linear_layer.bias"]'
  5. (OPTIONAL) tensorboard --logdir=outdir/logdir

Training using a pre-trained model

Training using a pre-trained model can lead to faster convergence. Dataset dependent layers can be ignored

  1. Download our published Flowtron LJS, Flowtron LibriTTS or Flowtron LibriTTS2K model
  2. python train.py -c config.json -p train_config.ignore_layers=["speaker_embedding.weight"] train_config.checkpoint_path="models/flowtron_ljs.pt"

Fine-tuning for few-shot speech synthesis

  1. Download our published Flowtron LibriTTS2K model
  2. python train.py -c config.json -p train_config.finetune_layers=["speaker_embedding.weight"] train_config.checkpoint_path="models/flowtron_libritts2k.pt"

Multi-GPU (distributed) and Automatic Mixed Precision Training (AMP)

  1. python -m torch.distributed.launch --use_env --nproc_per_node=NUM_GPUS_YOU_HAVE train.py -c config.json -p train_config.output_directory=outdir train_config.fp16=true

Inference demo

Disable the attention prior and run inference:

  1. python inference.py -c config.json -f models/flowtron_ljs.pt -w models/waveglow_256channels_v4.pt -t "It is well know that deep generative models have a rich latent space!" -i 0

Related repos

WaveGlow Faster than real time Flow-based Generative Network for Speech Synthesis

Acknowledgements

This implementation uses code from the following repos: Keith Ito, Prem Seetharaman and Liyuan Liu as described in our code.

排名相邻
同类项目