margelo / margelo/react-native-fast-tflite

Error: Failed to create TFLite interpreter from model

Open
#65 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.2k
Forks
92
Avg merge
13h 9m
Merged PRs (30d)
2

Description

I am trying to load the tensor flow model but its giving me the below error, I have my pose-detection.tflite in assets/pose-detection

error: Failed to load Tensorflow Model 3! [Error: Failed to create TFLite interpreter from model "http://192.168.1.10:8081/assets/?unstable_path=.%2Fassets%2Fpose-detection/pose-detection.tflite?platform=ios&hash=361a28992b649751d6d66cd8cfb1e2a6"!]

I tried both true and false inside the app.config.ts file.

'react-native-fast-tflite',
{
enableCoreMLDelegate: false/true,
}

Contributor guide

Open the contributing guide

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.

Research direction

Start with app.config.ts and the assets/pose-detection/pose-detection.tflite path, then reproduce the iOS model-loading error shown in the issue. Check whether the packaged asset can be used to create the TFLite interpreter with both enableCoreMLDelegate settings. Done means the reported model loads successfully or the failure has a documented, reproducible cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
machine-learning, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.