tensorflow / tensorflow/tflite-support
IllegalArgumentException on running the tflite model on Android
Open
@lu-wang-g is already working on this.
Since Feb 22, 2022.
- Dominant language
- C++
- Stars
- 441
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have a person segmentation model which I have converted to Tflite file, while running this model on some Android phones I am getting these errors -
Fatal Exception: java.lang.IllegalArgumentException
Internal error: Failed to run on the given Interpreter: Input tensor 995 lacks data
Fatal Exception: java.lang.IllegalArgumentException
Internal error: Failed to run on the given Interpreter: Input tensor 869 lacks data
Fatal Exception: java.lang.IllegalArgumentException
Internal error: Failed to run on the given Interpreter: Invalid tensor index 0 (not in [0, 0)) Node number 313 (LOGISTIC) failed to invoke.
I can share the tflite model over the mail if needed.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.