I made tflite model with eager_few_shot_od_training_tflite.ipynb but can't use it on flutter project

Viewed 6

I made tflite model with

https://github.com/tensorflow/models/blob/master/research/object_detection/colab_tutorials/eager_few_shot_od_training_tflite.ipynb

but the probem is that I export tflite file that I successfully made in above link , then use it in my flutter object detection api app

https://github.com/hiennguyen92/flutter_realtime_object_detection

then I run it with my tflite model

then it cause error saying

Caused by: java.lang.IllegalArgumentException: Cannot copy from a TensorFlowLite tensor (StatefulPartitionedCall:1) with shape [1, 10] to a Java object with shape [1, 10, 4].

I think it's because of my output of tflite model is like below...?

enter image description here

How can I resolve above error ?

0 Answers
Related