NVIDIA
NVIDIA
TTS En Glowtts
Model
NVIDIA
NVIDIA
TTS En Glowtts

Glowtts Speech Synthesis model trained on female English speech

  • Model Overview

    GlowTTS is a Glow-based (alternatively flow-based) model that generates mel spectrograms from text.

    Model Architecture

    For more information about the model architecture, see the GlowTTS paper [1].

    Training

    This model is trained on LJSpeech sampled at 22050Hz, and has been tested on generating female English voices with an American accent.

    Performance

    No performance information available at this time.

    How to Use this Model

    This model can be automatically loaded from NGC.

    NOTE: In order to generate audio, you also need a 22050Hz vocoder from NeMo. This example uses the HiFi-GAN model.

    # Load GlowTTS
    from nemo.collections.tts.models import GlowTTSModel
    spec_generator = GlowTTSModel.from_pretrained("tts_en_glowtts")
    
    # Load vocoder
    from nemo.collections.tts.models import Vocoder
    model = Vocoder.from_pretrained(model_name="tts_hifigan")
    
    # Generate audio
    import soundfile as sf
    parsed = spec_generator.parse("You can type your sentence here to get nemo to produce speech.")
    spectrogram = spec_generator.generate_spectrogram(tokens=parsed)
    audio = model.convert_spectrogram_to_audio(spec=spectrogram)
    
    # Save the audio to disk in a file called speech.wav
    sf.write("speech.wav", audio.to('cpu').numpy(), 22050)
    

    Input

    This model accepts batches of text.

    Output

    This model generates mel spectrograms.

    Limitations

    This checkpoint only works well with vocoders that were trained on 22050Hz data. Otherwise, the generated audio may be scratchy or choppy-sounding.

    Versions

    1.0.0rc1 (current): The original version released with NeMo 1.0.0rc1.

    References

    GlowTTS paper: https://arxiv.org/abs/2005.11129

    Licence

    License to use this model is covered by the NGC TERMS OF USE unless another License/Terms Of Use/EULA is clearly specified. By downloading the public and release version of the model, you accept the terms and conditions of the NGC TERMS OF USE.

    Publisher
    NVIDIA
    NVIDIA
    Latest Version1.0.0rc1
    UpdatedApril 4, 2023 UTC
    Compressed Size105.91 MB

    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.