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

TensorFlow version at tflite_flutter plugin

Open padmanabanSampath opened this issue 1 year ago • 6 comments

what is the version of tensorflow in tflite_flutter plugin, the interpreter at collab and kaggle successfully loads the tflite model and running the inference, but at the same time BUILTIN OPS FULLY-CONNECTED error pops at tflite_flutter. what is the workaround to this

padmanabanSampath avatar Oct 30 '24 17:10 padmanabanSampath

https://github.com/tensorflow/flutter-tflite/blob/main/android/build.gradle#L64

2.11 for now.

PaulTR avatar Oct 30 '24 17:10 PaulTR

any workaround for changing 2.11 to 2.17?, It will be helpfull

padmanabanSampath avatar Oct 31 '24 03:10 padmanabanSampath

@padmanabanSampath you can fork this repo and set the version for android here For desktop platforms, you need to build the library yourself see here

CaptainDario avatar Nov 13 '24 23:11 CaptainDario

i will try,thanks for your reply

padmanabanSampath avatar Nov 14 '24 02:11 padmanabanSampath

did you succed? This seems to just change the version of the dart package but not of tensorflow

andresgd7 avatar Nov 29 '24 06:11 andresgd7

Actually I dont have time for this, I used ncnn, some native codes , and platform channels to achieve it.basically the error is if we use tf2.17 while converting , i wont work.If we downgrade to tf2.11 and convert , we can use this interpreter.

padmanabanSampath avatar Nov 29 '24 07:11 padmanabanSampath