SlideShare a Scribd company logo
1 of 61
Welcome
Datapalooza:
A Music festival themed
ML & IoT Workshop
Agenda
Overview—30 mins
Prep Challenge—1 hour
Challenge 1—2.5 hours
Lunch
Challenge 2—2.5 hours
The Challenge
DataPalooza—A music festival themed ML & IoT Workshop
Scenario: Your bold startup has taken the challenge of providing a new type of EDM music festival
experience. At venues with multiple stages, festival-goers are always looking to identify which DJ stage
areas are the liveliest. This causes them to constantly move around between different stages and miss
out. You are looking to use Machine Learning and IoT to come up with a connected
fan experience that takes the music festival scene to the next level. From your initial research there are
existing ML models that you can leverage to do face and emotion detection, but there are two ways that
the predictions (inference) can be done; on the cloud and on the camera itself, but which one will work the
best for your needs at the festival? You are going to test both approaches and find out!
In this workshop you will use AWS and Intel technologies including Amazon SageMaker with Intel C5
Instances, AWS DeepLens, AWS Greengrass, Amazon Rekognition, AWS Lambda, along with Intel IoT
hardware kits. The objective of the workshop is to learn how to build and deploy a machine learning model
and then run inference on it from the cloud and from the edge device.
By the time you’re done with these challenges, EDM DJ’s will be able to tell whether the crowd is enjoying
their set by the looks on their faces.
Amazon SageMaker
Amazon Machine Learning Stack
Platform Services
Application Services
Frameworks & Interfaces
Caffe2 CNTK
Apache
MXNet
PyTorch TensorFlow Chainer Keras Gluon
AWS Deep Learning AMIs
Infrastructure
EC2 GPUs EC2 CPUs IoT Edge
AWS
DeepLens
Education
Machine Learning Process is Hard…
Fetch
data
Clean &
format data
Prepare &
transform
data
Train
model
Evaluate
model
Integrate
with prod
Monitor/
debug/
refresh
Data wrangling
• Set up and manage
Notebook environments
• Get data to notebooks securely
Experimentation
• Set up and manage clusters
• Scale/distribute ML algorithms
Deployment
• Set up and manage
inference clusters
• Manage and auto scale
inference APIs
• Testing, versioning,
and monitoring
Amazon’s fast, scalable algorithms
Distributed Apache MXNet and TensorFlow
Bring your own algorithm
Hyperparameter optimization
Building HostingTraining
Amazon SageMaker Components
Amazon SageMaker Components
Amazon’s fast, scalable algorithms
Distributed Apache MXNet and TensorFlow
Bring your own algorithm
Hyperparameter optimization
Building Hosting (C/P)Training
Resizable as
you need
Common tools
pre-installed
Easy access to
your data sources
No servers
to manage
Zero Setup for Data Exploration
Amazon SageMaker Components
Amazon’s fast, scalable algorithms
Distributed Apache MXNet and TensorFlow
Bring your own algorithm
Hyperparameter optimization
Building Hosting (C/P)Training
Clusters of GPU
or powerful CPU
Distributed Training that Works with You
Amazon-optimized
algorithms using the
AWS SDK…
… or Apache Spark
IM Estimators
Bring your own deep
learning script…
… or your custom
algorithm Docker image
More than Just General Purpose Algorithms
XGBoost, FM, and
Linear for classification
and regression
Kmeans and PCA
for clustering and
dimensionality reduction
Image classification
with convolutional
neural networks
LDA and NTM for
topic modeling, seq2seq
for translation
Amazon ECS
Bring Your Own Algorithm
... publish to Amazon ECS... add algorithm code
to a Docker container...
Choose your own framework
Amazon’s fast, scalable algorithms
Distributed Apache MXNet and TensorFlow
Bring your own algorithm
Hyperparameter optimization
Building Hosting (C/P)Training
Elastic Clusters
CPU or GPU
instances
Amazon SageMaker Components
Hosting
One-step
deployment
Low latency
High throughput
High reliability
A/B
testing
Use your
own model
Modular Architecture So You Can Use What You Need
Training
algorithm
Model
artifacts
Inference
code
Client
application
Model
Data Inference
Ground
truth
Amazon SageMaker
Past
Data
Pay As You Go and Inexpensive
ML compute by the
second starting
at $0.0464/hr
ML storage by the
second at $0.14
per GB-month
Data processed in
notebooks and hosting
at $0.016 per GB
Free trial to
get started quickly
Amazon EC2 C5 Instances
Cost effective CPUs, e.g., for models using INT8
• Powered by 3.0 GHz Intel Xeon (Skylake) platinum processors
• 72 vCPUs and 155-GB RAM (25% price/performance improvement versus C4)
• Nitro Hypervisor for larger instance sizes
Ideal for running ML inference as GPU based instances would be overkill
(cost saving)
Suitable for training simple ML algorithms (text or CSV data) or during
dev/test mode and proof-of-concepts
Can we do more to put ML in the
hands of all developers (literally)?
AWS Deeplens
is not a video camera…
…it’s the worlds first
Deep Learning Enabled
Developer kit
Artistic style
transfer
Object
detection
Face detection
/recognition
Hot dog/
not hot dog
Cat versus
dog
Activity
detection
add custom functionality
or
create your own project
Get Started with Sample Projects
Deeplens Specifications
• Intel Atom Processor
• Gen9 graphics
• Ubuntu OS- 16.04 LTS
• 100 GFLOPS performance
• Dual band 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
• clDNN Optimized for MXNet
Under the Covers—Console
Under the Covers—Device
AWS Deeplens Architecture
Video out
Data out
Inference
Deploy projects
Manage device
Security
Console Project
Management
AWS Cloud
Intel: Model Optimizer
cIDNN and Driver
AWS Greengrass
AWS and Intel
Amazon Web Services (AWS) and Intel technologies are designed to provide
a more secure, scalable edge-to-cloud solution for IoT applications
• Operate locally and on the cloud
• Easily manage and update devices
• Connect fleets of devices, gateways, and cloud environments
Customer Pain Points with IoT Implementation
Security
• Securing data transport to the cloud
with encryption
• Enabling devices to communicate
with one another without
introducing vulnerabilities
• Ensuring devices have not been
tampered with before sending data
to the cloud
• Authenticating device identity without
sending credentials over the wire
Deployment and Management
• Managing large numbers of
simultaneous connections to devices
connecting via different networks
• Updating device software, patching, and
sending configurations to device fleets
• Incorporating legacy and proprietary
protocols with IoT deployments
• Bandwidth and storage costs of
sending device data to the cloud when
local hardware has sufficient resources
for local analytics
• Ongoing security management over
life of implementation
Scale
• Managing large numbers of
simultaneous connections to devices
connecting via different networks
• Updating device software, patching, and
sending configurations to device fleets
• Incorporating legacy and proprietary
protocols with IoT deployments
• Bandwidth and storage costs of
sending device data to the cloud when
local hardware has sufficient resources
for analytics
Benefits of Using AWS with Intel IoT Hardware
Easy to deploy
and manage
Whether making existing
things smart or deploying
new connected devices,
AWS and Intel make it easy
to get started
Security enabled
Intel hardware and software
solutions are tightly
integrated with the robust
AWS cloud infrastructure to
deliver enhanced security,
from to device, to network,
to cloud
Scalable
Start with minimal or no
upfront investment and
easily scale to millions
of devices and billions
of messages
Cost-effective
Leverage pay-as-you-go
pricing, the flexibility to use
local and cloud resources,
and flexible and low-cost IT
resources powered by Intel
technology to reduce the
costs of IoT deployments
AWS and Intel Strategies to Maximize Value
of IoT Deployments
Act locally on device data
at the edge. Use the cloud
for management, analytics,
and durable storage
Operate offline in
circumstances when
latency requirements or
intermittent connectivity
that make a round trip to
the cloud unfeasible
Execute AWS Lambda
functions locally using AWS
Greengrass, reducing the
complexity of developing
embedded software
Increase the quality of the
data you send to the cloud
through filtering device data
locally and only transmitting
the data you need so you
can achieve rich insight at
a lower cost
Where Do I Want To Process Data?
Infrastructure CloudPoPIoT Endpoint Gateway Appliance
Common Programming Model
Onboard
AWS
Cloud
Lambda
@Edge
Amazon
FreeRTOS
Greengrass
Features of Greengrass
Security
AWS-grade
security
Data and
state sync
Local
Device Shadows
Local
triggers
Local
Message Broker
Local
actions
Local
Lambda Functions
Machine
Inference
Local Execution
of ML Models
Protocol
Adapters
Local messaging
with other devices
Over the
Air Updates
Easily Update
Greengrass Core
Local
Resource Access
Lambdas interact
with peripherals
Amazon
FreeRTOS
Works together
out of the box
Benefits AWS Greengrass
Respond quickly
to local events
Operate
offline
Simplified device
programming
Reduce the cost of
IoT applications
AWS-grade
security
Amazon Rekognition
A Music festival themed
ML & IoT Workshop
Images—Universal, Ubiquitous, and Essential
There are 3,700,000,000 internet users in 2017
1,200,000,000 photos will be taken in 2017 (9% YoY Growth)
Source: InfoTrends Worldwide
Amazon Rekognition
Extract rich metadata from visual content
Object and Scene
Detection
Facial
Analysis
Face
Comparison
Facial
Recognition
Celebrity
Recognition
Image
Moderation
Why Use Rekognition?
Object & Scene Detection
• Photo-sharing apps can power smart searches and
quickly find cherished memories, such as weddings, hiking,
or sunsets
Facial Analysis
• Retail businesses can understand the demographics and
sentiment of in-store customers
Face Comparison
• Hotels & hospitality businesses can provide seamless
access for guests and VIPs
Facial Recognition
• Provide secondary authentication for existing applications
Object and scene detection makes it easy for you to add features
that search, filter, and curate large image libraries
DetectLabels
Flower
Arrangement
Chair
Coffee Table
Living Room Indoors
Furniture
Cushion
Vase
Maple
Villa
Plant
Garden
Water
Swimming Pool
Tree
Potted Plant
Backyard
Patio
Object & Scene Detection
Identify objects and scenes and provide confidence scores
Emotion Expressed
General Attributes
Facial Pose
Facial Landmarks
EyeLeft,EyeRight,Nose
RightPupil,LeftPupil
MouthRight,LeftEyeBrowUp
Bounding Box...
Happy
Surprised
Smile:True
EyesOpen:True
Beard:True
Mustache:True
Pitch
Roll
Yaw
Demographic Data
Age Range
Gender:Male
29–45
96.5%
Facial Analysis
Analyze facial characteristics in multiple dimensions
DetectFaces
Image Quality
Brightness
Sharpness
23.6%
99.9%
83.8%
0.65%
23.6%
99.8%
99.5%
99.9%
1.446
5.725
4.383
CompareFaces
Face Comparison
Measure the likelihood that faces are of the same person
Similarity 93%
Similarity 0%
Search
Index
Collection
SearchFacesByImage
Facial Recognition
Find similar faces in a large collection of images
Detect explicit and suggestive contentRecognize thousands of famous individuals
DetectModerationLabelsRecognizeCelebrities
Celebrity Recognition & Image Moderation
Newly released Rekognition features
Interfacing with Rekognition
Optimizing your input & requests for best performance
• S3 input for API calls – max image size of 15MB
• 5MB limit for non-S3 (Base64 encoded) API calls
• Minimum image resolution (x or y) of 80 pixels
• Image data supported in PNG or JPG format
• Max number of faces in a single face collection is 1 million
• The max matching faces the search API returns is 4096
• Size of face should occupy 5%+ of image for detection
• Collections are for faces!
…
Use Amazon CloudWatch to observe & issue alerts on Rekognition metrics
https://console.aws.amazon.com/rekognition/home
Rekognition APIs—Overview
Rekognition’s computer vision API operations can be grouped into
Non-storage API operations, and Storage-based API operations
Non-storage API Operations Storage-based API Operations
{
"FaceMatches": [
{"Face": {"BoundingB
"Height":
0.2683333456516266,
"Left":
0.5099999904632568,
"Top":
0.1783333271741867,
"Width":
0.17888888716697693},
"
CompareFaces
DetectFaces
DetectLabels
DetectModerationLabels
GetCelebrityInfo
RecognizeCelebrities
{
"FaceMatches": [
{"Face": {"BoundingB
"Height":
0.2683333456516266,
"Left":
0.5099999904632568,
"Top":
0.1783333271741867,
"Width":
0.17888888716697693},
"
CreateCollection
DeleteCollection
DeleteFaces
IndexFaces
ListCollections
SearchFaces
SearchFacesByImage
ListFaces
What Can You Do with Amazon Rekognition?
Search for people, objects, scenes, and concepts across millions of images
Filter inappropriate or specific content
Redact identities from images of faces
Verify identities by matching against reference faces
Recognize individuals by matching faces to a collection
Analyze user traffic hotspots and journey paths by demographics and sentiment
Searchable Image Library
Real Estate Property Search
Property Search Amazon Elasticsearch
User captures an image
for their property listing
Mobile app uploads
the image to S3
A Lambda function is triggered
and calls Rekognition
Rekognition retrieves the image from S3 and
returns labels for the property and amenities
Lambda pushes the labels and
confidence scores to Elasticsearch
Other users can search properties
by landmarks, category, etc.
Photo Upload Amazon S3 AWS Lambda Detect Objects & Scenes
Searchable Image Library
Real Estate Property Search
• Optimize the client
• Event based, decoupled infra
• Buffering—SQS, SNS, Kinesis
• Rate Control—high volume S3 image ingest
• DynamoDB—scale label storage
• Elasticsearch—operational & performance statistics
• CloudFront—search cache
AWS
Lambda
Amazon
S3
Amazon
SQS
AWS
CloudFormation
Amazon
CloudWatch
Amazon
Kinesis
Amazon
CloudFront
Amazon
DynamoDB
Amazon
ElasticSearch
1
2
3
Face-Based User Verification
Confirm user identities by comparing their live image with a reference image
Authenticated User
Image Capture
Amazon S3
Compare Faces
Rekognition compares the live image
and the badge image—and returns
a similarity score
The application retrieves the
user’s badge from S3
Application
If the similarity score is over 92%,
the application returns a green status.
If not, an alert is issued to security staff
The application captures a live
image of each employee as they
scan their access card
Face-Based User Verification
Confirm user identities by comparing their live image with a reference image
• S3 Encryption of badge images—
SSE-S3, SSE-KMS, SSE-C
• Prevent tampering with bucket
policies & IAM RO permissions
• Extend by using Rek collections
• Cloudtrail—Logging & Auditing
with tamper-proof log signatures
• Tie notification into SNS/SES,
Custom CloudWatch Logs metrics,
or ElasticSearch with alerts
AWS
KMS
AWS
CloudTrail
AWS
Lambda
Amazon
S3
Amazon
SNS
AWS
CloudFormation
Amazon
CloudWatch
Amazon
SES
1
2
3
Facial Recognition
Identify individuals by matching a live image to a collection of
images of known persons
#0123 #0123
5426 128762
78426 45871
286546 26751
3861 945
Images SearchFacesByImage Face Collection
Person Details Table
Photo AppEnd User Amazon S3
Rekognition searches the face collection for
matches to the reference image and returns an
array of face metadata for potential face
matches, ordered by similarity
If source images are required,
they are retrieved from S3
The photo app displays search
results to the end user
Collections and Access Patterns
Logging—visitor logs, digital libraries
• Easily find specific images from a digital library
• Find certain images by using a reference image
Social Tagging—photo storage and sharing
• One collection per application user
• Automated friend tagging
Person Verification—employee gate check
• One collection for each person to be verified
• Detection of stolen/shared IDs
Rekognition APIs—Advanced Usage
Decision trees and processing pipelines
Why?
• Many use cases require more than a single operation
to arrive at actionable data
How?
• S3 event notifications, Lambda, Step Functions
• DynamoDB for persistent pipeline storage
• Augmenting results with 3rd Party AI/ML
• OpenCV, MXNet, etc. on EC2 Spot, ECS, AI/ML AMI
Sample Use Cases
• Person of interest near a celebrity
• Multi-pass motion detection enhancement
• Subjects leaving a location without possessions
IndexFaces
DetectLabels
“person”
aws rekognition recognize-celebrities –image “S3Object={Bucket=mybucket,Name=cam.jpg}”
aws rekognition search-faces-by-image –image “S3Object={Bucket=mybucket,Name=cam.jpg}” 
--collection-id “persons-of-interest"
aws rekognition create-collection --collection-id “persons-of-interest”
aws rekognition index-faces --image “S3Object={Bucket=mybucket,Name=subject.jpg}” 
--collection-id “persons-of-interest”
Rekognition APIs—Advanced Usage
Person of Interest Near a Celebrity
{
"FaceMatches": [
{"Face": {"BoundingB
"Height":
0.2683333456516266,
"Left":
0.5099999904632568,
"Top":
0.1783333271741867,
"Width":
0.17888888716697693},
"
CompareFaces
DetectFaces
DetectLabels
DetectModerationLabels
GetCelebrityInfo
RecognizeCelebrities
2
{
"FaceMatches": [
{"Face": {"BoundingB
"Height":
0.2683333456516266,
"Left":
0.5099999904632568,
"Top":
0.1783333271741867,
"Width":
0.17888888716697693},
"
CreateCollection
DeleteCollection
DeleteFaces
IndexFaces
ListCollections
SearchFaces
SearchFacesByImage
ListFaces
3
1
Automating Footage Tagging with
Amazon Rekognition
• Built in three weeks
• Indexed against 99,000 people
• Index created in one day
• Saved ~9,000 hours a year in
manual curation costs
• Live video with frame sampling
Previously, only about half of all footage
was indexed due to the immense time
requirements required by manual processes
Automating Footage Tagging with
Amazon Rekognition
Solution Architecture
EncodersStills Extraction & Feeds
Results
Cache Bucket
R3
Amazon
Rekognition
users
Stills FramesSQS Trigger
1
2
3
4
1
Visual Search
Open Influence is a market leader in the
influencer marketing space and enables
global brands and agencies to identify
relevant influencers
• Real-time visual search, powered by
Rekognition, enables Open Influence to
tag millions of social images accurately
• Using Rekognition allowed Open Influence to
cut down the time it takes to source relevant
influencers from 2–3 days to minutes
Metadata Tagging
Scripps Networks Interactive is a leading
developer of engaging lifestyle content
• Instead of manually tagging media
assets, Rekognition enables Scripps
Networks Interactive to save time and
increase productivity with automated
metadata tagging
Amazon Rekognition Customers
Resources
Product information:
• Product page: https://aws.amazon.com/deeplens/
• Blog posts: https://aws.amazon.com/blogs/machine-learning/category/artificial-intelligence/aws-deeplens/
• Developer community projects: https://aws.amazon.com/deeplens/community-projects/
Help Getting started with DeepLens:
10-Minute tutorials: they can already access the step by step guides now. Note: Friday 5/4 there will be video versions
on You Tube for each of these that are easier to follow:
1. How to Configure Your New AWS DeepLens
https://aws.amazon.com/getting-started/tutorials/configure-aws-deeplens/
2. How to Create and Deploy a Deep Learning Project With AWS DeepLens
https://aws.amazon.com/getting-started/tutorials/create-deploy-project-deeplens/
3. How to Extent a Deep Leaning Project with AWS DeepLens
https://aws.amazon.com/getting-started/tutorials/extend-deeplens-project/
4. How to Build an AWS DeepLens project using Amazon SageMaker
https://aws.amazon.com/getting-started/tutorials/build-deeplens-project-sagemaker/
General questions:
Check out the AWS DeepLens FAQs or AWS DeepLens Developer Forum
Thank you!
Closing Video, AWS & Intel Better Together : https://youtu.be/ocJx_h_v1DY

More Related Content

What's hot

Building a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudBuilding a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudAmazon Web Services
 
Work Anywhere with Amazon Workspaces (Level: 200)
Work Anywhere with Amazon Workspaces (Level: 200)Work Anywhere with Amazon Workspaces (Level: 200)
Work Anywhere with Amazon Workspaces (Level: 200)Amazon Web Services
 
以 Amazon EC2 Spot 執行個體有效控制專案成本 (Level: 200)
以 Amazon EC2 Spot 執行個體有效控制專案成本 (Level: 200)以 Amazon EC2 Spot 執行個體有效控制專案成本 (Level: 200)
以 Amazon EC2 Spot 執行個體有效控制專案成本 (Level: 200)Amazon Web Services
 
BDA301 Working with Machine Learning in Amazon SageMaker: Algorithms, Models,...
BDA301 Working with Machine Learning in Amazon SageMaker: Algorithms, Models,...BDA301 Working with Machine Learning in Amazon SageMaker: Algorithms, Models,...
BDA301 Working with Machine Learning in Amazon SageMaker: Algorithms, Models,...Amazon Web Services
 
SRV203 Optimizing Amazon EC2 for Fun and Profit
 SRV203 Optimizing Amazon EC2 for Fun and Profit SRV203 Optimizing Amazon EC2 for Fun and Profit
SRV203 Optimizing Amazon EC2 for Fun and ProfitAmazon Web Services
 
SRV317 Creating and Publishing AR and VR Apps with Amazon Sumerian
SRV317 Creating and Publishing AR and VR Apps with Amazon SumerianSRV317 Creating and Publishing AR and VR Apps with Amazon Sumerian
SRV317 Creating and Publishing AR and VR Apps with Amazon SumerianAmazon Web Services
 
Accelerate Machine Learning with Ease using Amazon SageMaker
Accelerate Machine Learning with Ease using Amazon SageMakerAccelerate Machine Learning with Ease using Amazon SageMaker
Accelerate Machine Learning with Ease using Amazon SageMakerAmazon Web Services
 
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceAmazon Web Services
 
Keynote 2: AWS re:Invent 2017 Recap - Solutions Updates
Keynote 2: AWS re:Invent 2017 Recap - Solutions UpdatesKeynote 2: AWS re:Invent 2017 Recap - Solutions Updates
Keynote 2: AWS re:Invent 2017 Recap - Solutions UpdatesAmazon Web Services
 
Building an AWS Greengrass Machine Learning Solution at the Edge (IOT403-R1) ...
Building an AWS Greengrass Machine Learning Solution at the Edge (IOT403-R1) ...Building an AWS Greengrass Machine Learning Solution at the Edge (IOT403-R1) ...
Building an AWS Greengrass Machine Learning Solution at the Edge (IOT403-R1) ...Amazon Web Services
 
Move Your Desktops and Applications to AWS with Amazon WorkSpaces and AppStre...
Move Your Desktops and Applications to AWS with Amazon WorkSpaces and AppStre...Move Your Desktops and Applications to AWS with Amazon WorkSpaces and AppStre...
Move Your Desktops and Applications to AWS with Amazon WorkSpaces and AppStre...Amazon Web Services
 
AWSome Day - Solutions Architecture Best Practices
AWSome Day - Solutions Architecture Best PracticesAWSome Day - Solutions Architecture Best Practices
AWSome Day - Solutions Architecture Best PracticesAmazon Web Services
 
Demystifying Machine Learning on AWS
Demystifying Machine Learning on AWSDemystifying Machine Learning on AWS
Demystifying Machine Learning on AWSAmazon Web Services
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesVladimir Simek
 
Simple Cloud with Amazon Lightsail
Simple Cloud with Amazon LightsailSimple Cloud with Amazon Lightsail
Simple Cloud with Amazon LightsailAmazon Web Services
 
Building low latency apps with a serverless architecture and in-memory data I...
Building low latency apps with a serverless architecture and in-memory data I...Building low latency apps with a serverless architecture and in-memory data I...
Building low latency apps with a serverless architecture and in-memory data I...AWS Germany
 
Accelerating Life Sciences with HPC on AWS - AWS Online Tech Talks
Accelerating Life Sciences with HPC on AWS - AWS Online Tech TalksAccelerating Life Sciences with HPC on AWS - AWS Online Tech Talks
Accelerating Life Sciences with HPC on AWS - AWS Online Tech TalksAmazon Web Services
 
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...Amazon Web Services
 

What's hot (20)

Building a Modern Data Platform in the Cloud
Building a Modern Data Platform in the CloudBuilding a Modern Data Platform in the Cloud
Building a Modern Data Platform in the Cloud
 
Work Anywhere with Amazon Workspaces (Level: 200)
Work Anywhere with Amazon Workspaces (Level: 200)Work Anywhere with Amazon Workspaces (Level: 200)
Work Anywhere with Amazon Workspaces (Level: 200)
 
以 Amazon EC2 Spot 執行個體有效控制專案成本 (Level: 200)
以 Amazon EC2 Spot 執行個體有效控制專案成本 (Level: 200)以 Amazon EC2 Spot 執行個體有效控制專案成本 (Level: 200)
以 Amazon EC2 Spot 執行個體有效控制專案成本 (Level: 200)
 
BDA301 Working with Machine Learning in Amazon SageMaker: Algorithms, Models,...
BDA301 Working with Machine Learning in Amazon SageMaker: Algorithms, Models,...BDA301 Working with Machine Learning in Amazon SageMaker: Algorithms, Models,...
BDA301 Working with Machine Learning in Amazon SageMaker: Algorithms, Models,...
 
SRV203 Optimizing Amazon EC2 for Fun and Profit
 SRV203 Optimizing Amazon EC2 for Fun and Profit SRV203 Optimizing Amazon EC2 for Fun and Profit
SRV203 Optimizing Amazon EC2 for Fun and Profit
 
SRV317 Creating and Publishing AR and VR Apps with Amazon Sumerian
SRV317 Creating and Publishing AR and VR Apps with Amazon SumerianSRV317 Creating and Publishing AR and VR Apps with Amazon Sumerian
SRV317 Creating and Publishing AR and VR Apps with Amazon Sumerian
 
Accelerate Machine Learning with Ease using Amazon SageMaker
Accelerate Machine Learning with Ease using Amazon SageMakerAccelerate Machine Learning with Ease using Amazon SageMaker
Accelerate Machine Learning with Ease using Amazon SageMaker
 
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA308 Deep Dive: Log Analytics with Amazon Elasticsearch Service
 
Keynote 2: AWS re:Invent 2017 Recap - Solutions Updates
Keynote 2: AWS re:Invent 2017 Recap - Solutions UpdatesKeynote 2: AWS re:Invent 2017 Recap - Solutions Updates
Keynote 2: AWS re:Invent 2017 Recap - Solutions Updates
 
Managed NoSQL databases
Managed NoSQL databasesManaged NoSQL databases
Managed NoSQL databases
 
Building an AWS Greengrass Machine Learning Solution at the Edge (IOT403-R1) ...
Building an AWS Greengrass Machine Learning Solution at the Edge (IOT403-R1) ...Building an AWS Greengrass Machine Learning Solution at the Edge (IOT403-R1) ...
Building an AWS Greengrass Machine Learning Solution at the Edge (IOT403-R1) ...
 
Move Your Desktops and Applications to AWS with Amazon WorkSpaces and AppStre...
Move Your Desktops and Applications to AWS with Amazon WorkSpaces and AppStre...Move Your Desktops and Applications to AWS with Amazon WorkSpaces and AppStre...
Move Your Desktops and Applications to AWS with Amazon WorkSpaces and AppStre...
 
AWSome Day - Solutions Architecture Best Practices
AWSome Day - Solutions Architecture Best PracticesAWSome Day - Solutions Architecture Best Practices
AWSome Day - Solutions Architecture Best Practices
 
Demystifying Machine Learning on AWS
Demystifying Machine Learning on AWSDemystifying Machine Learning on AWS
Demystifying Machine Learning on AWS
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
 
Simple Cloud with Amazon Lightsail
Simple Cloud with Amazon LightsailSimple Cloud with Amazon Lightsail
Simple Cloud with Amazon Lightsail
 
Building low latency apps with a serverless architecture and in-memory data I...
Building low latency apps with a serverless architecture and in-memory data I...Building low latency apps with a serverless architecture and in-memory data I...
Building low latency apps with a serverless architecture and in-memory data I...
 
Accelerating Life Sciences with HPC on AWS - AWS Online Tech Talks
Accelerating Life Sciences with HPC on AWS - AWS Online Tech TalksAccelerating Life Sciences with HPC on AWS - AWS Online Tech Talks
Accelerating Life Sciences with HPC on AWS - AWS Online Tech Talks
 
Amazon Aurora 深度探討
Amazon Aurora 深度探討Amazon Aurora 深度探討
Amazon Aurora 深度探討
 
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
Deep Learning Applications Using TensorFlow, ft. Advanced Microgrid Solutions...
 

Similar to Datapalooza: A Music Festival Themed ML & IoT Workshop

DataPalooza - A Music Festival themed ML + IoT Workshop
DataPalooza - A Music Festival themed ML + IoT WorkshopDataPalooza - A Music Festival themed ML + IoT Workshop
DataPalooza - A Music Festival themed ML + IoT WorkshopAmazon Web Services
 
Machine Learning inference at the Edge
Machine Learning inference at the EdgeMachine Learning inference at the Edge
Machine Learning inference at the EdgeJulien SIMON
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the EdgeAmazon Web Services
 
Machine Learning and AI
Machine Learning and AIMachine Learning and AI
Machine Learning and AIJames Serra
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the EdgeJulien SIMON
 
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...James Serra
 
Sergii Baidachnyi ITEM 2018
Sergii Baidachnyi ITEM 2018Sergii Baidachnyi ITEM 2018
Sergii Baidachnyi ITEM 2018ITEM
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated MLMark Tabladillo
 
Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...
Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...
Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...Lviv Startup Club
 
Microsoft AI Platform Overview
Microsoft AI Platform OverviewMicrosoft AI Platform Overview
Microsoft AI Platform OverviewDavid Chou
 
Serverless machine learning architectures at Helixa
Serverless machine learning architectures at HelixaServerless machine learning architectures at Helixa
Serverless machine learning architectures at HelixaData Science Milan
 
IOT326_Developing Predictive Applications Using
IOT326_Developing Predictive Applications UsingIOT326_Developing Predictive Applications Using
IOT326_Developing Predictive Applications UsingAmazon Web Services
 
MongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoT
MongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoTMongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoT
MongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoTMongoDB
 
Building what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructureBuilding what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructureMediaAgility
 
Deep Learning at the Edge
Deep Learning at the EdgeDeep Learning at the Edge
Deep Learning at the EdgeJulien SIMON
 
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...Ramprasad Nagaraja
 

Similar to Datapalooza: A Music Festival Themed ML & IoT Workshop (20)

DataPalooza: ML & IoT Workshop
DataPalooza: ML & IoT WorkshopDataPalooza: ML & IoT Workshop
DataPalooza: ML & IoT Workshop
 
DataPalooza - A Music Festival themed ML + IoT Workshop
DataPalooza - A Music Festival themed ML + IoT WorkshopDataPalooza - A Music Festival themed ML + IoT Workshop
DataPalooza - A Music Festival themed ML + IoT Workshop
 
Machine Learning inference at the Edge
Machine Learning inference at the EdgeMachine Learning inference at the Edge
Machine Learning inference at the Edge
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the Edge
 
Machine Learning and AI
Machine Learning and AIMachine Learning and AI
Machine Learning and AI
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the Edge
 
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
 
Machine Learning at the Edge
Machine Learning at the EdgeMachine Learning at the Edge
Machine Learning at the Edge
 
Sergii Baidachnyi ITEM 2018
Sergii Baidachnyi ITEM 2018Sergii Baidachnyi ITEM 2018
Sergii Baidachnyi ITEM 2018
 
Deep Learning on ECS
Deep Learning on ECSDeep Learning on ECS
Deep Learning on ECS
 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
 
Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...
Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...
Borys Rybak “How to make your data smart with Artificial Intelligence and Mac...
 
Microsoft AI Platform Overview
Microsoft AI Platform OverviewMicrosoft AI Platform Overview
Microsoft AI Platform Overview
 
Innovate on Cloud with AWS
Innovate on Cloud with AWSInnovate on Cloud with AWS
Innovate on Cloud with AWS
 
Serverless machine learning architectures at Helixa
Serverless machine learning architectures at HelixaServerless machine learning architectures at Helixa
Serverless machine learning architectures at Helixa
 
IOT326_Developing Predictive Applications Using
IOT326_Developing Predictive Applications UsingIOT326_Developing Predictive Applications Using
IOT326_Developing Predictive Applications Using
 
MongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoT
MongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoTMongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoT
MongoDB IoT City Tour STUTTGART: The Microsoft Azure Platform for IoT
 
Building what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructureBuilding what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructure
 
Deep Learning at the Edge
Deep Learning at the EdgeDeep Learning at the Edge
Deep Learning at the Edge
 
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...
 

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
 

Datapalooza: A Music Festival Themed ML & IoT Workshop

  • 1. Welcome Datapalooza: A Music festival themed ML & IoT Workshop
  • 2. Agenda Overview—30 mins Prep Challenge—1 hour Challenge 1—2.5 hours Lunch Challenge 2—2.5 hours
  • 3. The Challenge DataPalooza—A music festival themed ML & IoT Workshop Scenario: Your bold startup has taken the challenge of providing a new type of EDM music festival experience. At venues with multiple stages, festival-goers are always looking to identify which DJ stage areas are the liveliest. This causes them to constantly move around between different stages and miss out. You are looking to use Machine Learning and IoT to come up with a connected fan experience that takes the music festival scene to the next level. From your initial research there are existing ML models that you can leverage to do face and emotion detection, but there are two ways that the predictions (inference) can be done; on the cloud and on the camera itself, but which one will work the best for your needs at the festival? You are going to test both approaches and find out! In this workshop you will use AWS and Intel technologies including Amazon SageMaker with Intel C5 Instances, AWS DeepLens, AWS Greengrass, Amazon Rekognition, AWS Lambda, along with Intel IoT hardware kits. The objective of the workshop is to learn how to build and deploy a machine learning model and then run inference on it from the cloud and from the edge device. By the time you’re done with these challenges, EDM DJ’s will be able to tell whether the crowd is enjoying their set by the looks on their faces.
  • 5. Amazon Machine Learning Stack Platform Services Application Services Frameworks & Interfaces Caffe2 CNTK Apache MXNet PyTorch TensorFlow Chainer Keras Gluon AWS Deep Learning AMIs Infrastructure EC2 GPUs EC2 CPUs IoT Edge AWS DeepLens Education
  • 6. Machine Learning Process is Hard… Fetch data Clean & format data Prepare & transform data Train model Evaluate model Integrate with prod Monitor/ debug/ refresh Data wrangling • Set up and manage Notebook environments • Get data to notebooks securely Experimentation • Set up and manage clusters • Scale/distribute ML algorithms Deployment • Set up and manage inference clusters • Manage and auto scale inference APIs • Testing, versioning, and monitoring
  • 7. Amazon’s fast, scalable algorithms Distributed Apache MXNet and TensorFlow Bring your own algorithm Hyperparameter optimization Building HostingTraining Amazon SageMaker Components
  • 8. Amazon SageMaker Components Amazon’s fast, scalable algorithms Distributed Apache MXNet and TensorFlow Bring your own algorithm Hyperparameter optimization Building Hosting (C/P)Training
  • 9. Resizable as you need Common tools pre-installed Easy access to your data sources No servers to manage Zero Setup for Data Exploration
  • 10. Amazon SageMaker Components Amazon’s fast, scalable algorithms Distributed Apache MXNet and TensorFlow Bring your own algorithm Hyperparameter optimization Building Hosting (C/P)Training Clusters of GPU or powerful CPU
  • 11. Distributed Training that Works with You Amazon-optimized algorithms using the AWS SDK… … or Apache Spark IM Estimators Bring your own deep learning script… … or your custom algorithm Docker image
  • 12. More than Just General Purpose Algorithms XGBoost, FM, and Linear for classification and regression Kmeans and PCA for clustering and dimensionality reduction Image classification with convolutional neural networks LDA and NTM for topic modeling, seq2seq for translation
  • 13. Amazon ECS Bring Your Own Algorithm ... publish to Amazon ECS... add algorithm code to a Docker container... Choose your own framework
  • 14. Amazon’s fast, scalable algorithms Distributed Apache MXNet and TensorFlow Bring your own algorithm Hyperparameter optimization Building Hosting (C/P)Training Elastic Clusters CPU or GPU instances Amazon SageMaker Components
  • 15. Hosting One-step deployment Low latency High throughput High reliability A/B testing Use your own model
  • 16. Modular Architecture So You Can Use What You Need Training algorithm Model artifacts Inference code Client application Model Data Inference Ground truth Amazon SageMaker Past Data
  • 17. Pay As You Go and Inexpensive ML compute by the second starting at $0.0464/hr ML storage by the second at $0.14 per GB-month Data processed in notebooks and hosting at $0.016 per GB Free trial to get started quickly
  • 18. Amazon EC2 C5 Instances Cost effective CPUs, e.g., for models using INT8 • Powered by 3.0 GHz Intel Xeon (Skylake) platinum processors • 72 vCPUs and 155-GB RAM (25% price/performance improvement versus C4) • Nitro Hypervisor for larger instance sizes Ideal for running ML inference as GPU based instances would be overkill (cost saving) Suitable for training simple ML algorithms (text or CSV data) or during dev/test mode and proof-of-concepts
  • 19. Can we do more to put ML in the hands of all developers (literally)?
  • 20. AWS Deeplens is not a video camera… …it’s the worlds first Deep Learning Enabled Developer kit
  • 21. Artistic style transfer Object detection Face detection /recognition Hot dog/ not hot dog Cat versus dog Activity detection add custom functionality or create your own project Get Started with Sample Projects
  • 22. Deeplens Specifications • Intel Atom Processor • Gen9 graphics • Ubuntu OS- 16.04 LTS • 100 GFLOPS performance • Dual band 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 • clDNN Optimized for MXNet
  • 25. AWS Deeplens Architecture Video out Data out Inference Deploy projects Manage device Security Console Project Management AWS Cloud Intel: Model Optimizer cIDNN and Driver
  • 27. AWS and Intel Amazon Web Services (AWS) and Intel technologies are designed to provide a more secure, scalable edge-to-cloud solution for IoT applications • Operate locally and on the cloud • Easily manage and update devices • Connect fleets of devices, gateways, and cloud environments
  • 28. Customer Pain Points with IoT Implementation Security • Securing data transport to the cloud with encryption • Enabling devices to communicate with one another without introducing vulnerabilities • Ensuring devices have not been tampered with before sending data to the cloud • Authenticating device identity without sending credentials over the wire Deployment and Management • Managing large numbers of simultaneous connections to devices connecting via different networks • Updating device software, patching, and sending configurations to device fleets • Incorporating legacy and proprietary protocols with IoT deployments • Bandwidth and storage costs of sending device data to the cloud when local hardware has sufficient resources for local analytics • Ongoing security management over life of implementation Scale • Managing large numbers of simultaneous connections to devices connecting via different networks • Updating device software, patching, and sending configurations to device fleets • Incorporating legacy and proprietary protocols with IoT deployments • Bandwidth and storage costs of sending device data to the cloud when local hardware has sufficient resources for analytics
  • 29. Benefits of Using AWS with Intel IoT Hardware Easy to deploy and manage Whether making existing things smart or deploying new connected devices, AWS and Intel make it easy to get started Security enabled Intel hardware and software solutions are tightly integrated with the robust AWS cloud infrastructure to deliver enhanced security, from to device, to network, to cloud Scalable Start with minimal or no upfront investment and easily scale to millions of devices and billions of messages Cost-effective Leverage pay-as-you-go pricing, the flexibility to use local and cloud resources, and flexible and low-cost IT resources powered by Intel technology to reduce the costs of IoT deployments
  • 30. AWS and Intel Strategies to Maximize Value of IoT Deployments Act locally on device data at the edge. Use the cloud for management, analytics, and durable storage Operate offline in circumstances when latency requirements or intermittent connectivity that make a round trip to the cloud unfeasible Execute AWS Lambda functions locally using AWS Greengrass, reducing the complexity of developing embedded software Increase the quality of the data you send to the cloud through filtering device data locally and only transmitting the data you need so you can achieve rich insight at a lower cost
  • 31. Where Do I Want To Process Data? Infrastructure CloudPoPIoT Endpoint Gateway Appliance Common Programming Model Onboard AWS Cloud Lambda @Edge Amazon FreeRTOS Greengrass
  • 32. Features of Greengrass Security AWS-grade security Data and state sync Local Device Shadows Local triggers Local Message Broker Local actions Local Lambda Functions Machine Inference Local Execution of ML Models Protocol Adapters Local messaging with other devices Over the Air Updates Easily Update Greengrass Core Local Resource Access Lambdas interact with peripherals Amazon FreeRTOS Works together out of the box
  • 33. Benefits AWS Greengrass Respond quickly to local events Operate offline Simplified device programming Reduce the cost of IoT applications AWS-grade security
  • 34. Amazon Rekognition A Music festival themed ML & IoT Workshop
  • 35. Images—Universal, Ubiquitous, and Essential There are 3,700,000,000 internet users in 2017 1,200,000,000 photos will be taken in 2017 (9% YoY Growth) Source: InfoTrends Worldwide
  • 36. Amazon Rekognition Extract rich metadata from visual content Object and Scene Detection Facial Analysis Face Comparison Facial Recognition Celebrity Recognition Image Moderation
  • 37. Why Use Rekognition? Object & Scene Detection • Photo-sharing apps can power smart searches and quickly find cherished memories, such as weddings, hiking, or sunsets Facial Analysis • Retail businesses can understand the demographics and sentiment of in-store customers Face Comparison • Hotels & hospitality businesses can provide seamless access for guests and VIPs Facial Recognition • Provide secondary authentication for existing applications
  • 38. Object and scene detection makes it easy for you to add features that search, filter, and curate large image libraries DetectLabels Flower Arrangement Chair Coffee Table Living Room Indoors Furniture Cushion Vase Maple Villa Plant Garden Water Swimming Pool Tree Potted Plant Backyard Patio Object & Scene Detection Identify objects and scenes and provide confidence scores
  • 39. Emotion Expressed General Attributes Facial Pose Facial Landmarks EyeLeft,EyeRight,Nose RightPupil,LeftPupil MouthRight,LeftEyeBrowUp Bounding Box... Happy Surprised Smile:True EyesOpen:True Beard:True Mustache:True Pitch Roll Yaw Demographic Data Age Range Gender:Male 29–45 96.5% Facial Analysis Analyze facial characteristics in multiple dimensions DetectFaces Image Quality Brightness Sharpness 23.6% 99.9% 83.8% 0.65% 23.6% 99.8% 99.5% 99.9% 1.446 5.725 4.383
  • 40. CompareFaces Face Comparison Measure the likelihood that faces are of the same person Similarity 93% Similarity 0%
  • 42. Detect explicit and suggestive contentRecognize thousands of famous individuals DetectModerationLabelsRecognizeCelebrities Celebrity Recognition & Image Moderation Newly released Rekognition features
  • 43. Interfacing with Rekognition Optimizing your input & requests for best performance • S3 input for API calls – max image size of 15MB • 5MB limit for non-S3 (Base64 encoded) API calls • Minimum image resolution (x or y) of 80 pixels • Image data supported in PNG or JPG format • Max number of faces in a single face collection is 1 million • The max matching faces the search API returns is 4096 • Size of face should occupy 5%+ of image for detection • Collections are for faces! … Use Amazon CloudWatch to observe & issue alerts on Rekognition metrics
  • 45. Rekognition APIs—Overview Rekognition’s computer vision API operations can be grouped into Non-storage API operations, and Storage-based API operations Non-storage API Operations Storage-based API Operations { "FaceMatches": [ {"Face": {"BoundingB "Height": 0.2683333456516266, "Left": 0.5099999904632568, "Top": 0.1783333271741867, "Width": 0.17888888716697693}, " CompareFaces DetectFaces DetectLabels DetectModerationLabels GetCelebrityInfo RecognizeCelebrities { "FaceMatches": [ {"Face": {"BoundingB "Height": 0.2683333456516266, "Left": 0.5099999904632568, "Top": 0.1783333271741867, "Width": 0.17888888716697693}, " CreateCollection DeleteCollection DeleteFaces IndexFaces ListCollections SearchFaces SearchFacesByImage ListFaces
  • 46. What Can You Do with Amazon Rekognition? Search for people, objects, scenes, and concepts across millions of images Filter inappropriate or specific content Redact identities from images of faces Verify identities by matching against reference faces Recognize individuals by matching faces to a collection Analyze user traffic hotspots and journey paths by demographics and sentiment
  • 47. Searchable Image Library Real Estate Property Search Property Search Amazon Elasticsearch User captures an image for their property listing Mobile app uploads the image to S3 A Lambda function is triggered and calls Rekognition Rekognition retrieves the image from S3 and returns labels for the property and amenities Lambda pushes the labels and confidence scores to Elasticsearch Other users can search properties by landmarks, category, etc. Photo Upload Amazon S3 AWS Lambda Detect Objects & Scenes
  • 48. Searchable Image Library Real Estate Property Search • Optimize the client • Event based, decoupled infra • Buffering—SQS, SNS, Kinesis • Rate Control—high volume S3 image ingest • DynamoDB—scale label storage • Elasticsearch—operational & performance statistics • CloudFront—search cache AWS Lambda Amazon S3 Amazon SQS AWS CloudFormation Amazon CloudWatch Amazon Kinesis Amazon CloudFront Amazon DynamoDB Amazon ElasticSearch 1 2 3
  • 49. Face-Based User Verification Confirm user identities by comparing their live image with a reference image Authenticated User Image Capture Amazon S3 Compare Faces Rekognition compares the live image and the badge image—and returns a similarity score The application retrieves the user’s badge from S3 Application If the similarity score is over 92%, the application returns a green status. If not, an alert is issued to security staff The application captures a live image of each employee as they scan their access card
  • 50. Face-Based User Verification Confirm user identities by comparing their live image with a reference image • S3 Encryption of badge images— SSE-S3, SSE-KMS, SSE-C • Prevent tampering with bucket policies & IAM RO permissions • Extend by using Rek collections • Cloudtrail—Logging & Auditing with tamper-proof log signatures • Tie notification into SNS/SES, Custom CloudWatch Logs metrics, or ElasticSearch with alerts AWS KMS AWS CloudTrail AWS Lambda Amazon S3 Amazon SNS AWS CloudFormation Amazon CloudWatch Amazon SES 1 2 3
  • 51. Facial Recognition Identify individuals by matching a live image to a collection of images of known persons #0123 #0123 5426 128762 78426 45871 286546 26751 3861 945 Images SearchFacesByImage Face Collection Person Details Table Photo AppEnd User Amazon S3 Rekognition searches the face collection for matches to the reference image and returns an array of face metadata for potential face matches, ordered by similarity If source images are required, they are retrieved from S3 The photo app displays search results to the end user
  • 52. Collections and Access Patterns Logging—visitor logs, digital libraries • Easily find specific images from a digital library • Find certain images by using a reference image Social Tagging—photo storage and sharing • One collection per application user • Automated friend tagging Person Verification—employee gate check • One collection for each person to be verified • Detection of stolen/shared IDs
  • 53. Rekognition APIs—Advanced Usage Decision trees and processing pipelines Why? • Many use cases require more than a single operation to arrive at actionable data How? • S3 event notifications, Lambda, Step Functions • DynamoDB for persistent pipeline storage • Augmenting results with 3rd Party AI/ML • OpenCV, MXNet, etc. on EC2 Spot, ECS, AI/ML AMI Sample Use Cases • Person of interest near a celebrity • Multi-pass motion detection enhancement • Subjects leaving a location without possessions IndexFaces DetectLabels “person”
  • 54. aws rekognition recognize-celebrities –image “S3Object={Bucket=mybucket,Name=cam.jpg}” aws rekognition search-faces-by-image –image “S3Object={Bucket=mybucket,Name=cam.jpg}” --collection-id “persons-of-interest" aws rekognition create-collection --collection-id “persons-of-interest” aws rekognition index-faces --image “S3Object={Bucket=mybucket,Name=subject.jpg}” --collection-id “persons-of-interest” Rekognition APIs—Advanced Usage Person of Interest Near a Celebrity { "FaceMatches": [ {"Face": {"BoundingB "Height": 0.2683333456516266, "Left": 0.5099999904632568, "Top": 0.1783333271741867, "Width": 0.17888888716697693}, " CompareFaces DetectFaces DetectLabels DetectModerationLabels GetCelebrityInfo RecognizeCelebrities 2 { "FaceMatches": [ {"Face": {"BoundingB "Height": 0.2683333456516266, "Left": 0.5099999904632568, "Top": 0.1783333271741867, "Width": 0.17888888716697693}, " CreateCollection DeleteCollection DeleteFaces IndexFaces ListCollections SearchFaces SearchFacesByImage ListFaces 3 1
  • 55. Automating Footage Tagging with Amazon Rekognition • Built in three weeks • Indexed against 99,000 people • Index created in one day • Saved ~9,000 hours a year in manual curation costs • Live video with frame sampling Previously, only about half of all footage was indexed due to the immense time requirements required by manual processes
  • 56. Automating Footage Tagging with Amazon Rekognition Solution Architecture EncodersStills Extraction & Feeds Results Cache Bucket R3 Amazon Rekognition users Stills FramesSQS Trigger 1 2 3 4 1
  • 57. Visual Search Open Influence is a market leader in the influencer marketing space and enables global brands and agencies to identify relevant influencers • Real-time visual search, powered by Rekognition, enables Open Influence to tag millions of social images accurately • Using Rekognition allowed Open Influence to cut down the time it takes to source relevant influencers from 2–3 days to minutes
  • 58. Metadata Tagging Scripps Networks Interactive is a leading developer of engaging lifestyle content • Instead of manually tagging media assets, Rekognition enables Scripps Networks Interactive to save time and increase productivity with automated metadata tagging
  • 60. Resources Product information: • Product page: https://aws.amazon.com/deeplens/ • Blog posts: https://aws.amazon.com/blogs/machine-learning/category/artificial-intelligence/aws-deeplens/ • Developer community projects: https://aws.amazon.com/deeplens/community-projects/ Help Getting started with DeepLens: 10-Minute tutorials: they can already access the step by step guides now. Note: Friday 5/4 there will be video versions on You Tube for each of these that are easier to follow: 1. How to Configure Your New AWS DeepLens https://aws.amazon.com/getting-started/tutorials/configure-aws-deeplens/ 2. How to Create and Deploy a Deep Learning Project With AWS DeepLens https://aws.amazon.com/getting-started/tutorials/create-deploy-project-deeplens/ 3. How to Extent a Deep Leaning Project with AWS DeepLens https://aws.amazon.com/getting-started/tutorials/extend-deeplens-project/ 4. How to Build an AWS DeepLens project using Amazon SageMaker https://aws.amazon.com/getting-started/tutorials/build-deeplens-project-sagemaker/ General questions: Check out the AWS DeepLens FAQs or AWS DeepLens Developer Forum
  • 61. Thank you! Closing Video, AWS & Intel Better Together : https://youtu.be/ocJx_h_v1DY