<span id="3dn8r"></span>
    1. <span id="3dn8r"><optgroup id="3dn8r"></optgroup></span><li id="3dn8r"><meter id="3dn8r"></meter></li>


        Vocoder with HiFIGAN trained on LJSpeech

        This repository provides all the necessary tools for using a HiFIGAN vocoder trained with LJSpeech.
        The pre-trained model takes in input a spectrogram and produces a waveform in output. Typically, a vocoder is used after a TTS model that converts an input text into a spectrogram.
        The sampling frequency is 22050 Hz.


        Install SpeechBrain

        pip install speechbrain

        Please notice that we encourage you to read our tutorials and learn more about
        SpeechBrain.


        Using the Vocoder

        import torch
        from speechbrain.pretrained import HIFIGAN
        hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir")
        mel_specs = torch.rand(2, 80,298)
        waveforms = hifi_gan.decode_batch(mel_specs)


        Using the Vocoder with the TTS

        import torchaudio
        from speechbrain.pretrained import Tacotron2
        from speechbrain.pretrained import HIFIGAN
        # Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
        tacotron2 = Tacotron2.from_hparams(source="speechbrain/tts-tacotron2-ljspeech", savedir="tmpdir_tts")
        hifi_gan = HIFIGAN.from_hparams(source="speechbrain/tts-hifigan-ljspeech", savedir="tmpdir_vocoder")
        # Running the TTS
        mel_output, mel_length, alignment = tacotron2.encode_text("Mary had a little lamb")
        # Running Vocoder (spectrogram-to-waveform)
        waveforms = hifi_gan.decode_batch(mel_output)
        # Save the waverform
        torchaudio.save('example_TTS.wav',waveforms.squeeze(1), 22050)


        Inference on GPU

        To perform inference on the GPU, add run_opts={"device":"cuda"} when calling the from_hparams method.


        Training

        The model was trained with SpeechBrain.
        To train it from scratch follow these steps:

        1. Clone SpeechBrain:

        git clone https://github.com/speechbrain/speechbrain/

        1. Install it:

        cd speechbrain
        pip install -r requirements.txt
        pip install -e .

        1. Run Training:

        cd recipes/LJSpeech/TTS/vocoder/hifi_gan/
        python train.py hparams/train.yaml --data_folder /path/to/LJspeech

        You can find our training results (models, logs, etc) here.

        數據統計

        數據評估

        speechbrain/tts-hifigan-ljspeech瀏覽人數已經達到540,如你需要查詢該站的相關權重信息,可以點擊"5118數據""愛站數據""Chinaz數據"進入;以目前的網站數據參考,建議大家請以愛站數據為準,更多網站價值評估因素如:speechbrain/tts-hifigan-ljspeech的訪問速度、搜索引擎收錄以及索引量、用戶體驗等;當然要評估一個站的價值,最主要還是需要根據您自身的需求以及需要,一些確切的數據則需要找speechbrain/tts-hifigan-ljspeech的站長進行洽談提供。如該站的IP、PV、跳出率等!

        關于speechbrain/tts-hifigan-ljspeech特別聲明

        本站OpenI提供的speechbrain/tts-hifigan-ljspeech都來源于網絡,不保證外部鏈接的準確性和完整性,同時,對于該外部鏈接的指向,不由OpenI實際控制,在2023年 5月 26日 下午6:12收錄時,該網頁上的內容,都屬于合規合法,后期網頁的內容如出現違規,可以直接聯系網站管理員進行刪除,OpenI不承擔任何責任。

        相關導航

        Trae官網

        暫無評論

        暫無評論...
        主站蜘蛛池模板: 亚洲6080yy久久无码产自国产| 国产成人精品一区二区三区免费| 免费观看无遮挡www的视频| 久久亚洲精品成人综合| 精品国产免费人成网站| 亚洲永久精品ww47| 最近国语视频在线观看免费播放| 久久久久免费看成人影片| 久久亚洲国产精品一区二区| 免费看成人AA片无码视频吃奶| 亚洲AV综合色一区二区三区| 99视频免费播放| 亚洲另类小说图片| 成人免费毛片观看| 黄色免费在线观看网址| 亚洲中文字幕无码永久在线| 美女视频黄a视频全免费网站色窝| 久久久亚洲欧洲日产国码农村| 久久精品一本到99热免费| 波多野结衣亚洲一级| 国产片免费福利片永久| 国产黄色免费观看| 亚洲国产日韩一区高清在线| 中国在线观看免费国语版| 国产精品国产亚洲区艳妇糸列短篇| 最近免费中文字幕mv在线电影 | 国产精品亚洲mnbav网站 | 亚洲精品线在线观看| 性生交片免费无码看人| 亚洲AV无码一区二区三区性色| 亚洲电影日韩精品| 99视频在线精品免费| 无码天堂亚洲国产AV| 久久亚洲免费视频| 在线视频免费观看www动漫| 亚洲人成网www| 免费特级黄毛片在线成人观看| 亚洲人成免费电影| 免费A级毛片在线播放不收费| 久久精品电影免费动漫| 亚洲精品国产摄像头|