TensorSpeech / TensorFlowTTS

:stuck_out_tongue_closed_eyes: TensorFlowTTS: Real-Time State-of-the-art Speech Synthesis for Tensorflow 2 (supported including English, French, Korean, Chinese, German and Easy to adapt for other languages)
https://tensorspeech.github.io/TensorFlowTTS/
Apache License 2.0
3.84k stars 815 forks source link

FastSpeech2 saved_model fails #109

Closed sujeendran closed 4 years ago

sujeendran commented 4 years ago

Hi @dathudeptrai, I am trying to save fastspeech2 same as fastspeech and it always fails. Here is my code: image

And this is the error I'm getting: image

I tried passing a concrete function with arguments too. Still can't get it done. I faced similar issue when working on newer versions of tensorflow. But I am using tf2.2 now and I am able to save fs1. Only issue is with FastSpeech2

dathudeptrai commented 4 years ago

@sujeendran fixed, feel free to reopen.