deploying models in IOS and Android

3 views
Skip to first unread message

Thierno Ibrahima DIOP

unread,
Dec 4, 2020, 10:17:43 AM12/4/20
to mlwg-...@googlegroups.com
Hi people, I am willing to deploy a tflite model into ios and android but don't want to do the mobile development in both ios and android, is it recommended to deploy the model with cross platform development tools like react-native or flutter.
Best Regards.

Sun Aries

unread,
Dec 5, 2020, 11:46:04 PM12/5/20
to Thierno Ibrahima DIOP, mlwg-...@googlegroups.com
Hi,
I'm working on it, too. I'm trying to do somethings with C++ TFLite API and we can just write adapter for different platforms if we have C/C++ implementation of our AI.

Here is my example repo:
https://github.com/SunAriesCN/image-classifier

If anyone is also interested, we can collaborate with each other by leave your contact info on the first issue in my repo.

Best,
Sun Aries

--
You received this message because you are subscribed to the Google Groups "ML on Mobile OS Working Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mlwg-mobile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mlwg-mobile/CAC45uA2Xw%3DVyTTRkXniAd9Z6tgq5rmdnEV92U4NfJwtmec2iCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Sayak Paul

unread,
Dec 5, 2020, 11:55:47 PM12/5/20
to Sun Aries, Kshitiz Rimal, Thierno Ibrahima DIOP, ML on Mobile OS Working Group
Adding @Kshitiz Rimal who has experience deploying DL models in Flutter applications. 
Sayak Paul | sayak.dev



Kshitiz Rimal

unread,
Dec 6, 2020, 12:11:03 AM12/6/20
to Thierno Ibrahima DIOP, Sayak Paul, Sun Aries, ML on Mobile OS Working Group
Thanks @Sayak for the mention.

Hello Thierno,

I have some experience with flutter deployment. I didn’t experience any issues for my particular deployment with flutter. At that time, the flutter plugin for TFLite was limited but now there are many options in flutter to deploy different types of models, not just computer vision related model. 

I deployed few computer vision related models using TFLITE plugin.  Now there is also a new plugin, haven’t checked out this TFLite_Flutter plugin yet but it seems promising as it allows us to play with input and output shapes giving us flexibility to play with different types of model.

Flutter is really nice when it comes to cross platform app development and its really easy to integrate TFLITE with flutter apps. I would suggest you to give it a try.

Here is the repo that contains source-code for TFLITE models which uses flutter for deployment. 


Good Luck!

Regards,
Kshitiz

Kshitiz Rimal

unread,
Dec 6, 2020, 12:13:43 AM12/6/20
to Thierno Ibrahima DIOP, Sayak Paul, Sun Aries, ML on Mobile OS Working Group
In addition to my previous mail.

If you need a video tutorial, here is the link to my video presentation which shows how you can integrate image classification model using flutter.


Regards,
Kshitiz 

Thierno Ibrahima DIOP

unread,
Dec 7, 2020, 4:45:59 AM12/7/20
to Kshitiz Rimal, Sayak Paul, Sun Aries, ML on Mobile OS Working Group
Hi people, thanks a lot for the resources, I will go through them and let you know my findings. I saw that also with firebase one can update models without updating the app, will check if models deployed with flutter are also compatible with firebase.
Reply all
Reply to author
Forward
0 new messages