Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

converting fastspeech model to tflite #37

Closed
manmay-nakhashi opened this issue Jun 9, 2020 · 6 comments
Closed

converting fastspeech model to tflite #37

manmay-nakhashi opened this issue Jun 9, 2020 · 6 comments
Assignees
Labels
TFLite TFlite question
Projects

Comments

@manmay-nakhashi
Copy link

can we convert Fastspeech model to tflite ?

@dathudeptrai dathudeptrai self-assigned this Jun 9, 2020
@dathudeptrai dathudeptrai added the TFLite TFlite question label Jun 9, 2020
@dathudeptrai dathudeptrai added this to Done in FastSpeech Jun 9, 2020
@dathudeptrai
Copy link
Collaborator

@manmay-nakhashi yes we can, absolutely :)). But it's not straight forward, you need some trick to do that :)) i will let you do :D.

@manmay-nakhashi
Copy link
Author

@dathudeptrai i have tried few things but i am stuck at saved_model not working while using model._build(), can you help me with that ?

@dathudeptrai
Copy link
Collaborator

Hi, i can help you save entire model to pb file. For tflite you need modify a model class :)) eliminate build, inference function and use only call function :)). That is all thing i can help
You now, sorry.

@manmay-nakhashi
Copy link
Author

i can do that

@manmay-nakhashi
Copy link
Author

if you can help me with saving entire model to pb file that would be good. apparently i have been trying from some time but it is not working correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TFLite TFlite question
Projects
FastSpeech
  
Done
Development

No branches or pull requests

2 participants