SlideShare a Scribd company logo
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Adrian Hornsby, Technical Evangelist
http://inserverless.com - 2017
Developing Sophisticated
Serverless Applications with AI
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Technical Evangelist, Developer Advocate,
… Software Engineer
• Own bed in Finland
• Previously:
• Solutions Architect @AWS
• Lead Cloud Architect @Dreambroker
• Director of Engineering, Software Engineer, DevOps, Manager, ... @Hdm
• Researcher @Nokia Research Center
• and a bunch of other stuff.
• Climber, like Ginger shots.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What to expect
• Quick intro
• 3 demo applications
• Polly
• Rekognition
• MXnet
• Wrap up.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AI and Serverless
…like Salt and Pepper
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Event driven
A B CEvent on B by A triggers C
Invocation
Lambda functions
Action
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How Lambda works
S3 event
notifications
DynamoDB
Streams
Kinesis
events
Cognito
events
SNS
events
Custom
events
CloudTrail
events
LambdaDynamoDB
Kinesis S3
Any custom
Invoked in response to events
- Changes in data
- Changes in state
Redshift
SNS
Access any service,
including your own
Such as…
Lambda functions
CloudWatch
events
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Event-driven using Lambda
AWS Lambda:
Resize Images
Users upload photos
S3:
Source Bucket
S3:
Destination Bucket
Triggered on
PUTs
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
No servers to provision
or manage
Scales with usage
Never pay for idle Availability and fault
tolerance built in
Serverless means…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EVENT DRIVEN CONTINUOUS SCALING PAY BY USAGE
Serverless means…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The rise of AI
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
The Advent of AI & Deep Learning
Data
GPUs
& Acceleration
Cloud
Computing
Algorithms
AWS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AI On AWS Today
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AI & Deep Learning in the hands of every developer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Voice enabled applications
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Polly: Text In, Life-like Speech Out
Amazon Polly
“Today in Seattle, WA
it’s 11°F”
“Today in Seattle Washington
it’s 11 degrees Fahrenheit”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
https://www.w3.org/TR/speech-synthesis/
<speak>
The spelling of my name is
<prosody rate='x-slow'>
<say-as interpret-as="characters">Adrian</say-as>
</prosody>
</speak>
A Focus On Voice Quality & Pronunciation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
<API>
Amazon Polly
</API>
aws polly synthesize-speech
--text "It was nice to live such a wonderful live show"
--output-format mp3
--voice-id Joanna
--text-type text johanna.mp3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Developing Sophisticated Serverless Applications with AI
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
<demo>
PollyCast
</demo>
* Initial project by James Siri, Piotr Lewalski
https://github.com/adhorn/pollycast
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Image analysis
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
Rekognition
Object and scene detection
Facial analysis
Face comparison
Celebrity recognition
Image moderation
Rekognition: Images In, Rich Metadata Out
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
<API>
Amazon Rekognition
</API>
aws rekognition detect-faces
--image '{"S3Object":{"Bucket":"adhorn-reko","Name":"horse.jpg"}}'
--attributes "ALL"
aws rekognition detect-labels
--image '{"S3Object":{"Bucket":"adhorn-reko","Name":"horse.jpg"}}'
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Developing Sophisticated Serverless Applications with AI
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Detect labels with
Rekognition
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Add
Rekognition tags
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Extract Image
Metadata
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Step Functions:
Orchestrate a Serverless processing
workflow using AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
<demo>
Image Recognition and Processing Backend
Step Functions
</demo>
https://github.com/awslabs/lambda-refarch-imagerecognition
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
<demo>
Image Recognition and Processing Backend
Step Functions
</demo>
https://github.com/awslabs/lambda-refarch-imagerecognition
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
<demo>
Poliko
powered by Amazon Polly & Rekognition
</demo>
http://poliko.adhorn.me
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Demo - Poliko
Poliko
Take Pic
Amazon Cognito
2. Detect Labels
4. Synthesize-speech
Amazon Rekognition
Amazon Polly
3. Detect Faces
Amazon S3
“Static website hosting” enabled
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Deep Learning enabled applications
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
One-Click
Deep Learning
AWS Deep Learning AMIs
Amazon Linux & Ubuntu
Up to~40k CUDA cores
Apache MXNet
TensorFlow
Theano
Keras
Caffe
CNTK
Torch
Pre-configured CUDA drivers
Anaconda, Python3
Out-of-the-box Tutorials
+ CloudFormation template
+ Container Image
Available in the AWS Marketplace
AI Frameworks on AWS
0.2
-0.1
...
0.7
Input Output
1 1 1
1 0 1
0 0 0
3
mx.sym.Pooling(data, pool_type="max", kernel=(2,2), stride=(2,2)
lstm.lstm_unroll(num_lstm_layer, seq_len, len, num_hidden, num_embed)
4 2
2 0
4=Max
1
3
...
4
0.2
-0.1
...
0.7
mx.sym.FullyConnected(data, num_hidden=128)
2
mx.symbol.Embedding(data, input_dim, output_dim = k)
Queen
4 2
2 0
2=Avg
Input Weights
cos(w, queen) = cos(w, king) - cos(w, man) + cos(w, woman)
mx.sym.Activation(data, act_type="xxxx")
"relu"
"tanh"
"sigmoid"
"softrelu"
Neural Art
Face Search
Image Segmentation
Image Caption
“People Riding Bikes”
Bicycle, People,
Road, Sport
Image Labels
Image
Video
Speech
Text
“People Riding Bikes”
Machine Translation
“Οι άνθρωποι
ιππασίας ποδήλατα”
Events
mx.model.FeedForward model.fit
mx.sym.SoftmaxOutput
Anatomy of a Deep Learning Model
mx.sym.Convolution(data, kernel=(5,5), num_filter=20)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Early detection of diabetic
complications
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Autonomous Driving Systems
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Real Time, Per Pixel Object Segmentation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Pre-trained MXNet
models
http://data.mxnet.io/models/imagenet/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ResNet – Deep Learning
Based on:
Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun
https://arxiv.org/pdf/1512.03385.pdf
https://medium.com/towards-data-science/neural-network-architectures-156e5bad51ba
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scale Predictions with AWS Lambda and MXNet
AWS LambdaAmazon
API Gateway
Amazon S3
Training
Inference
https://aws.amazon.com/blogs/compute/seamlessly-scale-predictions-with-aws-lambda-and-mxnet/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Predict with AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Predict with AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Predict with AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Predict with AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AI for everyone!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thanks you!

More Related Content

Similar to Developing Sophisticated Serverless Applications with AI (20)

PPTX
Building AI-powered Serverless Applications on AWS
Adrian Hornsby
 
PPTX
Innovations and the Cloud
Adrian Hornsby
 
PDF
Artificial Intelligence for Developers - OOP Munich
Boaz Ziniman
 
PPTX
AI and Innovations on AWS
Adrian Hornsby
 
PDF
AI Today
Richard Harvey
 
PDF
Machine Learning for Developers - Danilo Poccia - Codemotion Rome 2017
Codemotion
 
PDF
Harnessing Artificial Intelligence_Alastair Cousins
Helen Rogers
 
PPTX
Serverless in Action on AWS
Adrian Hornsby
 
PDF
An Overview to Artificial Intelligence Services at AWS
Kristana Kane
 
PPTX
Building AI-powered Apps on AWS
Adrian Hornsby
 
PDF
Ai services AWS - Taglit
Boaz Ziniman
 
PDF
DN 2017 | Machines are Learning - Bringing Powerful Artificial Intelligence t...
Dataconomy Media
 
PPTX
re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...
Adrian Hornsby
 
PDF
AWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine Learning
AWS Germany
 
PDF
Enhancing Your Startup w/ Amazon AI
Amazon Web Services LATAM
 
PDF
Danilo Poccia - Machines are Learning: Bringing Powerful Artificial Intellige...
Codemotion
 
PDF
Amazon AI (February 2017)
Julien SIMON
 
PPTX
AI on a PI
Julien SIMON
 
PDF
An Introduction to AI Services on AWS - Web Summit Lisbon
Boaz Ziniman
 
PDF
AI Services for Developers - Floor28
Boaz Ziniman
 
Building AI-powered Serverless Applications on AWS
Adrian Hornsby
 
Innovations and the Cloud
Adrian Hornsby
 
Artificial Intelligence for Developers - OOP Munich
Boaz Ziniman
 
AI and Innovations on AWS
Adrian Hornsby
 
AI Today
Richard Harvey
 
Machine Learning for Developers - Danilo Poccia - Codemotion Rome 2017
Codemotion
 
Harnessing Artificial Intelligence_Alastair Cousins
Helen Rogers
 
Serverless in Action on AWS
Adrian Hornsby
 
An Overview to Artificial Intelligence Services at AWS
Kristana Kane
 
Building AI-powered Apps on AWS
Adrian Hornsby
 
Ai services AWS - Taglit
Boaz Ziniman
 
DN 2017 | Machines are Learning - Bringing Powerful Artificial Intelligence t...
Dataconomy Media
 
re:Invent re:Cap - An overview of Artificial Intelligence and Machine Learnin...
Adrian Hornsby
 
AWS STARTUP DAY 2018 I Enhancing Your Startup With Amazon Machine Learning
AWS Germany
 
Enhancing Your Startup w/ Amazon AI
Amazon Web Services LATAM
 
Danilo Poccia - Machines are Learning: Bringing Powerful Artificial Intellige...
Codemotion
 
Amazon AI (February 2017)
Julien SIMON
 
AI on a PI
Julien SIMON
 
An Introduction to AI Services on AWS - Web Summit Lisbon
Boaz Ziniman
 
AI Services for Developers - Floor28
Boaz Ziniman
 

More from Adrian Hornsby (18)

PDF
Can Automotive be as agile as Unicorns?
Adrian Hornsby
 
PDF
Moving Forward with AI - as presented at the Prosessipäivät 2018
Adrian Hornsby
 
PPTX
Chaos Engineering: Why Breaking Things Should Be Practised.
Adrian Hornsby
 
PPTX
Chaos Engineering: Why Breaking Things Should Be Practised.
Adrian Hornsby
 
PPTX
Model Serving for Deep Learning
Adrian Hornsby
 
PDF
AI in Finance: Moving forward!
Adrian Hornsby
 
PDF
Moving Forward with AI
Adrian Hornsby
 
PPTX
AI: State of the Union
Adrian Hornsby
 
PPTX
re:Invent re:Cap - Big Data & IoT at Any Scale
Adrian Hornsby
 
PDF
AWSome Day - Opening Keynote
Adrian Hornsby
 
PPTX
Innovations fueled by IoT and the Cloud
Adrian Hornsby
 
PPTX
AWS Batch: Simplifying batch computing in the cloud
Adrian Hornsby
 
PPTX
Being Well Architected in the Cloud (Updated)
Adrian Hornsby
 
PPTX
Deep Dive on Object Storage: Amazon S3 and Amazon Glacier
Adrian Hornsby
 
PPTX
Serverless Streaming Data Processing using Amazon Kinesis Analytics
Adrian Hornsby
 
PPTX
Introduction to Real-time, Streaming Data and Amazon Kinesis. Streaming Data ...
Adrian Hornsby
 
PPTX
Journey Towards Scaling Your Application to Million Users
Adrian Hornsby
 
PPTX
Deep Dive on Amazon S3
Adrian Hornsby
 
Can Automotive be as agile as Unicorns?
Adrian Hornsby
 
Moving Forward with AI - as presented at the Prosessipäivät 2018
Adrian Hornsby
 
Chaos Engineering: Why Breaking Things Should Be Practised.
Adrian Hornsby
 
Chaos Engineering: Why Breaking Things Should Be Practised.
Adrian Hornsby
 
Model Serving for Deep Learning
Adrian Hornsby
 
AI in Finance: Moving forward!
Adrian Hornsby
 
Moving Forward with AI
Adrian Hornsby
 
AI: State of the Union
Adrian Hornsby
 
re:Invent re:Cap - Big Data & IoT at Any Scale
Adrian Hornsby
 
AWSome Day - Opening Keynote
Adrian Hornsby
 
Innovations fueled by IoT and the Cloud
Adrian Hornsby
 
AWS Batch: Simplifying batch computing in the cloud
Adrian Hornsby
 
Being Well Architected in the Cloud (Updated)
Adrian Hornsby
 
Deep Dive on Object Storage: Amazon S3 and Amazon Glacier
Adrian Hornsby
 
Serverless Streaming Data Processing using Amazon Kinesis Analytics
Adrian Hornsby
 
Introduction to Real-time, Streaming Data and Amazon Kinesis. Streaming Data ...
Adrian Hornsby
 
Journey Towards Scaling Your Application to Million Users
Adrian Hornsby
 
Deep Dive on Amazon S3
Adrian Hornsby
 
Ad

Recently uploaded (20)

PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Python basic programing language for automation
DanialHabibi2
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Ad

Developing Sophisticated Serverless Applications with AI

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Adrian Hornsby, Technical Evangelist http://inserverless.com - 2017 Developing Sophisticated Serverless Applications with AI
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Technical Evangelist, Developer Advocate, … Software Engineer • Own bed in Finland • Previously: • Solutions Architect @AWS • Lead Cloud Architect @Dreambroker • Director of Engineering, Software Engineer, DevOps, Manager, ... @Hdm • Researcher @Nokia Research Center • and a bunch of other stuff. • Climber, like Ginger shots.
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What to expect • Quick intro • 3 demo applications • Polly • Rekognition • MXnet • Wrap up.
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AI and Serverless …like Salt and Pepper
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Event driven A B CEvent on B by A triggers C Invocation Lambda functions Action
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How Lambda works S3 event notifications DynamoDB Streams Kinesis events Cognito events SNS events Custom events CloudTrail events LambdaDynamoDB Kinesis S3 Any custom Invoked in response to events - Changes in data - Changes in state Redshift SNS Access any service, including your own Such as… Lambda functions CloudWatch events
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Event-driven using Lambda AWS Lambda: Resize Images Users upload photos S3: Source Bucket S3: Destination Bucket Triggered on PUTs
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. No servers to provision or manage Scales with usage Never pay for idle Availability and fault tolerance built in Serverless means…
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EVENT DRIVEN CONTINUOUS SCALING PAY BY USAGE Serverless means…
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The rise of AI
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. The Advent of AI & Deep Learning Data GPUs & Acceleration Cloud Computing Algorithms AWS
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AI On AWS Today
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AI & Deep Learning in the hands of every developer
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Voice enabled applications
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Polly: Text In, Life-like Speech Out Amazon Polly “Today in Seattle, WA it’s 11°F” “Today in Seattle Washington it’s 11 degrees Fahrenheit”
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. https://www.w3.org/TR/speech-synthesis/ <speak> The spelling of my name is <prosody rate='x-slow'> <say-as interpret-as="characters">Adrian</say-as> </prosody> </speak> A Focus On Voice Quality & Pronunciation
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. <API> Amazon Polly </API> aws polly synthesize-speech --text "It was nice to live such a wonderful live show" --output-format mp3 --voice-id Joanna --text-type text johanna.mp3
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. <demo> PollyCast </demo> * Initial project by James Siri, Piotr Lewalski https://github.com/adhorn/pollycast
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Image analysis
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Rekognition Object and scene detection Facial analysis Face comparison Celebrity recognition Image moderation Rekognition: Images In, Rich Metadata Out
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. <API> Amazon Rekognition </API> aws rekognition detect-faces --image '{"S3Object":{"Bucket":"adhorn-reko","Name":"horse.jpg"}}' --attributes "ALL" aws rekognition detect-labels --image '{"S3Object":{"Bucket":"adhorn-reko","Name":"horse.jpg"}}'
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Detect labels with Rekognition
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Add Rekognition tags
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Extract Image Metadata
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Step Functions: Orchestrate a Serverless processing workflow using AWS Lambda
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. <demo> Image Recognition and Processing Backend Step Functions </demo> https://github.com/awslabs/lambda-refarch-imagerecognition
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. <demo> Image Recognition and Processing Backend Step Functions </demo> https://github.com/awslabs/lambda-refarch-imagerecognition
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. <demo> Poliko powered by Amazon Polly & Rekognition </demo> http://poliko.adhorn.me
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo - Poliko Poliko Take Pic Amazon Cognito 2. Detect Labels 4. Synthesize-speech Amazon Rekognition Amazon Polly 3. Detect Faces Amazon S3 “Static website hosting” enabled
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Deep Learning enabled applications
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. One-Click Deep Learning AWS Deep Learning AMIs Amazon Linux & Ubuntu Up to~40k CUDA cores Apache MXNet TensorFlow Theano Keras Caffe CNTK Torch Pre-configured CUDA drivers Anaconda, Python3 Out-of-the-box Tutorials + CloudFormation template + Container Image Available in the AWS Marketplace AI Frameworks on AWS
  • 37. 0.2 -0.1 ... 0.7 Input Output 1 1 1 1 0 1 0 0 0 3 mx.sym.Pooling(data, pool_type="max", kernel=(2,2), stride=(2,2) lstm.lstm_unroll(num_lstm_layer, seq_len, len, num_hidden, num_embed) 4 2 2 0 4=Max 1 3 ... 4 0.2 -0.1 ... 0.7 mx.sym.FullyConnected(data, num_hidden=128) 2 mx.symbol.Embedding(data, input_dim, output_dim = k) Queen 4 2 2 0 2=Avg Input Weights cos(w, queen) = cos(w, king) - cos(w, man) + cos(w, woman) mx.sym.Activation(data, act_type="xxxx") "relu" "tanh" "sigmoid" "softrelu" Neural Art Face Search Image Segmentation Image Caption “People Riding Bikes” Bicycle, People, Road, Sport Image Labels Image Video Speech Text “People Riding Bikes” Machine Translation “Οι άνθρωποι ιππασίας ποδήλατα” Events mx.model.FeedForward model.fit mx.sym.SoftmaxOutput Anatomy of a Deep Learning Model mx.sym.Convolution(data, kernel=(5,5), num_filter=20)
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Early detection of diabetic complications
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Autonomous Driving Systems
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Real Time, Per Pixel Object Segmentation
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Pre-trained MXNet models http://data.mxnet.io/models/imagenet/
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ResNet – Deep Learning Based on: Deep Residual Learning for Image Recognition Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun https://arxiv.org/pdf/1512.03385.pdf https://medium.com/towards-data-science/neural-network-architectures-156e5bad51ba
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scale Predictions with AWS Lambda and MXNet AWS LambdaAmazon API Gateway Amazon S3 Training Inference https://aws.amazon.com/blogs/compute/seamlessly-scale-predictions-with-aws-lambda-and-mxnet/
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Predict with AWS Lambda
  • 45. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Predict with AWS Lambda
  • 46. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Predict with AWS Lambda
  • 47. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Predict with AWS Lambda
  • 48. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AI for everyone!
  • 49. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thanks you!