-
Notifications
You must be signed in to change notification settings - Fork 68
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
If it is possible to convert the saved model to tflite model? #14
Comments
I tried this conversion briefly as well but apparently some operation is not compatible with tflite. I'll keep this open for now. |
With the new models version (TF2), the mentioned operations are still incompatible? I'm new to this world and I don't understand much but I tried to convert like this: |
Can you let me know what your use case would be? The big model needs a powerful GPU anyway, so it's not like you can deploy it easily on some lightweight embedded device. I'll try looking into it though. |
I'm writing an android app to evaluate pose differences for a university project. I posted the previous code as example but this error came out also with using the MobileNet model. |
@Nick22ll
|
@tobibaum thank you very much! |
Since this is still open I will confirm that the method that @tobibaum proposed is not working because of two operators that are not supported by tflite (Cross and ResizeArea) that would need to be implemented as custom operators. I think that there is a way to overcome ResizeArea by fixing the input size of the signature and modifying the parameters used in the prediction, but I could not figure out a way to get around Cross, if you have any idea I am open to suggeestions :D |
I downloaded the single person from here
And want to convert the saved model to tflite model by
tflite converter
:then it crashed and the log is
Did I miss something while converting?
Thanks for you good job ~~~
The text was updated successfully, but these errors were encountered: