fatchord / WaveRNN

WaveRNN Vocoder + TTS
https://fatchord.github.io/model_outputs/
MIT License
2.13k stars 698 forks source link

Tacotron to Onnx #243

Open manuel3265 opened 2 years ago

manuel3265 commented 2 years ago

Hello, thank you very much for the work, I just have a question. How can I convert the Tacotron 2 model to onnx?

wqt2019 commented 2 years ago

you need to split tacotron2 model for three onnx model. convert the encoder of t2 to onnx model1, convert the attention + decoder of t2(autoregressive part, don't include 'for' or 'while' code) to onnx model2, convert post-net of t2 to onnx model3.