Awesome TensorFlow Lite
An awesome list of TensorFlow Lite models, samples, tutorials, tools and learning resources.
1.4k stars189 forks66 entriesLast push Mar 1, 2022 (4 years ago)License Apache-2.0
This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.
General
is a set of tools that help convert and optimize TensorFlow models to run on mobile and edge devices. It's currently running on more than 4 billion devices! With TensorFlow 2.x, you can train a model with tf.Keras, easily convert a model to .tflite and deploy it; or you can download a pretrained…
In 2 lists
Past announcements:
MLIR-based and enables conversion of new classes of models such as Mask R-CNN and Mobile BERT etc., supports functional control flow and better error handling during conversion. Enabled by default in the nightly builds.
Makes mobile development easier (Android sample code).
Create your custom image & text classification models easily in a few lines of code. See below the Icon Classifier for a tutorial by the community.
In 2 lists
It is finally here! Currently limited to transfer learning for image classification only but it's a great start. See the official Android sample code and another one from the community (Blog | Android).
How to use the Hexagon Delegate to speed up model inference on mobile and edge devices. Also see blog post Accelerating TensorFlow Lite on Qualcomm Hexagon DSPs.
Provides a standard for model descriptions which also enables Code Gen and Android Studio ML Model Binding.
Model zoo >TensorFlow Lite models
Pretrained MobileNet v2 and v3 models.
With official Android and iOS examples.
Quantized and floating point variants.
Set "Model format = TFLite" to find TensorFlow Lite models.
In 2 lists
Model zoo >TensorFlow models
Pretrained MobileNet v2 and v3 models.
Ideas and Inspiration
Checkout this repo for sample app ideas and seeking help for your tutorial projects. Once a project gets completed, the links of the TensorFlow Lite model(s), sample code and tutorial will be added to this awesome list.
ML Kit examples
is a mobile SDK that brings Google's ML expertise to mobile developers.
In 2 lists
A tutorial with material design Android (Kotlin) sample - recognize, identify Language and translate text from live camera with ML Kit for Firebase.
A blog post with a Flutter sample code.
A talk with Android (Kotlin) sample code.
Plugins and SDKs
Created by @EdgeImpulse to help you to train TensorFlow Lite models for embedded devices in the cloud.
In 2 lists
A cross platform (mobile, desktop and Edge TPUs) AI pipeline by Google AI. (PM Ming Yong) | MediaPipe examples.
Edge hardware by Google. Coral Edge TPU examples.
Provides a dart API similar to the TensorFlow Lite Java API for accessing TensorFlow Lite interpreter and performing inference in flutter apps. tflite_flutter on pub.dev.
Helpful links
A tool for visualizing models.
A website for benchmarking computer vision models on smartphones.
How to measure model performance on Android and iOS.
How to design machine learning powered features. A good example: ML Kit Showcase App.
Learn how to design human-centered AI products.
A repository showing non-trivial conversion processes and general explorations in TensorFlow Lite.
An Android-based app to profile TensorFlow Lite models and measure its performance on smartphone.
A repository refactors and rewrites all the TensorFlow Lite Android examples which are included in the TensorFlow official website.
A collection of Tensorflow Lite Android example Apps in Kotlin, to show different kinds of kotlin implementation of the example apps
Learning resources >Blog posts
By Khanh LeViet and Luiz Gustavo Martins.
By Sara Robinson, Aakanksha Chowdhery, and Jonathan Huang.
Learning resources >Books
(early access) - By Laurence Moroney (@lmoroney).
By Laurence Moroney (@lmoroney).
Build scalable real-world projects to implement end-to-end neural networks on Android and iOS (GitHub) - By Anubhav Singh (@xprilion) and Rimjhim Bhadani (@Rimjhim28).
By Pete Warden (@petewarden) and Daniel Situnayake (@dansitu).
By Anirudh Koul (@AnirudhKoul), Siddha Ganju (@SiddhaGanju), and Meher Kasam (@MeherKasam).
Learning resources >Videos
Learning resources >Podcasts
Learning resources >MOOCs
Udacity course by Daniel Situnayake (@dansitu), Paige Bailey (@DynamicWebPaige), and Juan Delgado.
Coursera course by Laurence Moroney (@lmoroney).
A series of edX courses created by Harvard in collaboration with Google. Instructors - Vijay Janapa Reddi, Laurence Moroney, and Pete Warden.
Awesome TensorFlow Lite
An awesome list of TensorFlow Lite models, samples, tutorials, tools and learning resources.
TensorFlow Liteis a set of tools that help convert and optimize TensorFlow models to run on mobile and edge devices. It's currently…
Announcement of the new converterMLIR-based and enables conversion of new classes of models such as Mask R-CNN and Mobile BERT etc., supports…
Android Support LibraryMakes mobile development easier (Android sample code).
Model MakerCreate your custom image & text classification models easily in a few lines of code. See below the Icon Classifier for…
On-device trainingIt is finally here! Currently limited to transfer learning for image classification only but it's a great start. See…
Hexagon delegateHow to use the Hexagon Delegate to speed up model inference on mobile and edge devices. Also see blog post…
Model MetadataProvides a standard for model descriptions which also enables Code Gen and Android Studio ML Model Binding.
MobileNetPretrained MobileNet v2 and v3 models.
TensorFlow Lite modelsWith official Android and iOS examples.
Pretrained modelsQuantized and floating point variants.
TensorFlow HubSet "Model format = TFLite" to find TensorFlow Lite models.
MobileNetPretrained MobileNet v2 and v3 models.
E2E TFLite TutorialsCheckout this repo for sample app ideas and seeking help for your tutorial projects. Once a project gets completed,…
ML Kitis a mobile SDK that brings Google's ML expertise to mobile developers.
ML Kit Translate demoA tutorial with material design Android (Kotlin) sample - recognize, identify Language and translate text from live…
Computer Vision with ML Kit - Flutter In Focus.
Flutter + MLKit: Business Card Mail ExtractorA blog post with a Flutter sample code.
From TensorFlow to ML Kit: Power your Android application with machine learningA talk with Android (Kotlin) sample code.
Building a Custom Machine Learning Model on Android with TensorFlow Lite.
ML Kit and Face Detection in Flutter.
ML Kit on Android 4: Landmark Detection.
ML Kit on Android 3: Barcode Scanning.
ML Kit on Android 2: Face Detection.
ML Kit on Android 1: Intro.
Edge ImpulseCreated by @EdgeImpulse to help you to train TensorFlow Lite models for embedded devices in the cloud.
MediaPipeA cross platform (mobile, desktop and Edge TPUs) AI pipeline by Google AI. (PM Ming Yong) | MediaPipe examples.
Coral Edge TPUEdge hardware by Google. Coral Edge TPU examples.
TensorFlow Lite Flutter PluginProvides a dart API similar to the TensorFlow Lite Java API for accessing TensorFlow Lite interpreter and performing…
NetronA tool for visualizing models.
AI benchmarkA website for benchmarking computer vision models on smartphones.
Performance measurementHow to measure model performance on Android and iOS.
Material design guidelines for MLHow to design machine learning powered features. A good example: ML Kit Showcase App.
The People + AI Guide bookLearn how to design human-centered AI products.
Adventures in TensorFlow LiteA repository showing non-trivial conversion processes and general explorations in TensorFlow Lite.
TFProfilerAn Android-based app to profile TensorFlow Lite models and measure its performance on smartphone.
TensorFlow Lite for MicrocontrollersTensorFlow Lite Examples - AndroidA repository refactors and rewrites all the TensorFlow Lite Android examples which are included in the TensorFlow…
Tensorflow-lite-kotlin-samplesA collection of Tensorflow Lite Android example Apps in Kotlin, to show different kinds of kotlin implementation of…
On-device training in TensorFlow LiteOptical character recognition with TensorFlow Lite: A new example appYOLOv3 to TensorFlow Lite ConversionBy Nitin Tiwari.
What is new in TensorFlow LiteBy Khanh LeViet.
Optimizing style transfer to run on mobile with TFLiteBy Khanh LeViet and Luiz Gustavo Martins.
How TensorFlow Lite helps you from prototype to productBy Khanh LeViet.
Getting Started with ML on MCUs with TensorFlowBy Brandon Satrom.
TensorFlow Model Optimization Toolkit — float16 quantization halves model sizeBy the TensorFlow team.
Training and serving a real-time mobile object detector in 30 minutes with Cloud TPUsBy Sara Robinson, Aakanksha Chowdhery, and Jonathan Huang.
Why the Future of Machine Learning is TinyBy Pete Warden.
Using TensorFlow Lite on Android) - By Laurence Moroney.
AI and Machine Learning On-Device Development(early access) - By Laurence Moroney (@lmoroney).
AI and Machine Learning for CodersBy Laurence Moroney (@lmoroney).
Mobile Deep Learning with TensorFlow Lite, ML Kit and FlutterBuild scalable real-world projects to implement end-to-end neural networks on Android and iOS (GitHub) - By Anubhav…
TinyMLBy Pete Warden (@petewarden) and Daniel Situnayake (@dansitu).
Practical Deep Learning for Cloud, Mobile, and EdgeBy Anirudh Koul (@AnirudhKoul), Siddha Ganju (@SiddhaGanju), and Meher Kasam (@MeherKasam).
Contributing to TensorFlow Lite with Sunit Roy(Hacktoberfest 2021)
Android ML by Hoi Lam(GDG Kolkata meetup).
Easy on-device ML from prototype to production(TF Dev Summit 2020).
TensorFlow Lite: ML for mobile and IoT devices(TF Dev Summit 2020).
Keynote - TensorFlow Lite: ML for mobile and IoT devices.
TensorFlow Lite: Solution for running ML on-device.
TensorFlow model optimization: Quantization and pruning.
Inside TensorFlow: TensorFlow Lite.
TensorFlow Lite for Android (Coding TensorFlow).
Talking Machine Learning with Hoi Lam.
Introduction to TensorFlow LiteUdacity course by Daniel Situnayake (@dansitu), Paige Bailey (@DynamicWebPaige), and Juan Delgado.
Device-based Models with TensorFlow LiteCoursera course by Laurence Moroney (@lmoroney).
The Future of ML is Tiny and BrightA series of edX courses created by Harvard in collaboration with Google. Instructors - Vijay Janapa Reddi, Laurence…