Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Tensorflow for Android Developers
Search
Joe Birch
March 26, 2018
Technology
3
250
Tensorflow for Android Developers
Joe Birch
March 26, 2018
Tweet
Share
More Decks by Joe Birch
See All by Joe Birch
Learning to play guitar with Actions on Google
hitherejoe
1
91
Making Change as an Ally
hitherejoe
1
410
Learning to play the guitar with Actions on Google
hitherejoe
0
120
For Optimists, our UI is pretty Pessimistic
hitherejoe
4
2.7k
Android Things: Building for the IoT
hitherejoe
2
150
Getting Clean, Keeping Lean
hitherejoe
10
630
Android TV: Building Apps with Google’s Leanback Library
hitherejoe
1
880
Building Beautiful Apps with the Design Support Library
hitherejoe
3
220
Other Decks in Technology
See All in Technology
omakaseしないための.rubocop.yml のつくりかた / How to Build Your .rubocop.yml to Avoid Omakase #kaigionrails
linkers_tech
3
740
Datachain会社紹介資料(2024年11月) / Company Deck
datachain
3
16k
ユーザーの購買行動モデリングとその分析 / dsc-purchase-analysis
cyberagentdevelopers
PRO
2
100
事業者間調整の行間を読む 調整の具体事例
sugiim
0
1.5k
LeSSに潜む「隠れWF病」とその処方箋
lycorptech_jp
PRO
2
120
コンテンツを支える 若手ゲームクリエイターの アートディレクションの事例紹介 / cagamefi-game
cyberagentdevelopers
PRO
1
130
Amazon FSx for NetApp ONTAPを利用するにあたっての要件整理と設計のポイント
non97
1
160
Forget efficiency – Become more productive without the stress
ufried
0
140
生成AIと知識グラフの相互利用に基づく文書解析
koujikozaki
1
140
分布で見る効果検証入門 / ai-distributional-effect
cyberagentdevelopers
PRO
4
700
【技術書典17】OpenFOAM(自宅で極める流体解析)2次元円柱まわりの流れ
kamakiri1225
0
210
Vueで Webコンポーネントを作って Reactで使う / 20241030-cloudsign-vuefes_after_night
bengo4com
4
2.5k
Featured
See All Featured
A designer walks into a library…
pauljervisheath
202
24k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
328
21k
Speed Design
sergeychernyshev
24
570
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
Art, The Web, and Tiny UX
lynnandtonic
296
20k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Transcript
TENSORFLOW FOR ANDROID DEVELOPERS JOE BIRCH - @HITHEREJOE - ANDROID
LEAD @BUFFER - GDE @ANDROID
MACHINE LEARNING 101 Get data Clean, prep & manipulate data
Train Model Test data Improve
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING 101 Unsupervised Learning Supervised Learning Clustering Classification Regression
MACHINE LEARNING AND MOBILE
MACHINE LEARNING AND MOBILE
TENSORFLOW
TENSORFLOW
COMPUTATION GRAPHS C D F A B E
NEURAL NETWORKS Some Image Result
NEURAL NETWORKS Some Image Result
NEURAL NETWORKS Some Image Result
NEURAL NETWORKS Some Image Result Pre-trained model
BUILDING OUR OWN IMAGE CLASSIFIER USING A MOBILE NET
TENSORBOARD
TENSORBOARD
TENSORBOARD tensorboard --logdir tf_files/training_summaries &
TRAINING DATA
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
RETRAINING THE MODEL
HOW TRAINING WORKS?
HOW TRAINING WORKS?
HOW TRAINING WORKS?
HOW TRAINING WORKS?
HOW TRAINING WORKS?
HOW TRAINING WORKS?
MODEL ACCURACY
MODEL ACCURACY
OPTIMISING THE MODEL Model Operation Model Operation Model Operation Model
Operation Load graph Don’t load graph Operation supported?
OPTIMISING THE MODEL
OPTIMISING THE MODEL
OPTIMISING THE MODEL
OPTIMISING THE MODEL
OPTIMISING THE MODEL
QUANTISATION
QUANTISATION
QUANTISATION
QUANTISATION
OPTIMISING THE MODEL
ADDING THIS TO AN APP Add Dependancy Create TF Reference
Feed data Run inference Fetch result Handle confidence
ADDING THIS TO AN APP
ADDING THIS TO AN APP // convert to 3d array
(width / height / color)
ADDING THIS TO AN APP
ADDING THIS TO AN APP
ADDING THIS TO AN APP Shape of our input
ADDING THIS TO AN APP
ADDING THIS TO AN APP
ADDING THIS TO AN APP
ADDING THIS TO AN APP https://github.com/tensorflow/tensorflow
CONCLUSION