HF音频有戏ai
padmalcom/tts-tacotron2-german百度流畅ai制作
Text-to-Speech即梦下载官方 (TTSai软件哪个比较好) with Tacotron2 trained on a custom Germanima是什么软件 dataset with 12 days voice using speechbrain快问ai.
Trained for 39 epochs (english speechbrain models are trained for 750 epochs) so there is room for improvement and the model is most likely to be updated soon. The hifigan vocoder can fortunately be used language-independently.ai是什么东西?
How to use
Install speechbrain.百度ai智能云
pip install speechbrain
Generate spectrogram (line 17) and generate wav using hifigan (line 18).做al视频怎么赚钱
import torchaudio
from speechbrain.pretrained import Tacotron2
from speechbrain.pretrained import HIFIGAN
# Intialize TTS (tacotron2) and Vocoder (HiFIGAN)
tacotron2 = Tacotron2.from_hparams(source="padmalcom/tts-tacotron2-german", 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("Die Sonne schien den ganzen Tag.")
# Running Vocoder (spectrogram-to-waveform)
waveforms = hifi_gan.decode_batch(mel_output)
# Save the waverform
torchaudio.save('example_TTS.wav',waveforms.squeeze(1), 22050)
数据统计
数据评估
关于padmalcom/tts-tacotron2-german特别声明
本站菠萝导航提供的padmalcom/tts-tacotron2-german都来源于网络,不保证外部链接的准确性和完整性,同时,对于该外部链接的指向,不由菠萝导航实际控制,在2023年5月15日 下午3:16收录时,该网页上的内容,都属于合规合法,后期网页的内容如出现违规,可以直接联系网站管理员进行删除,菠萝导航不承担任何责任。grok中文版下载
相关导航
暂无评论...即梦al

