Views
No views yet
k=100.pip install speechbrain transformers==4.28.01from speechbrain.pretrained import UnitHIFIGAN
2
3hifi_gan_unit = UnitHIFIGAN.from_hparams(source="speechbrain/hifigan-unit-hubert-l6-k100-ljspeech")
4codes = torch.randint(0, 99, (100,))
5waveform = hifi_gan.decode_unit(codes)
6run_opts={"device":"cuda"} when calling the from_hparams method.@misc{SB2021,
author = {Ravanelli, Mirco and Parcollet, Titouan and Rouhe, Aku and Plantinga, Peter and Rastorgueva, Elena and Lugosch, Loren and Dawalatabad, Nauman and Ju-Chieh, Chou and Heba, Abdel and Grondin, Francois and Aris, William and Liao, Chien-Feng and Cornell, Samuele and Yeh, Sung-Lin and Na, Hwidong and Gao, Yan and Fu, Szu-Wei and Subakan, Cem and De Mori, Renato and Bengio, Yoshua },
title = {SpeechBrain},
year = {2021},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\\\\url{https://github.com/speechbrain/speechbrain}},
}