Skip to content
50

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

TensorFlow Lite

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:

Announcement of the new converter

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.

Android Support Library

Makes mobile development easier (Android sample code).

Model Maker

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

On-device training

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).

Hexagon delegate

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.

In 23 listsDetails

Model Metadata

Provides a standard for model descriptions which also enables Code Gen and Android Studio ML Model Binding.

Model zoo >TensorFlow Lite models

MobileNet

Pretrained MobileNet v2 and v3 models.

In 12 listsDetails

TensorFlow Lite models

With official Android and iOS examples.

Pretrained models

Quantized and floating point variants.

TensorFlow Hub

Set "Model format = TFLite" to find TensorFlow Lite models.

In 2 lists

Model zoo >TensorFlow models

MobileNet

Pretrained MobileNet v2 and v3 models.

In 12 listsDetails

Ideas and Inspiration

E2E TFLite Tutorials

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

ML Kit

is a mobile SDK that brings Google's ML expertise to mobile developers.

In 2 lists

ML Kit Translate demo

A tutorial with material design Android (Kotlin) sample - recognize, identify Language and translate text from live camera with ML Kit for Firebase.

Computer Vision with ML Kit - Flutter In Focus

.

Flutter + MLKit: Business Card Mail Extractor

A blog post with a Flutter sample code.

From TensorFlow to ML Kit: Power your Android application with machine learning

A 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

.

Plugins and SDKs

Edge Impulse

Created by @EdgeImpulse to help you to train TensorFlow Lite models for embedded devices in the cloud.

In 2 lists

MediaPipe

A cross platform (mobile, desktop and Edge TPUs) AI pipeline by Google AI. (PM Ming Yong) | MediaPipe examples.

Coral Edge TPU

Edge hardware by Google. Coral Edge TPU examples.

TensorFlow Lite Flutter Plugin

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.

Netron

A tool for visualizing models.

In 15 listsDetails

AI benchmark

A website for benchmarking computer vision models on smartphones.

Performance measurement

How to measure model performance on Android and iOS.

Material design guidelines for ML

How to design machine learning powered features. A good example: ML Kit Showcase App.

The People + AI Guide book

Learn how to design human-centered AI products.

Adventures in TensorFlow Lite

A repository showing non-trivial conversion processes and general explorations in TensorFlow Lite.

TFProfiler

An Android-based app to profile TensorFlow Lite models and measure its performance on smartphone.

TensorFlow Lite for Microcontrollers

TensorFlow Lite Examples - Android

A repository refactors and rewrites all the TensorFlow Lite Android examples which are included in the TensorFlow official website.

Tensorflow-lite-kotlin-samples

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

On-device training in TensorFlow Lite

Optical character recognition with TensorFlow Lite: A new example app

YOLOv3 to TensorFlow Lite Conversion

By Nitin Tiwari.

What is new in TensorFlow Lite

By Khanh LeViet.

Optimizing style transfer to run on mobile with TFLite

By Khanh LeViet and Luiz Gustavo Martins.

How TensorFlow Lite helps you from prototype to product

By Khanh LeViet.

Getting Started with ML on MCUs with TensorFlow

By Brandon Satrom.

TensorFlow Model Optimization Toolkit — float16 quantization halves model size

By the TensorFlow team.

Training and serving a real-time mobile object detector in 30 minutes with Cloud TPUs

By Sara Robinson, Aakanksha Chowdhery, and Jonathan Huang.

Why the Future of Machine Learning is Tiny

By Pete Warden.

Using TensorFlow Lite on Android

) - By Laurence Moroney.

Learning resources >Books

AI and Machine Learning On-Device Development

(early access) - By Laurence Moroney (@lmoroney).

AI and Machine Learning for Coders

By Laurence Moroney (@lmoroney).

Mobile Deep Learning with TensorFlow Lite, ML Kit and Flutter

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).

TinyML

By Pete Warden (@petewarden) and Daniel Situnayake (@dansitu).

Practical Deep Learning for Cloud, Mobile, and Edge

By Anirudh Koul (@AnirudhKoul), Siddha Ganju (@SiddhaGanju), and Meher Kasam (@MeherKasam).

Learning resources >Videos

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)

.

Learning resources >Podcasts

Talking Machine Learning with Hoi Lam

.

Learning resources >MOOCs

Introduction to TensorFlow Lite

Udacity course by Daniel Situnayake (@dansitu), Paige Bailey (@DynamicWebPaige), and Juan Delgado.

Device-based Models with TensorFlow Lite

Coursera course by Laurence Moroney (@lmoroney).

The Future of ML is Tiny and Bright

A series of edX courses created by Harvard in collaboration with Google. Instructors - Vijay Janapa Reddi, Laurence Moroney, and Pete Warden.

See category
94

Table of Contents

hesreallyhim/awesome-claude-code

A hand-picked collection of the finest of resources for the most awesome of agents, Claude Code, the undisputed champion of coding companions, from the unstoppable team…

Fresh★ 55k202 entriesPushed today
94

Awesome Mac

jaywcjlove/awesome-mac

 This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

Fresh★ 115k1316 entriesPushed today
94

Awesome Agent Skills

VoltAgent/awesome-agent-skills

A curated collection of 1000+ agent skills from official dev teams and the community, compatible with Claude Code, Codex, Gemini CLI, Cursor, and more.

Fresh★ 35k839 entriesPushed today
93

Awesome Machine Learning

josephmisiti/awesome-machine-learning

A curated list of awesome Machine Learning frameworks, libraries and software.

Fresh★ 74k1188 entriesPushed 7 days ago
92

Awesome Production Machine Learning

EthicalML/awesome-production-machine-learning

A curated list of awesome open source libraries to deploy, monitor, version and scale your machine learning

Fresh★ 21k519 entriesPushed 3 days ago
92

AWESOME DATA SCIENCE

academic/awesome-datascience

:memo: An awesome Data Science repository to learn and apply for real world problems.

Fresh★ 30k881 entriesPushed today