<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數字人

        暫無評論

        暫無評論...
        主站蜘蛛池模板: 激情综合亚洲色婷婷五月| 亚洲一区二区三区免费视频| 亚洲欧美自偷自拍另类视| 久久亚洲AV无码精品色午夜麻豆| 亚洲AV无码精品色午夜果冻不卡| 亚洲电影中文字幕| 男女作爱在线播放免费网站| 亚洲精品成人无码中文毛片不卡| 久久免费99精品国产自在现线 | 2022国内精品免费福利视频 | 亚洲美女视频网址| 亚洲免费闲人蜜桃| 免费人成在线观看网站视频| 激情小说亚洲色图| 亚洲伊人久久综合影院| 亚洲剧场午夜在线观看| 成年女人男人免费视频播放| 亚洲精品乱码久久久久久蜜桃不卡 | 特黄特色的大片观看免费视频| 久久久久噜噜噜亚洲熟女综合 | 亚洲AV成人一区二区三区观看| 热久久这里是精品6免费观看| 亚洲高清中文字幕免费| 亚洲已满18点击进入在线观看| 国产无遮挡又黄又爽免费视频 | 99久9在线|免费| 免费国产不卡午夜福在线 | 亚洲另类春色国产精品| 日韩免费观看一级毛片看看| 深夜福利在线免费观看| 五月婷婷综合免费| 精品国产亚洲第一区二区三区| 在线日韩日本国产亚洲| 亚洲毛片在线免费观看| 亚洲动漫精品无码av天堂| 100000免费啪啪18免进| 美女被吸屁股免费网站| 久久久久亚洲AV成人无码| 午夜高清免费在线观看| 九九热久久免费视频| 亚洲AV无码久久久久网站蜜桃 |