Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vits

> 编程语言
Open source

VITS: Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech

7.9K stars0 likes1 views
WebsiteGitHub

About

VITS: Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech

VITS: Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech

Jaehyeon Kim, Jungil Kong, and Juhee Son

In our recent paper, we propose VITS: Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech.

Several recent end-to-end text-to-speech (TTS) models enabling single-stage training and parallel sampling have been proposed, but their sample quality does not match that of two-stage TTS systems. In this work, we present a parallel end-to-end TTS method that generates more natural sounding audio than current two-stage models. Our method adopts variational inference augmented with normalizing flows and an adversarial training process, which improves the expressive power of generative modeling. We also propose a stochastic duration predictor to synthesize speech with diverse rhythms from input text. With the uncertainty modeling over latent variables and the stochastic duration predictor, our method expresses the natural one-to-many relationship in which a text input can be spoken in multiple ways with different pitches and rhythms. A subjective human evaluation (mean opinion score, or MOS) on the LJ Speech, a single speaker dataset, shows that our method outperforms the best publicly available TTS systems and achieves a MOS comparable to ground truth.

Visit our demo for audio samples.

We also provide the pretrained models.

** Update note: Thanks to Rishikesh (ऋषिकेश), our interactive TTS demo is now available on Colab Notebook.

VITS at training VITS at inference

Pre-requisites

  1. Python >= 3.6
  2. Clone this repository
  3. Install python requirements. Please refer requirements.txt
    1. You may need to install espeak first: apt-get install espeak
  4. Download datasets
    1. Download and extract the LJ Speech dataset, then rename or create a link to the dataset folder: ln -s /path/to/LJSpeech-1.1/wavs DUMMY1
    2. For mult-speaker setting, download and extract the VCTK dataset, and downsample wav files to 22050 Hz. Then rename or create a link to the dataset folder: ln -s /path/to/VCTK-Corpus/downsampled_wavs DUMMY2
  5. Build Monotonic Alignment Search and run preprocessing if you use your own datasets.
…

Training Exmaple

bash
# LJ Speech
python train.py -c configs/ljs_base.json -m ljs_base

# VCTK
python train_ms.py -c configs/vctk_base.json -m vctk_base

Inference Example

See inference.ipynb

Issues· 165 open

View all issuesOpen on GitHub
  • #236

    Documentation Enhancement Suggestion

    Updated Mar 14, 2026
  • #235

    Question on the design choice of volume-preserving flow in the prior encoder

    Updated Jan 22, 2026
  • #234

    Need Piple onnx file for URDU language

    Updated Dec 26, 2025
  • #187

    VITS codes failed to run for Python 3.10.12

    Updated Nov 18, 2025
  • #233

    how many steps do we need in LJSPeech

    Updated Nov 13, 2025
  • #121

    Inference result is not as good as the demo

    Updated Nov 13, 2025
  • #227

    VITS fails to synthesize intelligible audio from Punjabi dataset using CISAMPA phoneme input

    Updated Sep 30, 2025
  • #231

    Cannot create core.cpython-310-x86_64-linux-gnu.so file when try to run python setup.py build_ext --inplace

    Updated Sep 30, 2025
  • #200

    Problems adding a new speaker

    Updated Sep 11, 2025
  • #81

    Questions about 48k audio file train

    Updated Sep 4, 2025

> Tags

Pythondeep-learningpytorchspeech-synthesistext-to-speech

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言