margelo / margelo/react-native-fast-tflite

How to train ze models right!?

Open
#90 11 comments 1 reaction 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

Hello Hans and "ze" others,
I was wondering, how you are training models to get ze best results?

Is it possible to use something as simple as Teachable Machines to train a couple of objects, load the model.tflite into my project and then using vision camera have it detect the objects I trained?

I've basically set everything up for that atm, but the camera always only detects the same object, even if it's not showing or I hold other object into the camera.

I've also told AI to make me a model trainer for this based on python, which using tensorflow and things like EfficientNetB0 or MobileNetV2 created models and labels, but here also the same problem came up - it will always just detect one class from the set and nothing else.

Is training my model using Teachable Machines just a really stupid approach? If so what would Brian Boitano do?

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 by reproducing the issue with the model.tflite file, the Vision Camera setup, and the Python trainer described in the report. Compare the trained class labels and model outputs with the object-detection inputs expected by the project. Done means identifying why every input maps to one class and documenting a working training or integration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, react-native, tensorflow, typescript
Domain
machine-learning, mobile-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.