<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瀏覽人數已經達到542,如你需要查詢該站的相關權重信息,可以點擊"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不承擔任何責任。

        相關導航

        蟬鏡AI數字人

        暫無評論

        暫無評論...
        主站蜘蛛池模板: 热99RE久久精品这里都是精品免费 | 国产亚洲福利一区二区免费看 | 久久狠狠躁免费观看2020| 亚洲精品无码专区久久同性男| 亚洲GV天堂无码男同在线观看| 免费黄网在线观看| 一区二区亚洲精品精华液| 日韩免费a级在线观看| 无码区日韩特区永久免费系列 | 亚洲国产精品国自产拍AV| 巨胸狂喷奶水视频www网站免费| 久久亚洲高清综合| 花蝴蝶免费视频在线观看高清版| 亚洲va久久久噜噜噜久久天堂| 四虎影视在线影院在线观看免费视频| 亚洲av永久无码精品表情包| 久久久久久夜精品精品免费啦| 亚洲精品乱码久久久久久下载 | 又粗又黄又猛又爽大片免费| 男女男精品网站免费观看 | 免费一级毛片不卡在线播放| 国产99久久久国产精免费| 免费人成网站在线观看10分钟| 亚洲人成7777影视在线观看| 爽爽日本在线视频免费| 成人免费网站久久久| 亚洲成A人片在线观看无码不卡| 亚洲黄色免费在线观看| 亚洲国产AV无码一区二区三区| 免费人妻av无码专区| 野花香高清视频在线观看免费| 亚洲成AV人片久久| 免费va在线观看| 亚欧免费无码aⅴ在线观看| 亚洲av永久无码嘿嘿嘿| 免费va人成视频网站全| 91香蕉国产线在线观看免费 | 亚洲国产精品成人综合久久久 | 免费看国产精品麻豆| 亚洲情A成黄在线观看动漫软件| 免费国产a国产片高清|