am15h / tflite_flutter_plugin

TensorFlow Lite Flutter Plugin
https://pub.dev/packages/tflite_flutter
Apache License 2.0
508 stars 353 forks source link

Using tflite with tflite_flutter package make conflict with tensorflowliteC.framework #134

Closed AhmedMahhmoud closed 3 years ago

AhmedMahhmoud commented 3 years ago

Using tflite with tflite_flutter package make conflict with tensorflowliteC.framework how can i fix it as i need both packages?
or someone tell me how can i use applyModelOnimage function from tflite to tflite_flutter

am15h commented 3 years ago

I was unable to find any solution for this issue on the internet. The only way people seem to be solving this is by remove one of the packages.

As far as your use case is concerned, I think it would be sufficient for you to just use tflite_flutter and drop tflite package, as tflite_flutter offers a much larger set of features. You may want to refer to examples as well. https://github.com/am15h/tflite_flutter_plugin#examples

AhmedMahhmoud commented 3 years ago

I was unable to find any solution for this issue on the internet. The only way people seem to be solving this is by remove one of the packages.

As far as your use case is concerned, I think it would be sufficient for you to just use tflite_flutter and drop tflite package, as tflite_flutter offers a much larger set of features. You may want to refer to examples as well. https://github.com/am15h/tflite_flutter_plugin#examples

Hello thanks for reply ,I want to drop the tflite package indeed but If you can help me please, i have a model which contains the labels (only two labels )and another one for the data , but the output prediction is wrong it gives the same output every time and not even changing