radtts hifigan
v1.0
?加入烏克蘭文本到語音社區:https://t.me/speech_synthesis_uk
克隆代碼:
git clone https://github.com/egorsmkv/radtts-hifigan
cd radtts-hifigan安裝依賴項:
pip install -r requirements.txt下載烏克蘭Radtts和Hifigan車型:
mkdir models
cd models
wget https://github.com/egorsmkv/radtts-hifigan/releases/download/v1.0/hifi_config.json
wget https://github.com/egorsmkv/radtts-hifigan/releases/download/v1.0/hifi_vocoder.pt
wget https://github.com/egorsmkv/radtts-istftnet/releases/download/v1.0/RADTTS-Lada.pt然後,您可以通過以下命令推斷自己的文本:
python3 inference.py -c config_ljs_dap.json -r models/RADTTS-Lada.pt -t test_sentences.txt --vocoder_path models/hifi_vocoder.pt --vocoder_config_path models/hifi_config.json -o results/