radtts hifigan
v1.0
- เข้าร่วมชุมชน Text-to-Speech ของยูเครน: https://t.me/speech_synthesis_uk
โคลนรหัส:
git clone https://github.com/egorsmkv/radtts-hifigan
cd radtts-hifiganติดตั้งการพึ่งพา:
pip install -r requirements.txtดาวน์โหลดรุ่น Ukrainian 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/