SlideShare a Scribd company logo
1 of 63
Download to read offline
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Mahendra Bairagi
Specialist Solutions Architect AI / ML
BDA201
AWS DeepLens Workshop: Building
Computer Vision Applications
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS DeepLens
is not a
video camera …
It’s the
world’s first
deep learning-enabled
developer kit
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Artificial intelligence at Amazon
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
PLATFORM SERVICES
APPLICATION SERVICES
FRAMEWORKS & INTERFACES
Caffe2 CNTK
Apache
MXNet
PyTorch TensorFlow Chainer Keras Gluon
AWS Deep Learning AMIs
Amazon SageMaker
Amazon
Rekognition
Amazon
Transcribe
Amazon
Translate
Amazon Polly
Amazon
Comprehend
Amazon Lex
AWS
DeepLens
EDUCATION
The Amazon machine learning stack
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Get started with sample projects
ARTISTIC STYLE TRANSFER
OBJECT DETECTION FACE DETECTIONHOT DOG / NOT HOT DOG
CAT vs. DOG
ACTIVITY DETECTION
O r b u ild cu stom d eep learn in g mod els in th e c lou d u sin g
Amazon SageMaker
HEAD POSE DETECTION
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS DeepLens specifications
• Intel Atom processor
• Gen9 graphics
• Ubuntu OS- 16.04 LTS
• 100 GFLOPS performance
• Dualband Wi-Fi
• 8 GB RAM
• 16 GB storage (eMMC)
• 32 GB SD card
• 4 MP camera with MJPEG
• H.264 encoding at 1080p resolution
• 2 USB ports
• Micro HDMI
• Audio out
• AWS Greengrass preconfigured
• Intel clDNN optimized for MXNet
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. Deploying a model to
AWS DeepLens
1. Machine learning
overview
4. Extending a
project
Today we will cover:
2. Training a model in
Amazon SageMaker
Amazon RekognitionAmazon S3
AWS Lambda
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1. Machine learning overview
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Model training Inference
Overview of deep learning
Data
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data
Annotate Preprocess Data split
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Model training
• Define model architecture
• Input the annotated and cleaned data into the model
• Multiple iterations (epochs) to train the model
• Validate with held-back dataset
Large, annotated
dataset
Training set
Validation set
Training
Validate
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference
It’s where the magic happens!
1. Preprocess the new data or image just like a training set.
2. Feed image back to the trained model to get a predicted output.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. Training a model in Amazon SageMaker
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lab #1: Training a model in Amazon SageMaker
• Objective: Learn how to build and train a face recognition model
• Time: 40 min.
• Steps:
1. About Amazon
SageMaker
2. Self-paced lab
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon SageMaker
Fully managed
hosting with Auto
Scaling
One-click
deployment
Pre-built
notebooks for
common
problems
Built-in, high-
performance
algorithms
Hyperparameter
optimization
Build Train Deploy
One-click
training
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lab details – Amazon SageMaker
The self-paced lab includes the following steps:
1. Import a prepared Jupyter Notebook into Amazon SageMaker.
2. The notebook walks you through building a face recognition model in
Amazon SageMaker.
3. Create an Amazon S3 bucket, and export the updated model there.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Self-paced Lab – #1
1. Turn on AWS DeepLens. If it is turned on, access monitor and open Firefox.
2. Find the instruction manual here: https://github.com/fibbonnaci/DeepLens-
workshops
3. Access Hands-on Lab 1 tutorial.
40 minutes
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Important note!
Please ensure you stop the Amazon SageMaker notebook instance to avoid ongoing
charges to your AWS account.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. Deploying a model to AWS
DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Under the covers: Console
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Under the covers: Device
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lab #2: Deploying a model to AWS DeepLens
• Objective: Learn how to configure AWS DeepLens and deploy a model
• Time: 40 min.
• Steps:
1. Register and configure
AWS DeepLens
2. Deploy a model
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Follow along instructions
1. Find the instructions manual here: https://github.com/fibbonnaci/DeepLens-
workshops
2. Access Hands-on Lab 2: Register your AWS DeepLens device and deploy to
device
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Please note:
Keep your laptops closed!
We’ll use the AWS DeepLens
connected to the Ethernet and the
workshop monitor / keyboard /
pointer set up for device registration,
not your laptops.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Register AWS DeepLens
1. Choose Register device.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. Provide a name for your device, for example, yourname-sf-AIDC.
3. Choose Next.
Register AWS DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Set permissions
1. Choose Create roles.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Set permissions
2. Choose Next.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Download certificate
1. Choose Download certificate.
2. Choose Finish.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Configure AWS DeepLens
1. Find the reset pin in the back of the AWS DeepLens device.
2. Use the provided pin to reset the device. You should hear a click.
3. The middle LED (Wi-Fi) will be blinking.
Before moving ahead …
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Run this step before moving ahead
sudo systemctl restart softap.service
1. Open Terminal, and run this command:
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Configure AWS DeepLens
1. Find the reset pin in the back of the AWS DeepLens device.
2. Use the provided pin to reset the device. You should hear a click.
3. The middle LED (Wi-Fi) will be blinking.
4. Choose complete the setup.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
First-time device registration
• You will see the updates available screen.
• Choose Install and Reboot. It will take 5 minutes for the updates to come through.
• After the updates are installed, the device will reboot automatically; you should
see the monitor go black and reboot the Linux kernel.
Note: This may take 5 minutes! Please be patient.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
First-time device registration (con’t.)
• After the reboot, open up your browser, the device will come back to the install and
reboot screen.
• Click Install and Reboot one more time and wait for your device to reboot.
• After the second reboot, open up the web browser again and remove
"#softwareUpdates" from the URL. You should now be on the attach/upload certificate
screen.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
5. For Network connection, choose Edit.
Configure AWS DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
6. Choose Use Ethernet.
Configure AWS DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
7. For Certificate, choose Edit.
Configure AWS DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
8. Upload the .zip file you downloaded during registration.
9. Choose Next.
Configure AWS DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
10. Download Streaming certificate.
Configure AWS DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Important: If asked for a password, provide Aws2017! as the device password.
Choose Review.
Configure AWS DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
11. Choose Finish.
Configure AWS DeepLens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Verify registration
1. Log in to the AWS DeepLens console.
https://console.aws.amazon.com/deepl
ens
This is the AWS DeepLens console.
2. Select Devices.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Verify registration
3. You should see a green check mark and Registered under Registration
status.
Run this step before moving ahead
sudo systemctl restart greengrassd.service --no-block
1. Open Terminal, and run this command:
Now, it’s time to create a project
1. From the left navigation bar, choose
Projects.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Now, it’s time to create a project
2. Choose Create new project.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use a face detection sample
3. Select Use a project template.
4. Select Face detection from
sample project templates.
5. Choose Next at the bottom of
screen.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Create a project
6. Choose Create.
It will take a few minutes to
create the project.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Deploy project to the device
7. Find your project in the
list (the one you just
named).
8. Choose the radio
button.
9. Choose Deploy to
device.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
10. Select your device.
11. Choose Review.
Target your device
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Deploy!
12. Choose Deploy.
A note on costs …
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Wait for the project to be deployed
Blue banner = Deployment in progress
Green banner = Deployment successful
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Let’s view the output
You can view the output over the terminal or in the browser. For this
workshop, we will view the output over the terminal.
1. Open Terminal on Ubuntu desktop (on the desktop, choose the
top left button and search for terminal).
2. Enter the following command:
mplayer -demuxer lavf -lavfdopts format=mjpeg:probesize=32 /tmp/results.mjpeg
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4. Extending a project:
Audience response tracking with AWS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Winners of the DeepLens Hackathon
First place Second place Third place
ReadToMe
Created by Alex Schultz
ReadToMe is a deep learning-
enabled application that is able to
read books to kids. In this case,
reading Green Eggs and Ham, by
Dr. Seuss.
Dee
Created by Matthew Clark
Dee is a fun AWS DeepLens
interactive device for children. The
device asks children to answer
questions by showing a picture of
the answer.
SafeHaven
Created by Nathan Stone and
Peter McLean
SafeHaven uses Alexa and AWS
DeepLens to bring peace of
mind for vulnerable people and
their families.
View all 23 projects at: https://aws.amazon.com/deeplens/community-projects
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
Rekognition
image
Inference
Lambda
Amazon
S3 Bucket
Amazon
DynamoDB
Amazon
SageMaker
&
AWS DeepLens
console
Amazon
S3 Bucket
Recognize
emotions
Lambda
Training / validation data
Cropped face images
Cropped face
images
Detected
emotions
AWS DeepLens
Cloud
Amazon
CloudWatch
Detected
emotions
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Now, let’s see it in action.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Are you ready for a challenge?
AWS DeepLens Challenge
• What is it: Eight themed challenges that will each run for two weeks, you have the opportunity to combine your ideas with the capability of AWS
DeepLens to create machine learning projects that can have a positive impact on the world.
• Why: These challenges will help you gain valuable machine learning experience within a fun, collaborative, and inspiring environment. You’ll be
making a positive impact on improving people’s lives and supporting non-profits that benefit our society.
• When: Challenges started on July 10 and will run though end of October 2018.
• Learn more: https://aws.amazon.com/deeplens/challenge/
B u i l d m a c h i n e l e a r n i n g p r o j e c t s u s i n g A W S D e e p L e n s a n d m a k e a d i f f e r e n c e !
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Questions?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thanks & wrap-up
Order on Amazon.com
Search: AWS DeepLens
See what others have built
aws.amazon.com/deeplens/community-projects
Request a workshop
Work with your AWS account
management team to request a
hands-on Amazon SageMaker &
AWS DeepLens workshop
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Submit session feedback
1. Tap the Schedule icon.
2. Select the session you
attended.
3. Tap Session Evaluation to
submit your feedback.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!

More Related Content

What's hot

Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019 Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019 Amazon Web Services
 
DataPalooza - ML + IoT Workshop: San Francisco Loft
DataPalooza - ML + IoT Workshop: San Francisco LoftDataPalooza - ML + IoT Workshop: San Francisco Loft
DataPalooza - ML + IoT Workshop: San Francisco LoftAmazon Web Services
 
Scale permissions management in AWS with attribute-based access control - SDD...
Scale permissions management in AWS with attribute-based access control - SDD...Scale permissions management in AWS with attribute-based access control - SDD...
Scale permissions management in AWS with attribute-based access control - SDD...Amazon Web Services
 
Design for compliance: Practical patterns for meeting your IT compliance requ...
Design for compliance: Practical patterns for meeting your IT compliance requ...Design for compliance: Practical patterns for meeting your IT compliance requ...
Design for compliance: Practical patterns for meeting your IT compliance requ...Amazon Web Services
 
Build a dashboard using serverless security analytics - SDD201 - AWS re:Infor...
Build a dashboard using serverless security analytics - SDD201 - AWS re:Infor...Build a dashboard using serverless security analytics - SDD201 - AWS re:Infor...
Build a dashboard using serverless security analytics - SDD201 - AWS re:Infor...Amazon Web Services
 
Securing your block storage on AWS - GRC207 - AWS re:Inforce 2019
Securing your block storage on AWS - GRC207 - AWS re:Inforce 2019 Securing your block storage on AWS - GRC207 - AWS re:Inforce 2019
Securing your block storage on AWS - GRC207 - AWS re:Inforce 2019 Amazon Web Services
 
Deep Learning Demystified - A (Mostly) Effortless Introduction: AWS Developer...
Deep Learning Demystified - A (Mostly) Effortless Introduction: AWS Developer...Deep Learning Demystified - A (Mostly) Effortless Introduction: AWS Developer...
Deep Learning Demystified - A (Mostly) Effortless Introduction: AWS Developer...Amazon Web Services
 
Integrating security testing into your container build pipeline - SDD308 - AW...
Integrating security testing into your container build pipeline - SDD308 - AW...Integrating security testing into your container build pipeline - SDD308 - AW...
Integrating security testing into your container build pipeline - SDD308 - AW...Amazon Web Services
 
Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Amazon Web Services
 
Introduction of AWS IoT's great points
Introduction of AWS IoT's great pointsIntroduction of AWS IoT's great points
Introduction of AWS IoT's great pointsShuheiHonma
 
CI/CD with AWS Developer Tools and Fargate
CI/CD with AWS Developer Tools and FargateCI/CD with AWS Developer Tools and Fargate
CI/CD with AWS Developer Tools and FargateAmazon Web Services
 
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...Amazon Web Services
 
Deep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & FargateDeep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & FargateAmazon Web Services
 
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019 Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019 Amazon Web Services
 
Serverless is not Cloudless - Serverless Security in AWS & AWS funds for Star...
Serverless is not Cloudless - Serverless Security in AWS & AWS funds for Star...Serverless is not Cloudless - Serverless Security in AWS & AWS funds for Star...
Serverless is not Cloudless - Serverless Security in AWS & AWS funds for Star...Daniel Zivkovic
 
Testing on AWS - AWS IL meetup
Testing on AWS - AWS IL meetupTesting on AWS - AWS IL meetup
Testing on AWS - AWS IL meetupBoaz Ziniman
 
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017Amazon Web Services
 
Build an Infra Product with AWS Fargate
Build an Infra Product with AWS FargateBuild an Infra Product with AWS Fargate
Build an Infra Product with AWS FargateWill Button
 
Analytics, Authentication and Data with AWS Amplify - MBL403 - re:Invent 2017
Analytics, Authentication and Data with  AWS Amplify - MBL403 - re:Invent 2017Analytics, Authentication and Data with  AWS Amplify - MBL403 - re:Invent 2017
Analytics, Authentication and Data with AWS Amplify - MBL403 - re:Invent 2017Amazon Web Services
 

What's hot (20)

Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019 Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
Containers and mission-critical applications - SEP309-R - AWS re:Inforce 2019
 
DataPalooza - ML + IoT Workshop: San Francisco Loft
DataPalooza - ML + IoT Workshop: San Francisco LoftDataPalooza - ML + IoT Workshop: San Francisco Loft
DataPalooza - ML + IoT Workshop: San Francisco Loft
 
Scale permissions management in AWS with attribute-based access control - SDD...
Scale permissions management in AWS with attribute-based access control - SDD...Scale permissions management in AWS with attribute-based access control - SDD...
Scale permissions management in AWS with attribute-based access control - SDD...
 
Design for compliance: Practical patterns for meeting your IT compliance requ...
Design for compliance: Practical patterns for meeting your IT compliance requ...Design for compliance: Practical patterns for meeting your IT compliance requ...
Design for compliance: Practical patterns for meeting your IT compliance requ...
 
Build a dashboard using serverless security analytics - SDD201 - AWS re:Infor...
Build a dashboard using serverless security analytics - SDD201 - AWS re:Infor...Build a dashboard using serverless security analytics - SDD201 - AWS re:Infor...
Build a dashboard using serverless security analytics - SDD201 - AWS re:Infor...
 
Securing your block storage on AWS - GRC207 - AWS re:Inforce 2019
Securing your block storage on AWS - GRC207 - AWS re:Inforce 2019 Securing your block storage on AWS - GRC207 - AWS re:Inforce 2019
Securing your block storage on AWS - GRC207 - AWS re:Inforce 2019
 
Deep Learning Demystified - A (Mostly) Effortless Introduction: AWS Developer...
Deep Learning Demystified - A (Mostly) Effortless Introduction: AWS Developer...Deep Learning Demystified - A (Mostly) Effortless Introduction: AWS Developer...
Deep Learning Demystified - A (Mostly) Effortless Introduction: AWS Developer...
 
Integrating security testing into your container build pipeline - SDD308 - AW...
Integrating security testing into your container build pipeline - SDD308 - AW...Integrating security testing into your container build pipeline - SDD308 - AW...
Integrating security testing into your container build pipeline - SDD308 - AW...
 
Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...Architecting security and governance through policy guardrails in Amazon EKS ...
Architecting security and governance through policy guardrails in Amazon EKS ...
 
Introduction of AWS IoT's great points
Introduction of AWS IoT's great pointsIntroduction of AWS IoT's great points
Introduction of AWS IoT's great points
 
CI/CD with AWS Developer Tools and Fargate
CI/CD with AWS Developer Tools and FargateCI/CD with AWS Developer Tools and Fargate
CI/CD with AWS Developer Tools and Fargate
 
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
Enforcing security invariants with AWS Organizations - SDD314 - AWS re:Inforc...
 
Deep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & FargateDeep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & Fargate
 
CI/CD using AWS developer tools
CI/CD using AWS developer toolsCI/CD using AWS developer tools
CI/CD using AWS developer tools
 
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019 Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
Achieving security goals with AWS CloudHSM - SDD333 - AWS re:Inforce 2019
 
Serverless is not Cloudless - Serverless Security in AWS & AWS funds for Star...
Serverless is not Cloudless - Serverless Security in AWS & AWS funds for Star...Serverless is not Cloudless - Serverless Security in AWS & AWS funds for Star...
Serverless is not Cloudless - Serverless Security in AWS & AWS funds for Star...
 
Testing on AWS - AWS IL meetup
Testing on AWS - AWS IL meetupTesting on AWS - AWS IL meetup
Testing on AWS - AWS IL meetup
 
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017
 
Build an Infra Product with AWS Fargate
Build an Infra Product with AWS FargateBuild an Infra Product with AWS Fargate
Build an Infra Product with AWS Fargate
 
Analytics, Authentication and Data with AWS Amplify - MBL403 - re:Invent 2017
Analytics, Authentication and Data with  AWS Amplify - MBL403 - re:Invent 2017Analytics, Authentication and Data with  AWS Amplify - MBL403 - re:Invent 2017
Analytics, Authentication and Data with AWS Amplify - MBL403 - re:Invent 2017
 

Similar to AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chicago AWS Summit

AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications Amazon Web Services
 
BDA210 AWS DeepLens Workshop Building Computer Vision Applications
BDA210 AWS DeepLens Workshop Building Computer Vision Applications BDA210 AWS DeepLens Workshop Building Computer Vision Applications
BDA210 AWS DeepLens Workshop Building Computer Vision Applications Amazon Web Services
 
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...Amazon Web Services
 
AWS DeepLens Workshop: Building Computer Vision Applications
AWS DeepLens Workshop: Building Computer Vision ApplicationsAWS DeepLens Workshop: Building Computer Vision Applications
AWS DeepLens Workshop: Building Computer Vision ApplicationsAmazon Web Services
 
Get Started with Deep Learning and Computer Vision Using AWS DeepLens (AIM316...
Get Started with Deep Learning and Computer Vision Using AWS DeepLens (AIM316...Get Started with Deep Learning and Computer Vision Using AWS DeepLens (AIM316...
Get Started with Deep Learning and Computer Vision Using AWS DeepLens (AIM316...Amazon Web Services
 
AI & Machine Learning at AWS - An Introduction
AI & Machine Learning at AWS - An IntroductionAI & Machine Learning at AWS - An Introduction
AI & Machine Learning at AWS - An IntroductionDaniel Zivkovic
 
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...Amazon Web Services
 
Brad Kenstler - A new way to learn machine learning.pdf
Brad Kenstler - A new way to learn machine learning.pdfBrad Kenstler - A new way to learn machine learning.pdf
Brad Kenstler - A new way to learn machine learning.pdfAmazon Web Services
 
A New Way to Learn Machine Learning
A New Way to Learn Machine LearningA New Way to Learn Machine Learning
A New Way to Learn Machine LearningAmazon Web Services
 
NEW LAUNCH! AWS DeepLens workshop: Building Computer Vision Applications - MC...
NEW LAUNCH! AWS DeepLens workshop: Building Computer Vision Applications - MC...NEW LAUNCH! AWS DeepLens workshop: Building Computer Vision Applications - MC...
NEW LAUNCH! AWS DeepLens workshop: Building Computer Vision Applications - MC...Amazon Web Services
 
AWS DeepLens - A New Way to Learn Machine Learning
AWS DeepLens - A New Way to Learn Machine LearningAWS DeepLens - A New Way to Learn Machine Learning
AWS DeepLens - A New Way to Learn Machine LearningAmazon Web Services
 
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Atlan...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Atlan...AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Atlan...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Atlan...Amazon Web Services
 
From Code to a Running Container | AWS Floor28
From Code to a Running Container | AWS Floor28From Code to a Running Container | AWS Floor28
From Code to a Running Container | AWS Floor28Amazon Web Services
 
Enabling Deep Learning in IoT Applications with Apache MXNet
Enabling Deep Learning in IoT Applications with Apache MXNetEnabling Deep Learning in IoT Applications with Apache MXNet
Enabling Deep Learning in IoT Applications with Apache MXNetAmazon Web Services
 
Solving for Identity and Authentication with .NET Apps on AWS (GPSWS408) - AW...
Solving for Identity and Authentication with .NET Apps on AWS (GPSWS408) - AW...Solving for Identity and Authentication with .NET Apps on AWS (GPSWS408) - AW...
Solving for Identity and Authentication with .NET Apps on AWS (GPSWS408) - AW...Amazon Web Services
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWSAmazon Web Services
 
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...Amazon Web Services
 
Amazon Deeplens 와 컴퓨터 비전 딥러닝 어플리케이션 활용::Sunil Mallya::AWS Summit Seoul 2018
Amazon Deeplens 와 컴퓨터 비전 딥러닝 어플리케이션 활용::Sunil Mallya::AWS Summit Seoul 2018Amazon Deeplens 와 컴퓨터 비전 딥러닝 어플리케이션 활용::Sunil Mallya::AWS Summit Seoul 2018
Amazon Deeplens 와 컴퓨터 비전 딥러닝 어플리케이션 활용::Sunil Mallya::AWS Summit Seoul 2018Amazon Web Services Korea
 
CI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelCI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelAmazon Web Services
 
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdfNirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdfAmazon Web Services
 

Similar to AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chicago AWS Summit (20)

AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications AWS DeepLens Workshop_Build Computer Vision Applications
AWS DeepLens Workshop_Build Computer Vision Applications
 
BDA210 AWS DeepLens Workshop Building Computer Vision Applications
BDA210 AWS DeepLens Workshop Building Computer Vision Applications BDA210 AWS DeepLens Workshop Building Computer Vision Applications
BDA210 AWS DeepLens Workshop Building Computer Vision Applications
 
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...
 
AWS DeepLens Workshop: Building Computer Vision Applications
AWS DeepLens Workshop: Building Computer Vision ApplicationsAWS DeepLens Workshop: Building Computer Vision Applications
AWS DeepLens Workshop: Building Computer Vision Applications
 
Get Started with Deep Learning and Computer Vision Using AWS DeepLens (AIM316...
Get Started with Deep Learning and Computer Vision Using AWS DeepLens (AIM316...Get Started with Deep Learning and Computer Vision Using AWS DeepLens (AIM316...
Get Started with Deep Learning and Computer Vision Using AWS DeepLens (AIM316...
 
AI & Machine Learning at AWS - An Introduction
AI & Machine Learning at AWS - An IntroductionAI & Machine Learning at AWS - An Introduction
AI & Machine Learning at AWS - An Introduction
 
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
Intelligence of Things: IoT, AWS DeepLens and Amazon SageMaker - AWS Summit S...
 
Brad Kenstler - A new way to learn machine learning.pdf
Brad Kenstler - A new way to learn machine learning.pdfBrad Kenstler - A new way to learn machine learning.pdf
Brad Kenstler - A new way to learn machine learning.pdf
 
A New Way to Learn Machine Learning
A New Way to Learn Machine LearningA New Way to Learn Machine Learning
A New Way to Learn Machine Learning
 
NEW LAUNCH! AWS DeepLens workshop: Building Computer Vision Applications - MC...
NEW LAUNCH! AWS DeepLens workshop: Building Computer Vision Applications - MC...NEW LAUNCH! AWS DeepLens workshop: Building Computer Vision Applications - MC...
NEW LAUNCH! AWS DeepLens workshop: Building Computer Vision Applications - MC...
 
AWS DeepLens - A New Way to Learn Machine Learning
AWS DeepLens - A New Way to Learn Machine LearningAWS DeepLens - A New Way to Learn Machine Learning
AWS DeepLens - A New Way to Learn Machine Learning
 
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Atlan...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Atlan...AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Atlan...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Atlan...
 
From Code to a Running Container | AWS Floor28
From Code to a Running Container | AWS Floor28From Code to a Running Container | AWS Floor28
From Code to a Running Container | AWS Floor28
 
Enabling Deep Learning in IoT Applications with Apache MXNet
Enabling Deep Learning in IoT Applications with Apache MXNetEnabling Deep Learning in IoT Applications with Apache MXNet
Enabling Deep Learning in IoT Applications with Apache MXNet
 
Solving for Identity and Authentication with .NET Apps on AWS (GPSWS408) - AW...
Solving for Identity and Authentication with .NET Apps on AWS (GPSWS408) - AW...Solving for Identity and Authentication with .NET Apps on AWS (GPSWS408) - AW...
Solving for Identity and Authentication with .NET Apps on AWS (GPSWS408) - AW...
 
Developing Serverless Application on AWS
Developing Serverless Application on AWSDeveloping Serverless Application on AWS
Developing Serverless Application on AWS
 
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
 
Amazon Deeplens 와 컴퓨터 비전 딥러닝 어플리케이션 활용::Sunil Mallya::AWS Summit Seoul 2018
Amazon Deeplens 와 컴퓨터 비전 딥러닝 어플리케이션 활용::Sunil Mallya::AWS Summit Seoul 2018Amazon Deeplens 와 컴퓨터 비전 딥러닝 어플리케이션 활용::Sunil Mallya::AWS Summit Seoul 2018
Amazon Deeplens 와 컴퓨터 비전 딥러닝 어플리케이션 활용::Sunil Mallya::AWS Summit Seoul 2018
 
CI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelCI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day Israel
 
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdfNirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
Nirav Kothari: Well-Architected - Operational Excellence Instructor Led Lab.pdf
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Chicago AWS Summit

  • 1. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Mahendra Bairagi Specialist Solutions Architect AI / ML BDA201 AWS DeepLens Workshop: Building Computer Vision Applications
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DeepLens is not a video camera … It’s the world’s first deep learning-enabled developer kit
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Artificial intelligence at Amazon
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. PLATFORM SERVICES APPLICATION SERVICES FRAMEWORKS & INTERFACES Caffe2 CNTK Apache MXNet PyTorch TensorFlow Chainer Keras Gluon AWS Deep Learning AMIs Amazon SageMaker Amazon Rekognition Amazon Transcribe Amazon Translate Amazon Polly Amazon Comprehend Amazon Lex AWS DeepLens EDUCATION The Amazon machine learning stack
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Get started with sample projects ARTISTIC STYLE TRANSFER OBJECT DETECTION FACE DETECTIONHOT DOG / NOT HOT DOG CAT vs. DOG ACTIVITY DETECTION O r b u ild cu stom d eep learn in g mod els in th e c lou d u sin g Amazon SageMaker HEAD POSE DETECTION
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DeepLens specifications • Intel Atom processor • Gen9 graphics • Ubuntu OS- 16.04 LTS • 100 GFLOPS performance • Dualband Wi-Fi • 8 GB RAM • 16 GB storage (eMMC) • 32 GB SD card • 4 MP camera with MJPEG • H.264 encoding at 1080p resolution • 2 USB ports • Micro HDMI • Audio out • AWS Greengrass preconfigured • Intel clDNN optimized for MXNet
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. Deploying a model to AWS DeepLens 1. Machine learning overview 4. Extending a project Today we will cover: 2. Training a model in Amazon SageMaker Amazon RekognitionAmazon S3 AWS Lambda
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1. Machine learning overview
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Model training Inference Overview of deep learning Data
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data Annotate Preprocess Data split
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Model training • Define model architecture • Input the annotated and cleaned data into the model • Multiple iterations (epochs) to train the model • Validate with held-back dataset Large, annotated dataset Training set Validation set Training Validate
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference It’s where the magic happens! 1. Preprocess the new data or image just like a training set. 2. Feed image back to the trained model to get a predicted output.
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2. Training a model in Amazon SageMaker
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lab #1: Training a model in Amazon SageMaker • Objective: Learn how to build and train a face recognition model • Time: 40 min. • Steps: 1. About Amazon SageMaker 2. Self-paced lab
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon SageMaker Fully managed hosting with Auto Scaling One-click deployment Pre-built notebooks for common problems Built-in, high- performance algorithms Hyperparameter optimization Build Train Deploy One-click training
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lab details – Amazon SageMaker The self-paced lab includes the following steps: 1. Import a prepared Jupyter Notebook into Amazon SageMaker. 2. The notebook walks you through building a face recognition model in Amazon SageMaker. 3. Create an Amazon S3 bucket, and export the updated model there.
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Self-paced Lab – #1 1. Turn on AWS DeepLens. If it is turned on, access monitor and open Firefox. 2. Find the instruction manual here: https://github.com/fibbonnaci/DeepLens- workshops 3. Access Hands-on Lab 1 tutorial. 40 minutes
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Important note! Please ensure you stop the Amazon SageMaker notebook instance to avoid ongoing charges to your AWS account.
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3. Deploying a model to AWS DeepLens
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Under the covers: Console
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Under the covers: Device
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lab #2: Deploying a model to AWS DeepLens • Objective: Learn how to configure AWS DeepLens and deploy a model • Time: 40 min. • Steps: 1. Register and configure AWS DeepLens 2. Deploy a model
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Follow along instructions 1. Find the instructions manual here: https://github.com/fibbonnaci/DeepLens- workshops 2. Access Hands-on Lab 2: Register your AWS DeepLens device and deploy to device
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Please note: Keep your laptops closed! We’ll use the AWS DeepLens connected to the Ethernet and the workshop monitor / keyboard / pointer set up for device registration, not your laptops.
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Register AWS DeepLens 1. Choose Register device.
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2. Provide a name for your device, for example, yourname-sf-AIDC. 3. Choose Next. Register AWS DeepLens
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Set permissions 1. Choose Create roles.
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Set permissions 2. Choose Next.
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Download certificate 1. Choose Download certificate. 2. Choose Finish.
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Configure AWS DeepLens 1. Find the reset pin in the back of the AWS DeepLens device. 2. Use the provided pin to reset the device. You should hear a click. 3. The middle LED (Wi-Fi) will be blinking. Before moving ahead …
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Run this step before moving ahead sudo systemctl restart softap.service 1. Open Terminal, and run this command:
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Configure AWS DeepLens 1. Find the reset pin in the back of the AWS DeepLens device. 2. Use the provided pin to reset the device. You should hear a click. 3. The middle LED (Wi-Fi) will be blinking. 4. Choose complete the setup.
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. First-time device registration • You will see the updates available screen. • Choose Install and Reboot. It will take 5 minutes for the updates to come through. • After the updates are installed, the device will reboot automatically; you should see the monitor go black and reboot the Linux kernel. Note: This may take 5 minutes! Please be patient.
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. First-time device registration (con’t.) • After the reboot, open up your browser, the device will come back to the install and reboot screen. • Click Install and Reboot one more time and wait for your device to reboot. • After the second reboot, open up the web browser again and remove "#softwareUpdates" from the URL. You should now be on the attach/upload certificate screen.
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5. For Network connection, choose Edit. Configure AWS DeepLens
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 6. Choose Use Ethernet. Configure AWS DeepLens
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 7. For Certificate, choose Edit. Configure AWS DeepLens
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 8. Upload the .zip file you downloaded during registration. 9. Choose Next. Configure AWS DeepLens
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 10. Download Streaming certificate. Configure AWS DeepLens
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Important: If asked for a password, provide Aws2017! as the device password. Choose Review. Configure AWS DeepLens
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 11. Choose Finish. Configure AWS DeepLens
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Verify registration 1. Log in to the AWS DeepLens console. https://console.aws.amazon.com/deepl ens This is the AWS DeepLens console. 2. Select Devices.
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Verify registration 3. You should see a green check mark and Registered under Registration status.
  • 44. Run this step before moving ahead sudo systemctl restart greengrassd.service --no-block 1. Open Terminal, and run this command:
  • 45. Now, it’s time to create a project 1. From the left navigation bar, choose Projects.
  • 46. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Now, it’s time to create a project 2. Choose Create new project.
  • 47. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use a face detection sample 3. Select Use a project template. 4. Select Face detection from sample project templates. 5. Choose Next at the bottom of screen.
  • 48. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Create a project 6. Choose Create. It will take a few minutes to create the project.
  • 49. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Deploy project to the device 7. Find your project in the list (the one you just named). 8. Choose the radio button. 9. Choose Deploy to device.
  • 50. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 10. Select your device. 11. Choose Review. Target your device
  • 51. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Deploy! 12. Choose Deploy. A note on costs …
  • 52. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Wait for the project to be deployed Blue banner = Deployment in progress Green banner = Deployment successful
  • 53. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Let’s view the output You can view the output over the terminal or in the browser. For this workshop, we will view the output over the terminal. 1. Open Terminal on Ubuntu desktop (on the desktop, choose the top left button and search for terminal). 2. Enter the following command: mplayer -demuxer lavf -lavfdopts format=mjpeg:probesize=32 /tmp/results.mjpeg
  • 54. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 4. Extending a project: Audience response tracking with AWS
  • 55. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Winners of the DeepLens Hackathon First place Second place Third place ReadToMe Created by Alex Schultz ReadToMe is a deep learning- enabled application that is able to read books to kids. In this case, reading Green Eggs and Ham, by Dr. Seuss. Dee Created by Matthew Clark Dee is a fun AWS DeepLens interactive device for children. The device asks children to answer questions by showing a picture of the answer. SafeHaven Created by Nathan Stone and Peter McLean SafeHaven uses Alexa and AWS DeepLens to bring peace of mind for vulnerable people and their families. View all 23 projects at: https://aws.amazon.com/deeplens/community-projects
  • 56. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 57. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Rekognition image Inference Lambda Amazon S3 Bucket Amazon DynamoDB Amazon SageMaker & AWS DeepLens console Amazon S3 Bucket Recognize emotions Lambda Training / validation data Cropped face images Cropped face images Detected emotions AWS DeepLens Cloud Amazon CloudWatch Detected emotions
  • 58. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Now, let’s see it in action.
  • 59. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Are you ready for a challenge? AWS DeepLens Challenge • What is it: Eight themed challenges that will each run for two weeks, you have the opportunity to combine your ideas with the capability of AWS DeepLens to create machine learning projects that can have a positive impact on the world. • Why: These challenges will help you gain valuable machine learning experience within a fun, collaborative, and inspiring environment. You’ll be making a positive impact on improving people’s lives and supporting non-profits that benefit our society. • When: Challenges started on July 10 and will run though end of October 2018. • Learn more: https://aws.amazon.com/deeplens/challenge/ B u i l d m a c h i n e l e a r n i n g p r o j e c t s u s i n g A W S D e e p L e n s a n d m a k e a d i f f e r e n c e !
  • 60. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Questions?
  • 61. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thanks & wrap-up Order on Amazon.com Search: AWS DeepLens See what others have built aws.amazon.com/deeplens/community-projects Request a workshop Work with your AWS account management team to request a hands-on Amazon SageMaker & AWS DeepLens workshop
  • 62. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Submit session feedback 1. Tap the Schedule icon. 2. Select the session you attended. 3. Tap Session Evaluation to submit your feedback.
  • 63. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!