<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无码网站大全| 2020亚洲男人天堂精品| 毛片免费观看的视频| 亚洲最大的成人网站| 全免费a级毛片免费**视频| 亚洲熟妇成人精品一区| 噜噜嘿在线视频免费观看| 亚洲av无码成人精品国产| 国产小视频免费观看| 一级特黄录像视频免费| 亚洲中文字幕在线第六区| 韩日电影在线播放免费版| 亚洲精品一品区二品区三品区| 免费a级毛片无码a∨免费软件| 亚洲视频在线播放| 一个人看www在线高清免费看 | 亚洲精品无码不卡在线播放| 成年女人色毛片免费看| 蜜芽亚洲av无码一区二区三区 | 亚洲av永久无码天堂网| 国产免费av片在线播放| 亚洲精品视频免费| 亚洲AV无码码潮喷在线观看| 67pao强力打造国产免费| 亚洲人成网站在线观看播放动漫 | 亚洲第一视频在线观看免费| 99精品免费视品| 亚洲区视频在线观看| 国产免费人成视频在线观看| 香蕉视频在线免费看| 亚洲二区在线视频| 亚洲精品黄色视频在线观看免费资源| a毛片免费观看完整| 亚洲天然素人无码专区| 国内精品久久久久久久亚洲| 亚洲免费视频网址| 男女作爱免费网站| 亚洲国产精品白丝在线观看| 国产伦一区二区三区免费|