flutter_tflite icon indicating copy to clipboard operation
flutter_tflite copied to clipboard

The plugin `tflite` uses a deprecated version of the Android embedding.

Open dia1128 opened this issue 3 years ago • 54 comments

I am following the official documents to install tflite. The version I am using is, tflite: 1.0.4. Please help me with this issue.

dia1128 avatar Sep 17 '21 02:09 dia1128

It is only considered a failure in newer versions of Flutter, V1 embedding is still allowed in Flutter v2.2.3. Download an older version of Flutter or try: flutter downgrade v2.2.3 Hope it works!

erikbg7 avatar Sep 24 '21 16:09 erikbg7

Downgrading flutter is not really a solution. When you will migrate tflite ?

Mmisiek avatar Sep 24 '21 22:09 Mmisiek

@erikbg7 Is there any other way around instead of migrating tflite?

dia1128 avatar Sep 27 '21 17:09 dia1128

@shaqian any updates?

vanshg395 avatar Sep 29 '21 10:09 vanshg395

Looks like they discontinued this plugin.

Puspharaj avatar Oct 19 '21 19:10 Puspharaj

@Puspharaj you mean, we can’t use this plugin with flutter anymore?

dia1128 avatar Oct 19 '21 20:10 dia1128

I switched to flutter_tflite

MichalOneNav avatar Oct 19 '21 20:10 MichalOneNav

@Puspharaj you mean, we can’t use this plugin with flutter anymore?

I had to downgrade all the plugins and flutter to 2.2.3 to get it worked!, But I lost most of the other plugins features because of this plugin, Will give it a try, if not working then will discontinue the project.

Puspharaj avatar Oct 20 '21 03:10 Puspharaj

I switched to flutter_tflite

tflite_flutter is ok but the boiler plate code, driving me crazy, I'd already downgraded to flutter 2.2.3. Lets see.

Puspharaj avatar Oct 20 '21 03:10 Puspharaj

It works great with flutter tflite helper plugin.

On Tue, Oct 19, 2021, 20:17 Puspharaj @.***> wrote:

I switched to flutter_tflite

tflite_flutter is ok but the boiler plate code, driving me crazy, I'd already downgraded to flutter 2.2.3. Lets see.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/shaqian/flutter_tflite/issues/224#issuecomment-947285839, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABC7O4O3LSBC2LNE2GB5JLDUHYYFFANCNFSM5EGBHJSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Mmisiek avatar Oct 20 '21 04:10 Mmisiek

Though downgrade it to 2.2.3, Unfortunately Missing plugin exception were thrown, So now tflite plugin is useless, needless to say.

Puspharaj avatar Oct 21 '21 05:10 Puspharaj

is there any update on this?

innerk avatar Nov 22 '21 20:11 innerk

any update ?

nawzhin95 avatar Dec 22 '21 19:12 nawzhin95

Nope still not updated by her. Looks she gone away forever. Maybe we need to create new plugin.

On Thu, Dec 23, 2021, 00:39 Nawzhin @.***> wrote:

any update ?

— Reply to this email directly, view it on GitHub https://github.com/shaqian/flutter_tflite/issues/224#issuecomment-999802539, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDOL56VIVS7QQDZFSSCPYTUSIPABANCNFSM5EGBHJSA . You are receiving this because you were mentioned.Message ID: @.***>

Puspharaj avatar Dec 23 '21 03:12 Puspharaj

hey @nawzhin95 @Puspharaj , i change to https://pub.dev/packages/tflite_flutter it's working really well

innerk avatar Dec 23 '21 13:12 innerk

I switched to flutter_tflite

can u tell me how the run model using this package??

nitinverma-121 avatar Jan 02 '22 17:01 nitinverma-121

any updates??

nitinverma-121 avatar Jan 05 '22 23:01 nitinverma-121

nope! discontinued seems!

Puspharaj avatar Jan 06 '22 05:01 Puspharaj

So what is recommended to use from now on if you want to use tensorflow long term on flutter?

smartkanak avatar Jan 15 '22 00:01 smartkanak

All of my old projects where I used tflite is not working. I am using tflite_flutter 0.9.0. Which is working good so far. This repository --> https://github.com/am15h/tflite_flutter_plugin helped a lot. If anyone was able to use tflite, please let us know!

dia1128 avatar Jan 19 '22 22:01 dia1128

Anything new? Is there any way to use this plugin?

dejduu avatar Mar 07 '22 15:03 dejduu

hey @nawzhin95 @Puspharaj , i change to https://pub.dev/packages/tflite_flutter it's working really well

@innerk Please how did you do that. I am finding it difficult to migrate it. I will appreciate it if you can guide me more. Thanks.

Ifeanyi10 avatar Mar 08 '22 12:03 Ifeanyi10

@Ifeanyi10 hey, you have to install this 2 packages tflite_flutter: tflite_flutter_helper:

follow the examples and tell me if you have any problem

innerk avatar Mar 08 '22 14:03 innerk

flutter downgrade v2.2.3

@innerk Thanks for your prompt response. I have installed the two packages and also checked the examples on pub.dev but I am still finding it difficult to implement pose detection. Please can I meet you for about 20 minutes at your free time. We can meet on LinkedIn, Zoom, or any other platform you are okay with. Thanks.

Ifeanyi10 avatar Mar 08 '22 15:03 Ifeanyi10

@Ifeanyi10 no problem, add me on google meet [email protected]

innerk avatar Mar 08 '22 16:03 innerk

Finally, what is the best package to use tensorflow...

andrySD avatar Mar 16 '22 12:03 andrySD

hey @nawzhin95 @Puspharaj , i change to https://pub.dev/packages/tflite_flutter it's working really well @innerk I'm having a problem..when i traid to execute .bat file for window i see a message that say Failed to connect to github.com port 443 after 35 ms: Bad access.

When i traid to enter to this page https://github.com/am15h/tflite_flutter_plugin/releases/download/ i got a 404 error...what i can do?

andrySD avatar Mar 16 '22 20:03 andrySD

@AndryCU Well, i dont know because im not in sight, but i will try to help you anyway. Download this file i attached (depends if it is what you want to download but i guess so), put this into your root of your project, then go to cmd, find root of your project and type install.bat, it should download files (dynamic libraries) you want to. Or you can just replace any .bat file and do that the same way.

install.zip

dejduu avatar Mar 16 '22 21:03 dejduu

@dejduu same error...look, if you open the file, you can see that it's train to load this page https://github.com/am15h/tflite_flutter_plugin/releases/download/ and if you click it you will see a 404 error..i think that's the problem..

andrySD avatar Mar 16 '22 21:03 andrySD

@AndryCU Ok i understand, but what is your purpose? I think i dont understand what are you trying to achieve. If you are trying to add dynamic libraries which are required, then my guide should work and i need more details of your problem. You can read more here https://pub.dev/packages/tflite_flutter.

dejduu avatar Mar 16 '22 21:03 dejduu