SlideShare a Scribd company logo
1 of 18
TensorFlow Datasets
Godfrey Nolan
About | Godfrey Nolan
● Founder and President of RIIS, LLC.
● Author of six books on development
● Adjunct Professor
TensorFlow | Hello World
TensorFlow | Workflow
● Label
● Load
● Train
● Test
TensorFlow Datasets | Core Values
Simplicity
Performance
Determinism/
Reproducibility
Customisability
TensorFlow Datasets
Audio
Image
Image Classification
Object Detection
Question Answering
Structured
Summarization
Text
Translate
Video
TensorFlow Datasets
ds = tfds.load('mnist', split='train', shuffle_files=True)
train_data, validation_data, test_data = tfds.load(
name="yelp_polarity_reviews",
split=('train[:60%]', 'train[:60%]', 'test'),
as_supervised=True)
TensorFlow Datasets
TensorFlow Datasets
● caltech_birds
● cats_vs_dogs
● cars
● horses_or_humans
● stanford_dogs
● tf_flowers
● rock_paper_scissors
Image Classification
● coco
● kitti
● open_images
● voc
● waymo_open_dataset
● wider_face
TensorFlow Datasets
Object Detection
TensorFlow Datasets
Each dataset includes some (not all) of
the following metadata:
● Description
● Dataset Homepage
● Download Size
● Example Code
● Example Images
● etc.
Demo
Colab
● Simpler than Google Cloud Platform
● GPU/TPU access for $10/month
with Colab Pro
● Mount on Google Drive
● Where does everything live?
Examples
Other Datasets
Future Plans
● Snakes
● Mushrooms (bad data)
● Spiders
● TensorFlow 2 Coco
● Cattle & Sheep TFDS
https://tensorflow.org/datasets
https://codelabs.developers.google.com/codelabs/tensorflow-lab1-helloworld
https://www.coursera.org/learn/introduction-tensorflow
https://www.coursera.org/learn/device-based-models-tensorflow
https://play.google.com/store/apps/developer?id=RIIS+LLC
https://github.com/tensorflow/datasets
https://colab.research.google.com/github/tensorflow/datasets/blob/master/docs/overview.ipynb
https://github.com/christam96/TFDS-Yelp-Reviews/blob/master/yelp_reviews.ipynb
Resources
Thank You!
godfrey@riis.com
RIIS.com | 248.351.1200 | 1250 Stephenson Hwy, Troy, MI 48083

More Related Content

Similar to Getting started with tensor flow datasets

TensorfLow_Basic.pptx
TensorfLow_Basic.pptxTensorfLow_Basic.pptx
TensorfLow_Basic.pptxTMUb202109065
 
TensorFlow Extension (TFX) and Apache Beam
TensorFlow Extension (TFX) and Apache BeamTensorFlow Extension (TFX) and Apache Beam
TensorFlow Extension (TFX) and Apache Beammarkgrover
 
From Python to PySpark and Back Again – Unifying Single-host and Distributed ...
From Python to PySpark and Back Again – Unifying Single-host and Distributed ...From Python to PySpark and Back Again – Unifying Single-host and Distributed ...
From Python to PySpark and Back Again – Unifying Single-host and Distributed ...Databricks
 
Clojure vs Design Patterns
Clojure vs Design PatternsClojure vs Design Patterns
Clojure vs Design PatternsRon Toland
 
The Flow of TensorFlow
The Flow of TensorFlowThe Flow of TensorFlow
The Flow of TensorFlowJeongkyu Shin
 
饿了么 TensorFlow 深度学习平台:elearn
饿了么 TensorFlow 深度学习平台:elearn饿了么 TensorFlow 深度学习平台:elearn
饿了么 TensorFlow 深度学习平台:elearnJiang Jun
 
Suneel Marthi - Deep Learning with Apache Flink and DL4J
Suneel Marthi - Deep Learning with Apache Flink and DL4JSuneel Marthi - Deep Learning with Apache Flink and DL4J
Suneel Marthi - Deep Learning with Apache Flink and DL4JFlink Forward
 
Austin big data ai meetup image classification with tensor flow on dsx
Austin big data ai meetup   image classification with tensor flow on dsxAustin big data ai meetup   image classification with tensor flow on dsx
Austin big data ai meetup image classification with tensor flow on dsxTuhin Mahmud
 
Deep Dive on Deep Learning (June 2018)
Deep Dive on Deep Learning (June 2018)Deep Dive on Deep Learning (June 2018)
Deep Dive on Deep Learning (June 2018)Julien SIMON
 
Automatic Search Event-Summary
Automatic Search Event-SummaryAutomatic Search Event-Summary
Automatic Search Event-SummaryXiwei Yan
 
Getting Started with Keras and TensorFlow - StampedeCon AI Summit 2017
Getting Started with Keras and TensorFlow - StampedeCon AI Summit 2017Getting Started with Keras and TensorFlow - StampedeCon AI Summit 2017
Getting Started with Keras and TensorFlow - StampedeCon AI Summit 2017StampedeCon
 
A Tour of Tensorflow's APIs
A Tour of Tensorflow's APIsA Tour of Tensorflow's APIs
A Tour of Tensorflow's APIsDean Wyatte
 
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...Edureka!
 
Is your excel production code?
Is your excel production code?Is your excel production code?
Is your excel production code?ProCogia
 
Analysis using r
Analysis using rAnalysis using r
Analysis using rPriya Mohan
 
ML Platform Q1 Meetup: End to-end Feature Analysis, Validation and Transforma...
ML Platform Q1 Meetup: End to-end Feature Analysis, Validation and Transforma...ML Platform Q1 Meetup: End to-end Feature Analysis, Validation and Transforma...
ML Platform Q1 Meetup: End to-end Feature Analysis, Validation and Transforma...Fei Chen
 
Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2Sarah Stemmler
 
How and why to design your teams for modern software - JAX DevOps - April 2017
How and why to design your teams for modern software - JAX DevOps - April 2017How and why to design your teams for modern software - JAX DevOps - April 2017
How and why to design your teams for modern software - JAX DevOps - April 2017Skelton Thatcher Consulting Ltd
 
.NET Fest 2017. Игорь Кочетов. Классификация результатов тестирования произво...
.NET Fest 2017. Игорь Кочетов. Классификация результатов тестирования произво....NET Fest 2017. Игорь Кочетов. Классификация результатов тестирования произво...
.NET Fest 2017. Игорь Кочетов. Классификация результатов тестирования произво...NETFest
 

Similar to Getting started with tensor flow datasets (20)

TensorfLow_Basic.pptx
TensorfLow_Basic.pptxTensorfLow_Basic.pptx
TensorfLow_Basic.pptx
 
TensorFlow Extension (TFX) and Apache Beam
TensorFlow Extension (TFX) and Apache BeamTensorFlow Extension (TFX) and Apache Beam
TensorFlow Extension (TFX) and Apache Beam
 
From Python to PySpark and Back Again – Unifying Single-host and Distributed ...
From Python to PySpark and Back Again – Unifying Single-host and Distributed ...From Python to PySpark and Back Again – Unifying Single-host and Distributed ...
From Python to PySpark and Back Again – Unifying Single-host and Distributed ...
 
Clojure vs Design Patterns
Clojure vs Design PatternsClojure vs Design Patterns
Clojure vs Design Patterns
 
The Flow of TensorFlow
The Flow of TensorFlowThe Flow of TensorFlow
The Flow of TensorFlow
 
饿了么 TensorFlow 深度学习平台:elearn
饿了么 TensorFlow 深度学习平台:elearn饿了么 TensorFlow 深度学习平台:elearn
饿了么 TensorFlow 深度学习平台:elearn
 
Suneel Marthi - Deep Learning with Apache Flink and DL4J
Suneel Marthi - Deep Learning with Apache Flink and DL4JSuneel Marthi - Deep Learning with Apache Flink and DL4J
Suneel Marthi - Deep Learning with Apache Flink and DL4J
 
Austin big data ai meetup image classification with tensor flow on dsx
Austin big data ai meetup   image classification with tensor flow on dsxAustin big data ai meetup   image classification with tensor flow on dsx
Austin big data ai meetup image classification with tensor flow on dsx
 
Deep Dive on Deep Learning (June 2018)
Deep Dive on Deep Learning (June 2018)Deep Dive on Deep Learning (June 2018)
Deep Dive on Deep Learning (June 2018)
 
Automatic Search Event-Summary
Automatic Search Event-SummaryAutomatic Search Event-Summary
Automatic Search Event-Summary
 
Getting Started with Keras and TensorFlow - StampedeCon AI Summit 2017
Getting Started with Keras and TensorFlow - StampedeCon AI Summit 2017Getting Started with Keras and TensorFlow - StampedeCon AI Summit 2017
Getting Started with Keras and TensorFlow - StampedeCon AI Summit 2017
 
A Tour of Tensorflow's APIs
A Tour of Tensorflow's APIsA Tour of Tensorflow's APIs
A Tour of Tensorflow's APIs
 
Tensorflow Ecosystem
Tensorflow EcosystemTensorflow Ecosystem
Tensorflow Ecosystem
 
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
TensorFlow Tutorial | Deep Learning Using TensorFlow | TensorFlow Tutorial Py...
 
Is your excel production code?
Is your excel production code?Is your excel production code?
Is your excel production code?
 
Analysis using r
Analysis using rAnalysis using r
Analysis using r
 
ML Platform Q1 Meetup: End to-end Feature Analysis, Validation and Transforma...
ML Platform Q1 Meetup: End to-end Feature Analysis, Validation and Transforma...ML Platform Q1 Meetup: End to-end Feature Analysis, Validation and Transforma...
ML Platform Q1 Meetup: End to-end Feature Analysis, Validation and Transforma...
 
Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2Machine Learning with TensorFlow 2
Machine Learning with TensorFlow 2
 
How and why to design your teams for modern software - JAX DevOps - April 2017
How and why to design your teams for modern software - JAX DevOps - April 2017How and why to design your teams for modern software - JAX DevOps - April 2017
How and why to design your teams for modern software - JAX DevOps - April 2017
 
.NET Fest 2017. Игорь Кочетов. Классификация результатов тестирования произво...
.NET Fest 2017. Игорь Кочетов. Классификация результатов тестирования произво....NET Fest 2017. Игорь Кочетов. Классификация результатов тестирования произво...
.NET Fest 2017. Игорь Кочетов. Классификация результатов тестирования произво...
 

More from Godfrey Nolan

Counting Cars with Drones
Counting Cars with DronesCounting Cars with Drones
Counting Cars with DronesGodfrey Nolan
 
Customising QGroundControl
Customising QGroundControlCustomising QGroundControl
Customising QGroundControlGodfrey Nolan
 
Parrot Tutorials in Kotlin
Parrot Tutorials in KotlinParrot Tutorials in Kotlin
Parrot Tutorials in KotlinGodfrey Nolan
 
DJI Mobile SDK Tutorials in kotlin
DJI Mobile SDK Tutorials in kotlinDJI Mobile SDK Tutorials in kotlin
DJI Mobile SDK Tutorials in kotlinGodfrey Nolan
 
Using ML to make your UI tests more robust
Using ML to make your UI tests more robustUsing ML to make your UI tests more robust
Using ML to make your UI tests more robustGodfrey Nolan
 
Counting sheep with Drones and AI
Counting sheep with Drones and AICounting sheep with Drones and AI
Counting sheep with Drones and AIGodfrey Nolan
 
Writing Secure Mobile Apps for Drones
Writing Secure Mobile Apps for DronesWriting Secure Mobile Apps for Drones
Writing Secure Mobile Apps for DronesGodfrey Nolan
 
The Day We Infected Ourselves with Ransomware
The Day We Infected Ourselves with RansomwareThe Day We Infected Ourselves with Ransomware
The Day We Infected Ourselves with RansomwareGodfrey Nolan
 
From Maps to Apps the Future of Drone Technology
From Maps to Apps the Future of Drone TechnologyFrom Maps to Apps the Future of Drone Technology
From Maps to Apps the Future of Drone TechnologyGodfrey Nolan
 
Tableau 10 and quickbooks
Tableau 10 and quickbooksTableau 10 and quickbooks
Tableau 10 and quickbooksGodfrey Nolan
 
Network graphs in tableau
Network graphs in tableauNetwork graphs in tableau
Network graphs in tableauGodfrey Nolan
 

More from Godfrey Nolan (20)

Counting Cars with Drones
Counting Cars with DronesCounting Cars with Drones
Counting Cars with Drones
 
Customising QGroundControl
Customising QGroundControlCustomising QGroundControl
Customising QGroundControl
 
DJI Payload SDK
DJI Payload SDKDJI Payload SDK
DJI Payload SDK
 
Parrot Tutorials in Kotlin
Parrot Tutorials in KotlinParrot Tutorials in Kotlin
Parrot Tutorials in Kotlin
 
DJI Mobile SDK Tutorials in kotlin
DJI Mobile SDK Tutorials in kotlinDJI Mobile SDK Tutorials in kotlin
DJI Mobile SDK Tutorials in kotlin
 
Drone sdk showdown
Drone sdk showdownDrone sdk showdown
Drone sdk showdown
 
AI/ML in drones
AI/ML in dronesAI/ML in drones
AI/ML in drones
 
Using ML to make your UI tests more robust
Using ML to make your UI tests more robustUsing ML to make your UI tests more robust
Using ML to make your UI tests more robust
 
Java best practices
Java best practicesJava best practices
Java best practices
 
Counting sheep with Drones and AI
Counting sheep with Drones and AICounting sheep with Drones and AI
Counting sheep with Drones and AI
 
Writing Secure Mobile Apps for Drones
Writing Secure Mobile Apps for DronesWriting Secure Mobile Apps for Drones
Writing Secure Mobile Apps for Drones
 
Android Device Labs
Android Device LabsAndroid Device Labs
Android Device Labs
 
The Day We Infected Ourselves with Ransomware
The Day We Infected Ourselves with RansomwareThe Day We Infected Ourselves with Ransomware
The Day We Infected Ourselves with Ransomware
 
Agile Android
Agile AndroidAgile Android
Agile Android
 
Agile Swift
Agile SwiftAgile Swift
Agile Swift
 
Android Refactoring
Android RefactoringAndroid Refactoring
Android Refactoring
 
Agile mobile
Agile mobileAgile mobile
Agile mobile
 
From Maps to Apps the Future of Drone Technology
From Maps to Apps the Future of Drone TechnologyFrom Maps to Apps the Future of Drone Technology
From Maps to Apps the Future of Drone Technology
 
Tableau 10 and quickbooks
Tableau 10 and quickbooksTableau 10 and quickbooks
Tableau 10 and quickbooks
 
Network graphs in tableau
Network graphs in tableauNetwork graphs in tableau
Network graphs in tableau
 

Recently uploaded

VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Personfurqan222004
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一3sw2qly1
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Lucknow
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 

Recently uploaded (20)

young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Person
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 

Getting started with tensor flow datasets

Editor's Notes

  1. Who am I What is RIIS Why the interest in TensorFlow Why the interest in TensorFlow Datasets
  2. Founder and President of RIIS, LLC. – a mobile and web development company based in Troy, MI Author of six books on development Adjunct Professor – currently teaching Android Development at Saginaw Valley State University in the fall term and University of Detroit Mercy in the Winter Term
  3. What is TensorFlow - back in the 90s, if you wanted to do any AI or machine learning you had to roll your own back propagation neural network. From personal experience I can say it wasn’t impossible but it took a while. These days it’s much simpler, you can call any number of machine learning models from frameworks such as Tensorflow or Pytorch etc. that sit on top of the latest and greatest neural network or other types of models allowing you to easily train your models. The following example is an Hello World for TensorFlow, we’re trying to get the NN to match the equation y = (3*x) + 1, so if x is 1 y is 4. We train the model on a 6 element x,y array over 500 epochs. When we ask it what y is when the value of y is when x = 10 we get a prediction of 31.00025749. So it’s not exactly right but it’s pretty close. EXPLAIN THE MODEL https://codelabs.developers.google.com/codelabs/tensorflow-lab1-helloworld#0 URL is in the resources
  4. While this is a really simple example we see a lot of the common elements of a standard TensorFlow workflow, i.e. load the data, train the model, test the model and deploy I’m mostly interested in image classification and object detection, as we do a lot of work on drones. We typically deploy the model as a tensorflow lite file on an android or iphone These differ from our hello world as we have to label the data the workflow is now label, load, train, test and deploy A few years ago now, we created an app that counts sheep or cattle from a DJI or Parrot drone. I quickly ran into a problem, where am I going to find my labeled data? Creating your own labeled data can be expensive, you have to get 5000 to 10000 images and then someone has to manually label (draw a box around) each image for what you to detect, that can cost up to $1 per image depending on how many objects you have on an image
  5. TF Data Sets solve my labeling problem by providing a simple to use loading mechanism for 200+ public research datasets That’s assuming your use case is covered by one of these datsets It’s another front end to make our lives easier so I don’t have to write custom code to load each dataset TFDS has been built with these principles in mind: Simplicity: Standard use-cases should work out-of-the box Performance: TFDS follows best practices and can achieve state-of-the-art speed Determinism/reproducibility: All users get the same examples in the same order Customisability: Advanced users can have fine-grained control
  6. TensorFlow Datasets have something for everyone, I’m mostly interested in image classification for mobile apps and object detection for drones Why - easy to use, consistency, everything collected together in one place, as well as sample code to show you how to load and train the data. These are NOT Google datasets, the collection is mostly public research datasets Format is always the same which makes it easy to load into a TF notebook. Rather than having to figure out how to download and import it each time Currently there are 224 datasets and it’s growing all the time, there’s also a mechanism to add your own dataset SHOW THE DATASETS - https://www.tensorflow.org/datasets/catalog/mnist https://www.tensorflow.org/datasets/catalog/coco https://www.tensorflow.org/datasets/catalog/yelp_polarity_reviews
  7. If we want to load the mnist database of handwritten digits we use the following command Some common arguments: * `split=`: Which split to read (e.g. `'train'`, `['train', 'test']`, `'train[80%:]'`,...). * `shuffle_files=`: Control whether to shuffle the files between each epoch (TFDS store big datasets in multiple smaller files). * `data_dir=`: Location where the dataset is saved (defaults to `~/tensorflow_datasets/`) * `with_info=True`: Returns the `tfds.core.DatasetInfo` containing dataset metadata * `download=False`: Disable download
  8. If we want to load the yelp database of reviews we do the following. Aside from some of the parameters it’s the same. It’s always the same which is the beauty of TFDS. No custom code, no hacks to get at the dataset. Because the datasets are also public research datasets at universities they have a tendency to go offline from time to time It’s downloaded and ready for the next stage of our workflow. We’ll return to the Yelp dataset later in our colab demo.
  9. There are lots more, just pulling out the ones that we’re interested in
  10. We use a retrained version of the coco dataset to count cattle from drones COCO – Common object’s in Context Kitti – autonomous driving Voc – lots of different objects, people, cars etc. Waymo is for automated driving Wider face – facial expressions
  11. Description Dataset Homepage Download Size Example Code Example Images etc.
  12. Run Through Colab https://colab.research.google.com/drive/1hO7G4Tn-2OAlkDK9-3hpr7Yr0rzKdquz#scrollTo=FmNNPNjR3XsN Show Colab Pro – Choose GPU – Runtime -> Change Runtime Type Runtime all Show RAM Show where the files are /root/tensorflow_datasets/yelp_polarity_reviews/ SKIP AHEAD TO NEXT SLIDE WHILE RUNNING
  13. One of the issues we had in the past was getting the Google Cloud Platform up and running, could spend days trying to get it configured With these jupyter notebooks on Colab you’re up and running in minutes GO BACK TO YELP COLAB
  14. Originally I trained as a Mech Eng, so I always tend to the practical rather than the theoretical So over the summer a couple of our interns turned some of the TFDS datasets into real apps. Go to RIIS apps page on Google Play https://play.google.com/store/apps/developer?id=RIIS+LLC Doggie in the window – stanford dogs dataset - SHOW VIDEO - SHOW CODE https://github.com/riis/DogClassificationAndroid Identiplant - Plant Village dataset  - SHOW VIDEO – this uses a non TFDS dataset Food Classifier – Food101 dataset – SHOW VIDEO Flower Classifier – Oxford Flower Dataset – SHOW VIDEO
  15. Problem with other datasets is we need custom script to load them Many of these are also moving into TF Datasets as you can add to the datasets At 225 datasets with more datasets being added all the time But you still might need to look elsewhere for datasets such as Kaggle or Aicrowd or just by doing a search on google
  16. We’re planning on doing some more apps early in the new year We’re also looking for Canadian interns this time around if anyone knows anyone who might be interested? Snakes – want to see if we can write an app to tell if a snake is poisonous or not Mushrooms (bad data) – There’s a Danish app that detects if a mushroom is going to make you sick or not The app uses crowdsourcing to get lots of people to upload their own mushrooms pictures and definitions Unfortunately there’s nobody looking at the uploaded pictures so the dataset is corrupt Spiders – is the spider a Brown recluse or not? As you can see here I have a problem with poisonous things, maybe I should add Quicksand to the list. TensorFlow 2 Coco – Object Detection API recently was upgraded with support for TF2, redo our Cattle & Sheep counters Cattle & Sheep TFDS - going to upload our cattle and sheep labeled dataset to TFDS
  17. Read them out