<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瀏覽人數已經達到544,如你需要查詢該站的相關權重信息,可以點擊"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數字人

        暫無評論

        暫無評論...
        主站蜘蛛池模板: 亚洲gv白嫩小受在线观看| 日本精品人妻无码免费大全| 久久久久亚洲精品天堂| 一道本不卡免费视频| 国产国产人免费视频成69大陆| 亚洲三级视频在线观看| 国产一卡二卡四卡免费| 亚洲精品在线播放| 182tv免费观看在线视频| 亚洲精品第一国产综合精品| 免费人成在线观看69式小视频| 国产成人高清精品免费软件 | 亚洲专区在线视频| 久久免费公开视频| 亚洲国产国产综合一区首页| 91久久成人免费| 亚洲一区AV无码少妇电影| 国外成人免费高清激情视频| 国产成人高清亚洲一区91| 又黄又爽一线毛片免费观看| 精品国产污污免费网站入口| 久久精品a亚洲国产v高清不卡 | 黄色网址大全免费| 亚洲综合国产一区二区三区| 91精品成人免费国产| 亚洲高清日韩精品第一区| 女人与禽交视频免费看| 日韩毛片在线免费观看| 日本亚洲欧洲免费天堂午夜看片女人员| 国产精品免费观看调教网| 亚洲一区二区三区免费观看 | 99久久国产精品免费一区二区| 亚洲精品亚洲人成在线麻豆| 日韩免费高清一级毛片在线| 久久国产乱子伦精品免费午夜| 亚洲精品免费在线| 免费v片在线观看无遮挡| 日本免费电影一区二区| 亚洲精华国产精华精华液好用| 国产亚洲欧洲Aⅴ综合一区 | 国产亚洲人成无码网在线观看 |