tensorflow / tensorflow/models
IndexError: invalid index to scalar variable.
Open
@srjoglekar246 is already working on this.
Since Feb 3, 2021.
models:research:odapi
type:support
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I used the eager_few_shot_od_training_tflite.ipynb to train a model then generate a (downloadable) TensorFlow Lite model for on-device inference using the same predefined dataset files(ducky) as described in the notebook. I am able to generated model.tflite file but during testing its giving me error IndexError: invalid index to scalar variable.

I tried to print the values return by the detect function but its all 0.0
Please suggest me what should I do ..

Contributor guide
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.