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
420
Learning to play the guitar with Actions on Google
hitherejoe
0
120
For Optimists, our UI is pretty Pessimistic
hitherejoe
4
2.8k
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
910
Building Beautiful Apps with the Design Support Library
hitherejoe
3
230
Other Decks in Technology
See All in Technology
普通のエンジニアがLaravelコアチームメンバーになるまで
avosalmon
0
110
20241220_S3 tablesの使い方を検証してみた
handy
4
630
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
570
20241214_WACATE2024冬_テスト設計技法をチョット俯瞰してみよう
kzsuzuki
3
580
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
230
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
130
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
200
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
1
420
ガバメントクラウドのセキュリティ対策事例について
fujisawaryohei
0
560
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
160
AI時代のデータセンターネットワーク
lycorptech_jp
PRO
1
290
Featured
See All Featured
Building Adaptive Systems
keathley
38
2.3k
Thoughts on Productivity
jonyablonski
67
4.4k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
98
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Statistics for Hackers
jakevdp
796
220k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
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