SlideShare a Scribd company logo
Tensorflow for IoT
GEETA CHAUHAN JUNE, 2017
Agenda
 Era of AI First: What does it mean for IoT?
 What is Deep Learning?
 Use Cases for IoT
 Tensorflow for IoT
 Optimizations for IoT
 Common Problem Solutions
 Look into the Future
 References
Era of AI First
 Billions of connected devices
 Intelligence at the Edge
 Increasing Computation power
 Edison: 500 MHz, 1 GB RAM
 RPi3: 1.2 GHz Quad-core
 Deep neural networks running
on the IoT device
 Local inferencing →
compressed insights to cloud
What is
Deep
Learning?
 AI Neural Networks
composed of many
layers
 Learn like humans
 Automated Feature
Learning
 Layers are like Image
Filters
Use Cases
for IoT
 Cucumber sorter
 Real time arrival prediction for Caltrains
 Wearable assistant for Blind (Horus)
 Smart cameras, smart door lock
 Human line counter
 Real time exercise score on smart watch
 Creative Arts, Music Generators
 Self driving cars, Intelligent Robots
Cucumber
Sorter
Caltrain Rider
 Realtime Caltrain arrival
prediction
 Audio Visual pipeline on
Raspberry pi
 Image classification for
Caltrains
Tensorflow
for IoT
 Compile from source
 Android Things Tensorflow Inference Library (in
preview now)
 Tensorflow Lite (Announced @Google IO for
later this year)
Tensorflow IoT Pipeline
Inference on DeviceTrain Model in Cloud
Tensorflow
Android Things
 Add Tensorflow Inferencing
library
 Create Inference object,
load model
 feed() image, run() to predict
 fetch() to get classification
result
Demo
Intel Edison + Seed Studio Kit Raspberry Pi + Pi Camera
Transfer
Learning
Transfer Learning – New Classifier
Inception V3
Optimizations
 Graph Transform Tool
 Freeze graph (variables to constants)
 Quantize weights (20 M weights for IV3)
 Quantization (32 bit float → 8 bit float)
 Memory Mapping
 Inception v3 93 MB → 1.5 MB
Common Problem Solutions
 Tensorboard is your friend – X-Ray vision
 Image size mismatch for the input tensor
 Output classifier specify correct number of classes from your model
 Model too large – Load in memory
 Missing ops -- Graph transform tool
 Device heating up under heavy processing load
 Split the model, do part detection on device, rest in cloud
 Reduce the frequency eg only do on movement detection
Look into the Future
 Hardware: Neural Network Chips
 Software: Tensorflow Lite (Android NN)
Intel Fathom Neural Stick Nvidia Jetson
References
 Tensorflow for Android Things Sample
 Tensorboard hands-on
 Graph Transform Tool
 Tensorflow for Poets (Transfer learning)
 Tensorflow for Poets2 (Optimizations for Mobile/IoT)
 Cucumber Farmer Deep Learning Story
 Caltrain Rider story
 Intel Fathom Neural Stick
 Nvidia Jetson
Questions?
Contact
https://www.linkedin.com/
in/geetachauhan/
geeta@svsg.co

More Related Content

PDF
Transfer learning for IoT
PDF
Tensorflow IoT - 1 Wk coding challenge
PDF
Distributed deep learning optimizations
PDF
Distributed deep learning optimizations for Finance
PDF
Deep learning for FinTech
PDF
Intel optimized tensorflow, distributed deep learning
PDF
Best Practices for On-Demand HPC in Enterprises
PDF
NIPS - Deep learning @ Edge using Intel's NCS
Transfer learning for IoT
Tensorflow IoT - 1 Wk coding challenge
Distributed deep learning optimizations
Distributed deep learning optimizations for Finance
Deep learning for FinTech
Intel optimized tensorflow, distributed deep learning
Best Practices for On-Demand HPC in Enterprises
NIPS - Deep learning @ Edge using Intel's NCS

What's hot (20)

PDF
Distributed deep learning optimizations - AI WithTheBest
PDF
Deep learning: Hardware Landscape
PDF
Deep learning @ Edge using Intel's Neural Compute Stick
PDF
Deep Learning Update May 2016
PDF
Faster deep learning solutions from training to inference - Michele Tameni - ...
PPTX
Tensorflow
PDF
Team Jarvis Poster
PDF
Affordable AI Connects To A Better Life
PDF
On-device machine learning: TensorFlow on Android
PPTX
Big data app meetup 2016-06-15
PDF
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
PPTX
AI Hardware
PDF
#OSSPARIS19 - Computer Vision framework for GeoSpatial Imagery: RoboSat.pink ...
PDF
Introduction to multi gpu deep learning with DIGITS 2 - Mike Wang
PDF
Introduction To Machine Learning and Neural Networks
PDF
Introduction to Deep Learning (NVIDIA)
PDF
DIANNE - A distributed deep learning framework on OSGi - Tim Verbelen
PPTX
PowerAI Deep dive
PDF
On-Device AI
PDF
The Revolution of Deep Learning
Distributed deep learning optimizations - AI WithTheBest
Deep learning: Hardware Landscape
Deep learning @ Edge using Intel's Neural Compute Stick
Deep Learning Update May 2016
Faster deep learning solutions from training to inference - Michele Tameni - ...
Tensorflow
Team Jarvis Poster
Affordable AI Connects To A Better Life
On-device machine learning: TensorFlow on Android
Big data app meetup 2016-06-15
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
AI Hardware
#OSSPARIS19 - Computer Vision framework for GeoSpatial Imagery: RoboSat.pink ...
Introduction to multi gpu deep learning with DIGITS 2 - Mike Wang
Introduction To Machine Learning and Neural Networks
Introduction to Deep Learning (NVIDIA)
DIANNE - A distributed deep learning framework on OSGi - Tim Verbelen
PowerAI Deep dive
On-Device AI
The Revolution of Deep Learning
Ad

Similar to Tensorflow for IoT (20)

PDF
"Imaging + AI: Opportunities Inside the Car and Beyond," a Presentation from ...
PPTX
An introduction to AI (artificial intelligence)
PPTX
Computer vision, machine, and deep learning
PDF
AIoT: Intelligence on Microcontroller
PDF
Fossasia ai-ml technologies and application for product development-chetan kh...
PPTX
machine learning in the age of big data: new approaches and business applicat...
PPTX
Introduction to Machine Learning with TensorFlow
PDF
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
PPTX
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
PDF
The Future of Computing is Distributed
PPTX
2018/03/28 Sony's deep learning software "Neural Network Libraries/Console“ a...
PPTX
Amazon Elastic Computing 2
PPT
Trends in digital era-Programming Knowledge
PDF
The tech. behind RoboBlastPlanet
PDF
aibo introduction at ROSCon2018@Madrid
PDF
Develop store apps with kinect for windows v2
PPTX
Develop Store Apps with Kinect for Windows v2
PDF
H20: A platform for big math
PDF
Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016
PPTX
JETSON : AI at the EDGE
"Imaging + AI: Opportunities Inside the Car and Beyond," a Presentation from ...
An introduction to AI (artificial intelligence)
Computer vision, machine, and deep learning
AIoT: Intelligence on Microcontroller
Fossasia ai-ml technologies and application for product development-chetan kh...
machine learning in the age of big data: new approaches and business applicat...
Introduction to Machine Learning with TensorFlow
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
The Future of Computing is Distributed
2018/03/28 Sony's deep learning software "Neural Network Libraries/Console“ a...
Amazon Elastic Computing 2
Trends in digital era-Programming Knowledge
The tech. behind RoboBlastPlanet
aibo introduction at ROSCon2018@Madrid
Develop store apps with kinect for windows v2
Develop Store Apps with Kinect for Windows v2
H20: A platform for big math
Arno candel h2o_a_platform_for_big_math_hadoop_summit_june2016
JETSON : AI at the EDGE
Ad

More from geetachauhan (15)

PDF
Profiling PyTorch for Efficiency & Sustainability
PDF
Building AI with Security Privacy in Mind
PDF
Building AI with Security and Privacy in mind
PDF
Scaling AI in production using PyTorch
PDF
Building Interpretable & Secure AI Systems using PyTorch
PDF
Future is private intel dev fest
PDF
Decentralized AI Draper
PDF
Decentralized AI: Convergence of AI + Blockchain
PDF
Decentralized AI: Convergence of Blockchain + AI
PDF
Decentralized AI: Convergence of Blockchain + AI
PDF
Deep learning for medical imaging
PDF
Build Secure IOT Solutions using Blockchain
PDF
Data Analytics in Real World (May 2016)
PDF
Data Analytics in Real World
PDF
Blockchain revolution
Profiling PyTorch for Efficiency & Sustainability
Building AI with Security Privacy in Mind
Building AI with Security and Privacy in mind
Scaling AI in production using PyTorch
Building Interpretable & Secure AI Systems using PyTorch
Future is private intel dev fest
Decentralized AI Draper
Decentralized AI: Convergence of AI + Blockchain
Decentralized AI: Convergence of Blockchain + AI
Decentralized AI: Convergence of Blockchain + AI
Deep learning for medical imaging
Build Secure IOT Solutions using Blockchain
Data Analytics in Real World (May 2016)
Data Analytics in Real World
Blockchain revolution

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Cloud computing and distributed systems.
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
KodekX | Application Modernization Development
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Encapsulation theory and applications.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Cloud computing and distributed systems.
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
MYSQL Presentation for SQL database connectivity
Programs and apps: productivity, graphics, security and other tools
KodekX | Application Modernization Development
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
NewMind AI Weekly Chronicles - August'25 Week I
Encapsulation theory and applications.pdf

Tensorflow for IoT

  • 1. Tensorflow for IoT GEETA CHAUHAN JUNE, 2017
  • 2. Agenda  Era of AI First: What does it mean for IoT?  What is Deep Learning?  Use Cases for IoT  Tensorflow for IoT  Optimizations for IoT  Common Problem Solutions  Look into the Future  References
  • 3. Era of AI First  Billions of connected devices  Intelligence at the Edge  Increasing Computation power  Edison: 500 MHz, 1 GB RAM  RPi3: 1.2 GHz Quad-core  Deep neural networks running on the IoT device  Local inferencing → compressed insights to cloud
  • 4. What is Deep Learning?  AI Neural Networks composed of many layers  Learn like humans  Automated Feature Learning  Layers are like Image Filters
  • 5. Use Cases for IoT  Cucumber sorter  Real time arrival prediction for Caltrains  Wearable assistant for Blind (Horus)  Smart cameras, smart door lock  Human line counter  Real time exercise score on smart watch  Creative Arts, Music Generators  Self driving cars, Intelligent Robots
  • 7. Caltrain Rider  Realtime Caltrain arrival prediction  Audio Visual pipeline on Raspberry pi  Image classification for Caltrains
  • 8. Tensorflow for IoT  Compile from source  Android Things Tensorflow Inference Library (in preview now)  Tensorflow Lite (Announced @Google IO for later this year)
  • 9. Tensorflow IoT Pipeline Inference on DeviceTrain Model in Cloud
  • 10. Tensorflow Android Things  Add Tensorflow Inferencing library  Create Inference object, load model  feed() image, run() to predict  fetch() to get classification result
  • 11. Demo Intel Edison + Seed Studio Kit Raspberry Pi + Pi Camera
  • 12. Transfer Learning Transfer Learning – New Classifier Inception V3
  • 13. Optimizations  Graph Transform Tool  Freeze graph (variables to constants)  Quantize weights (20 M weights for IV3)  Quantization (32 bit float → 8 bit float)  Memory Mapping  Inception v3 93 MB → 1.5 MB
  • 14. Common Problem Solutions  Tensorboard is your friend – X-Ray vision  Image size mismatch for the input tensor  Output classifier specify correct number of classes from your model  Model too large – Load in memory  Missing ops -- Graph transform tool  Device heating up under heavy processing load  Split the model, do part detection on device, rest in cloud  Reduce the frequency eg only do on movement detection
  • 15. Look into the Future  Hardware: Neural Network Chips  Software: Tensorflow Lite (Android NN) Intel Fathom Neural Stick Nvidia Jetson
  • 16. References  Tensorflow for Android Things Sample  Tensorboard hands-on  Graph Transform Tool  Tensorflow for Poets (Transfer learning)  Tensorflow for Poets2 (Optimizations for Mobile/IoT)  Cucumber Farmer Deep Learning Story  Caltrain Rider story  Intel Fathom Neural Stick  Nvidia Jetson