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
Error converting my model trained with TF 2.1rc1 to TFLite #35449
Comments
The new experimental converter flag helps to convert models containing control flow ops in tf lite. # `experimental_new_converter` flag.
converter.experimental_new_converter = True
tflite_model = converter.convert() |
Thanks for the quick help, the problem seems to be solved in the tf-nightly version. I could now convert my Keras model to a TFLite model, see console output:
|
System information
Provide the text output from tflite_convert
Also, please include a link to a GraphDef or the model if possible.
download model
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
GitHub project
Model architecture:
The text was updated successfully, but these errors were encountered: