flutter-tflite icon indicating copy to clipboard operation
flutter-tflite copied to clipboard

tfilte inference collab different than mobile

Open nelzaatari opened this issue 2 years ago • 2 comments

Hi,

i have trained "ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8" on a custome dataset using collab, the tflite model works fine on collab but loading it in flutter gives totally much less accurate results, the result given using object detection sample app doesnt make since,

for example:

tflite inference run on collab:

Screenshot 2023-09-25 at 12-36-26 Google Colaboratory

but running it on a flutter app gives this result Untitled

what could be the reason, where i should be looking at

thanks you for any insights

nelzaatari avatar Sep 25 '23 09:09 nelzaatari

@nelzaatari are you detecting this in realtime?? what packages you are using for this?

Priyanshu078 avatar Sep 27 '23 07:09 Priyanshu078

same issue too

I got two models (both export from yolov8).

they run on two platform (python with kaggle and tflite_flutter with flutter).

model1 is all right , python and flutter inference both output same result but model2 run on flutter is different then python(kaggle)

einsitang avatar Aug 02 '24 09:08 einsitang