-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Tensorflow lite in Android App #67699
Comments
hi @LiangZhaoSRA , If possible , can you share me the .tflite file please |
@sawantkumar Attaches is the tflite file. Thanks. |
Hi @LiangZhaoSRA , I inspected your model using custom code and I found out that your model has dynamic sized tensors . If possible can you provide me the model conversion code.
|
Hi Sawant, |
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.3
Custom code
Yes
OS platform and distribution
Ubuntu 20.04
Mobile device
Galaxy S24
Python version
3.8
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Got the following error when try to run a tflite model on GPU:
W/System.err(30515): Ignoring failed delegate application: java.lang.IllegalArgumentException: Internal error: Failed to apply delegate: Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors.
When I visualize the model using Netron, there is no dynamic-sized tensor (see attached file).
Standalone code to reproduce the issue
Relevant log output
The text was updated successfully, but these errors were encountered: