tensorflow / tensorflow/tflite-support

IllegalArgumentException on running the tflite model on Android

Open
#748 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.