keithito / tacotron

A TensorFlow implementation of Google's Tacotron speech synthesis with pre-trained model (unofficial)
MIT License
2.96k stars 956 forks source link

Freezing the model for deployment #370

Open gautam247gk opened 2 years ago

gautam247gk commented 2 years ago

Hi @keithito, I have successfully trained a model and tested it out using the demo server.py . I am pretty new to TensorFlow and machine learning, id like to know how I can export the model checkpoints to a frozen model so that I can use it with something like tfjs on a browser for integration with a chat bot. It would be really helpful if you could help out with a guide to freeze the model. I tried using this code : https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc but i ran into issue with output nodes.