<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官網

        暫無評論

        暫無評論...
        主站蜘蛛池模板: 亚洲精品自偷自拍无码| 亚洲AV无码成人精品区在线观看| xxx毛茸茸的亚洲| 99在线精品视频观看免费| 亚洲国产精品乱码一区二区 | 亚洲heyzo专区无码综合| 免费观看黄网站在线播放| 97久久国产亚洲精品超碰热| 噼里啪啦免费观看高清动漫4| 亚洲国产精品成人综合色在线婷婷| 猫咪免费人成网站在线观看| 亚洲成人黄色网址| 中国在线观看免费国语版| 午夜在线a亚洲v天堂网2019| 免费理论片51人人看电影| 国产亚洲精品美女久久久久| 亚洲国产精品一区二区三区久久| 人禽伦免费交视频播放| 亚洲日韩小电影在线观看| 亚洲精品免费视频| 亚洲人成网站在线观看播放动漫 | 精品久久久久久久久亚洲偷窥女厕| 国产猛烈高潮尖叫视频免费 | 亚洲欧洲无码一区二区三区| 国产片免费在线观看| 国产免费久久精品99久久| 亚洲va无码手机在线电影| 久久国产精品成人片免费| 国产亚洲sss在线播放| 日本黄页网站免费| jzzjzz免费观看大片免费| 久久噜噜噜久久亚洲va久| 在线看片v免费观看视频777 | 亚洲国产成人一区二区三区| 国产免费一区二区三区| 国产成人综合亚洲| 国产V亚洲V天堂无码| 日韩av无码成人无码免费| 夜夜爽妓女8888视频免费观看| 久久综合九九亚洲一区| 成年女人免费v片|