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
新R25、乃木坂46 Mobileなどのファンビジネスを支えるマルチテナンシーなプラットフォームの全体像 / cam-multi-cloud
cyberagentdevelopers
PRO
1
130
現地でMeet Upをやる場合の注意点〜反省点を添えて〜
shotashiratori
0
530
小規模に始めるデータメッシュとデータガバナンスの実践
kimujun
3
590
AWS re:Inventを徹底的に楽しむためのTips / Tips for thoroughly enjoying AWS re:Invent
yuj1osm
1
570
[AWS JAPAN 生成AIハッカソン] Dialog の紹介
yoshimi0227
0
150
2024-10-30-reInventStandby_StudyGroup_Intro
shinichirokawano
1
630
[JAWS-UG金沢支部×コンテナ支部合同企画]コンテナとは何か
furuton
3
260
Figma Dev Modeで進化するデザインとエンジニアリングの協働 / figma-with-engineering
cyberagentdevelopers
PRO
1
430
プロダクト成長に対応するプラットフォーム戦略:Authleteによる共通認証基盤の移行事例 / Building an authentication platform using Authlete and AWS
kakehashi
1
150
サイバーエージェントにおける生成AIのリスキリング施策の取り組み / cyber-ai-reskilling
cyberagentdevelopers
PRO
2
200
Java x Spring Boot Warm up
kazu_kichi_67
2
490
新卒1年目が向き合う生成AI事業の開発を加速させる技術選定 / ai-web-launcher
cyberagentdevelopers
PRO
7
1.5k
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
692
190k
Bash Introduction
62gerente
608
210k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
Scaling GitHub
holman
458
140k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
9
680
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.6k
Documentation Writing (for coders)
carmenintech
65
4.4k
What's new in Ruby 2.0
geeforr
342
31k
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