NVIDIA
NVIDIA
NeMo Speech Synthesis models
Model
NVIDIA
NVIDIA
NeMo Speech Synthesis models

NeMo Speech Synthesis(Text to Speech or TTS) models contain text to speech models to generate spectrogram from text and vocoder to generate audio from spectrogram

Overview

NVIDIA NeMo toolkit supports Text To Speech (TTS) which is also referred to as Speech Synthesis via a two step procedure. First, a model is used to generate a mel spectrogram from text. Second, a model is used to generate audio from a mel spectrogram. In this collection, Mel Spectrogram Generators Tacotron 2 and Glow-TTS are included.In the audio Generators (Vocoders) section, WaveGlow is included. Using the scripts in the TTS directory, train any of these models for domain specific data. Note: Transfer learning is currently a research area in TTS.

Usage

You can instantiate all these models automatically directly from NGC. To do so, start your script with:

import nemo
import nemo.collections.tts as nemo_tts

Then chose what type of model you would like to instantiate. See table below for the list of model base classes. Then use base_class.from_pretrained(...) method. For example:

# Spectrogram generator which takes text as an input and produces spectrogram
spectrogram_generator = nemo_tts.models.Tacotron2Model.from_pretrained(model_name="Tacotron2-22050Hz")
# Vocoder model which takes spectrogram and produces actual audio
vocoder = nemo_tts.models.WaveGlowModel.from_pretrained(model_name="WaveGlow-22050Hz")

Note that you can also list all available models using API by calling base_class.list_available_models(...) method.

You can also download all models' ".nemo" files in the "File Browser" tab and then instantiate those models with base_class.restore_from(PATH_TO_DOTNEMO_FILE) method. In this case, make sure you are matching NeMo and models' versions.

Here is a list of currently available models together with their base classes and short descriptions.

Model nameModel Base ClassDescription
Tacotron2-22050HzTacotron2ModelThis model is trained on LJSpeech sampled at 22050Hz, and can be used to generate female English voices with an American accent.
WaveGlow-22050HzWaveGlowModelThis model is trained on LJSpeech sampled at 22050Hz, and can be used as an universal vocoder.
SqueezeWave-22050HzSqueezeWaveModelThis model is trained on LJSpeech sampled at 22050Hz, and can be used as an universal vocoder.
GlowTTS-22050HzGlowTTSModelThis model is trained on LJSpeech sampled at 22050Hz, and can be used to generate female English voices with an American accent.
Publisher
NVIDIA
NVIDIA
Latest Version1.0.0a5
UpdatedApril 4, 2023 UTC
Compressed Size1.23 GB

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.