Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
420
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
160
Getting Clean, Keeping Lean
hitherejoe
10
640
Android TV: Building Apps with Google’s Leanback Library
hitherejoe
1
900
Building Beautiful Apps with the Design Support Library
hitherejoe
3
230
Other Decks in Technology
See All in Technology
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
140
Oracle Cloud Infrastructure:2024年11月度サービス・アップデート
oracle4engineer
PRO
0
140
プロダクトの爆速開発を支える、 「作らない・削る・尖らせる」技術
applism118
4
430
品質管理チームのEMとして大事にしていること / QA EM
nihonbuson
0
300
GDGoC開発体験談 - Gemini生成AI活用ハッカソン / GASとFirebaseで挑むパン屋のフードロス解決 -
hotekagi
1
490
AWS認定試験の長文問題を早く解くコツ
keke1234ke
0
140
ドメインロジックで考えるテスタビリティ
leveragestech
1
210
偶有的複雑性と戦うためのアーキテクチャとチームトポロジー
knih
7
6.1k
LLMを「速く」「安く」 動かすには / CloudNative Days Winter 2024
pfn
PRO
5
1.3k
GeminiとUnityで実現するインタラクティブアート
hokkey621
0
370
2024/11/29_失敗談から学ぶ! エンジニア向けre:Invent攻略アンチパターン集
hiashisan
0
280
開発者向けツールを魔改造してセキュリティ診断ツールを作っている話 - 第1回 セキュリティ若手の会 LT
pizzacat83
0
160
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
760
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Scaling GitHub
holman
458
140k
What's in a price? How to price your products and services
michaelherold
243
12k
Rails Girls Zürich Keynote
gr2m
94
13k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
0
62
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