Truku TTS
自 https://github.com/fatchord/WaveRNN 來訓練。
- dobi
- docker
- docker-compose
- 設定docker權限
sudo usermod -aG docker $USER
dobi tsuan-pianma
,wave降做16kHz,合成較緊。dobi preprocess-tacotron
,產生tactorn格式docker compose -f docker-compose-gpu-hunlian.yml build
,準備Tacotron dockerdocker compose -f docker-compose-gpu-hunlian.yml run hunlian-tacotron
,訓練Tacotron模型(CPU訓練:dobi tacotron
)dobi tacotron-gta
,Tī tacotron訓練中,產生gta檔案dobi preprocess-wavernn
,照gta檔案,產生wavernn需要êdataset.pkl
dobi wavernn
,訓練WaveRNN模型dobi huatsiann
,合成語句
dobi hokbu-khuanking
# GPU
docker run --rm -ti -e CUDA_VISIBLE_DEVICES=1 -v `pwd`/kiatko:/kiatko -p 5000:5000 suisiann-wavernn:SuiSiann-WaveRNN-HokBu-fafoy
# CPU
docker run --rm -ti -e FORCE_CPU=True -v `pwd`/kiatko:/kiatko -p 5000:5000 suisiann-wavernn:SuiSiann-WaveRNN-HokBu-fafoy