SlideShare a Scribd company logo
1 of 31
Winning a DeepRacer competition
AWS Stockholm Meetup 13.6.2019
Who am I
Rolf Koski
CTO
Cybercom AWS Business Group
rolf.koski@cybercom.com
rolle
therolle
- “Guy with the sticker”
- Cloud Advisor & Evangelist
- Community Leader
- AWS Partner Ambassador
- Well-Architected Lead
Outline
- Intro
- AWS DeepRacer
- Reinforcement Learning
- Building a model & Simulator
- Reality vs. Simulation
- The Race!
Jouni Luoma
• Won the DeepRacer league competition
in Stockholm AWS Summit on 22.5.2019
• Winning time was 8,7s
• Some experience with AWS, a bit more
with machine learning and 15+ years in IT
consulting business
• About 2 weeks experience with
DeepRacer before the Summit
jouni.luoma@cybercom.com
https://www.linkedin.com/in/jouniluoma/
What is AWS
DeepRacer
AWS DeepRacer
• 1/18th scale race car driven
by reinforcement learning
• 3D racing simulator
• Global racing league
• https://aws.amazon.com/deepracer/
• DeepRacer car just runs inference on images
captured from the on-board camera.
– The model defines the actions (speed, steering)
• DeepRacer console is service for training the model
– AWS RoboMaker provides the simulation environment
– AWS SageMaker does the training of a neural network
• DeepRacer league is a competition on
– Real track & cars in AWS Summits
– Virtual league in simulator
DeepRacer – Principles
DeepRacer Car Specs
CAR 18th scale 4WD with monster truck chassis
CPU Intel Atom™ Processor
MEMORY 4GB RAM
STORAGE 32GB (expandable)
WI-FI 802.11ac
CAMERA 4 MP camera with MJPEG
SOFTWARE
Ubuntu OS 16.04.3 LTS, Intel® OpenVINO™ toolkit,
ROS Kinetic
DRIVE BATTERY 7.4V/1100mAh lithium polymer
COMPUTE BATTERY 13600mAh USB-C PD
PORTS 4x USB-A, 1x USB-C, 1x Micro-USB, 1x HDMI
SENSORS Integrated accelerometer and gyroscope
DeepRacer 3D racing simulator
• https://aws.amazon.com/
deepracer/league/
• Live races on real life
track in AWS Summits
• Virtual races on racing
simulator
DeepRacer global racing league
Reinforcement
Learning
• Reinforcement Learning (RL) is a type of machine
learning along supervised and unsupervised learning.
• RL is the study of agents and how they learn by trial
and error.
– Formalizes the idea of rewarding or punishing an agent in order to …
– Make it more likely to repeat or avoid certain behavior in the future.
Reinforcement Learning
Reinforcement Learning – Principles
Agent
Environment
Action
at
State, Reward
st , rt
• Agent interacts with the Environment
• Every step agent sees observation of
the state of the environment
• Fully observed
• Partially observed
• Agent decides an action based on the
observation
• Taken action is based on Policy
• Agent gets new observation of the state
and a reward
• The goal is to maximize the cumulative
reward, called return
Building Model &
Simulation
• Your job:
– Select Action Space for your model
– Provide logic how the agent (the car) gets rewards
– Provide hyperparameters for the training of the model
• AWS DeepRacer takes care of the rest
– AWS DeepRacer console to start and evaluate the training
– AWS RoboMaker for simulating the driving
– The data for neural network training comes from here
– AWS SageMaker for training the model
– AWS Kinesis Video Streams for visual feedback
– AWS CloudWatch logs of the simulation and training events
Building a model & Simulation
Building a model & Simulation
• Build a rewarding logic based on following inputs
"all_wheels_on_track": Boolean, # flag to indicate if the vehicle is on the track
"x": float, # vehicle's x-coordinate in meters
"y": float, # vehicle's y-coordinate in meters
"distance_from_center": float, # distance in meters from the track center
"is_left_of_center": Boolean, # Flag to indicate if the vehicle is on the left side to the track center or not.
"heading": float, # vehicle's yaw in degrees
"progress": float, # percentage of track completed
"steps": int, # number steps completed
"speed": float, # vehicle's speed in meters per second (m/s)
"steering_angle": float, # vehicle's steering angle in degrees
"track_width": float, # width of the track
"waypoints": [[float, float], … ], # list of [x,y] as milestones along the track center
"closest_waypoints": [int, int] # indices of the two nearest waypoints.
• https://docs.aws.amazon.com/deepracer/latest/developerguide/deepracer-reward-function-input.html
Building a model & Simulation
Building a model & Simulation
• So, had the first model doing around 45s laps in simulator –
Not that good!
– The fastest times on real track were ~8s at this point
• Continue training
– More rewards for speed
– Training with faster speeds à 20s laps, still not good!
• Continue training
– Testing different reward functions and params à ~12s laps
– Still not getting near the 8s
– But the car runs at the top speed almost all the time? What now?
Building a model & Simulation
Reality vs.
Simulation
• We received a track to our
office a week before the summit
• It was HUGE and we had to
move some furniture to even
get it unfolded
• Good enough, let’s try!
Cybercom Circuit Tampere
Control Vehcile Dashboard
Not that much à
Training can be hard
ß Lots of this
• The car seemed to drive off the track all the time!
– We did not have the visual borders around the track
– The track surface was quite shiny à reflections
• Tried different models (also during night)
• Built visual borders
– Hanging gardening fabric over office chairs
• Even tried to attach polarizing filter to the camera
• After a while got couple of models doing full laps
Towards Results
The Race!
• The doors to Summit opened at 7.45
• Was the first in line to the DeepRacer track at 8.00
• Developers have 4 minutes time on the track
– Only fastest lap counts à 11s lap on first try!
– With model that had 20s laps in simulator
• Stayed at the top for 1-2 hours, but then competitors got
under 10s laps.
• Hitting the queue again (and again)
– Found a model that was fast, but quite unstable
– After some tries hit the 8,7s time
– Did not manage to get a better time for the rest of the day
The Race!
Race time
Victory!
Thank You!
AWS Stockholm Meetup June 2019 - Cybercom DeepRacer story

More Related Content

Similar to AWS Stockholm Meetup June 2019 - Cybercom DeepRacer story

Michael Allen's AWS user group talk ""Developers, Start Your Engines - Hands ...
Michael Allen's AWS user group talk ""Developers, Start Your Engines - Hands ...Michael Allen's AWS user group talk ""Developers, Start Your Engines - Hands ...
Michael Allen's AWS user group talk ""Developers, Start Your Engines - Hands ...AWS Chicago
 
AWS DeepRacer desde cero - Meetup de awsvalencia (2021/08/12)
AWS DeepRacer desde cero - Meetup de awsvalencia (2021/08/12)AWS DeepRacer desde cero - Meetup de awsvalencia (2021/08/12)
AWS DeepRacer desde cero - Meetup de awsvalencia (2021/08/12)Javier Campos Berga
 
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...DeNA
 
Canada DevOps Summit 2020 Presentation Nov_03_2020
Canada DevOps Summit 2020 Presentation Nov_03_2020Canada DevOps Summit 2020 Presentation Nov_03_2020
Canada DevOps Summit 2020 Presentation Nov_03_2020Varun Manik
 
What Is Your PLM Challenge - Decrease downtime and minimize production problems
What Is Your PLM Challenge - Decrease downtime and minimize production problemsWhat Is Your PLM Challenge - Decrease downtime and minimize production problems
What Is Your PLM Challenge - Decrease downtime and minimize production problemsDawn Collins
 
Vehicle Detection using Camera
Vehicle Detection using CameraVehicle Detection using Camera
Vehicle Detection using CameraShubham Agrahari
 
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...Sriram Angajala
 
Cutting Edge Computer Vision for Everyone
Cutting Edge Computer Vision for EveryoneCutting Edge Computer Vision for Everyone
Cutting Edge Computer Vision for EveryoneIvo Andreev
 
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...Ed Sattar
 
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...Julien SIMON
 
Getting your mobile test automation process in place - using Cucumber and Cal...
Getting your mobile test automation process in place - using Cucumber and Cal...Getting your mobile test automation process in place - using Cucumber and Cal...
Getting your mobile test automation process in place - using Cucumber and Cal...Niels Frydenholm
 
Low-Cost Autonomous Vehicle for Inventory Movement in Warehouses
Low-Cost Autonomous Vehicle for Inventory Movement in WarehousesLow-Cost Autonomous Vehicle for Inventory Movement in Warehouses
Low-Cost Autonomous Vehicle for Inventory Movement in Warehouseskhan saad bin hasan
 
Re-engineering Technology to break barriers with Business
Re-engineering Technology to break barriers with BusinessRe-engineering Technology to break barriers with Business
Re-engineering Technology to break barriers with BusinessXPDays
 
automation.pptx
automation.pptxautomation.pptx
automation.pptxSabarDasal
 
Car auction Project
Car auction ProjectCar auction Project
Car auction ProjectIvan Spresov
 
Car Auction Project
Car Auction ProjectCar Auction Project
Car Auction ProjectIvan Spresov
 

Similar to AWS Stockholm Meetup June 2019 - Cybercom DeepRacer story (20)

Michael Allen's AWS user group talk ""Developers, Start Your Engines - Hands ...
Michael Allen's AWS user group talk ""Developers, Start Your Engines - Hands ...Michael Allen's AWS user group talk ""Developers, Start Your Engines - Hands ...
Michael Allen's AWS user group talk ""Developers, Start Your Engines - Hands ...
 
AWS DeepRacer desde cero - Meetup de awsvalencia (2021/08/12)
AWS DeepRacer desde cero - Meetup de awsvalencia (2021/08/12)AWS DeepRacer desde cero - Meetup de awsvalencia (2021/08/12)
AWS DeepRacer desde cero - Meetup de awsvalencia (2021/08/12)
 
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...
Can We Make Maps from Videos? ~From AI Algorithm to Engineering for Continuou...
 
Canada DevOps Summit 2020 Presentation Nov_03_2020
Canada DevOps Summit 2020 Presentation Nov_03_2020Canada DevOps Summit 2020 Presentation Nov_03_2020
Canada DevOps Summit 2020 Presentation Nov_03_2020
 
What Is Your PLM Challenge - Decrease downtime and minimize production problems
What Is Your PLM Challenge - Decrease downtime and minimize production problemsWhat Is Your PLM Challenge - Decrease downtime and minimize production problems
What Is Your PLM Challenge - Decrease downtime and minimize production problems
 
Vehicle Detection using Camera
Vehicle Detection using CameraVehicle Detection using Camera
Vehicle Detection using Camera
 
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
Emerging Trends of Test automation - Talk in Software Testing Conference Nort...
 
Emerging5.0
Emerging5.0Emerging5.0
Emerging5.0
 
Cutting Edge Computer Vision for Everyone
Cutting Edge Computer Vision for EveryoneCutting Edge Computer Vision for Everyone
Cutting Edge Computer Vision for Everyone
 
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
Cloud Based Cognitive Learning & IT Project Performance Platform (CLIPP Platf...
 
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
 
Getting your mobile test automation process in place - using Cucumber and Cal...
Getting your mobile test automation process in place - using Cucumber and Cal...Getting your mobile test automation process in place - using Cucumber and Cal...
Getting your mobile test automation process in place - using Cucumber and Cal...
 
Low-Cost Autonomous Vehicle for Inventory Movement in Warehouses
Low-Cost Autonomous Vehicle for Inventory Movement in WarehousesLow-Cost Autonomous Vehicle for Inventory Movement in Warehouses
Low-Cost Autonomous Vehicle for Inventory Movement in Warehouses
 
Re-engineering Technology to break barriers with Business
Re-engineering Technology to break barriers with BusinessRe-engineering Technology to break barriers with Business
Re-engineering Technology to break barriers with Business
 
Advanced structures india introduction
Advanced structures india introductionAdvanced structures india introduction
Advanced structures india introduction
 
automation.pptx
automation.pptxautomation.pptx
automation.pptx
 
Arc solutions powerpoint
Arc solutions powerpointArc solutions powerpoint
Arc solutions powerpoint
 
Car auction Project
Car auction ProjectCar auction Project
Car auction Project
 
Car Auction Project
Car Auction ProjectCar Auction Project
Car Auction Project
 
Automated vehicle
Automated vehicleAutomated vehicle
Automated vehicle
 

More from Rolf Koski

AWS Tampere Meetup February 2019 - Real World Well-Architected
AWS Tampere Meetup February 2019 - Real World Well-ArchitectedAWS Tampere Meetup February 2019 - Real World Well-Architected
AWS Tampere Meetup February 2019 - Real World Well-ArchitectedRolf Koski
 
AWS Finland Meetup 2020 January
AWS Finland Meetup 2020 JanuaryAWS Finland Meetup 2020 January
AWS Finland Meetup 2020 JanuaryRolf Koski
 
AWS Finland Meetup 2019 November
AWS Finland Meetup 2019 NovemberAWS Finland Meetup 2019 November
AWS Finland Meetup 2019 NovemberRolf Koski
 
AWS Finland Meetup 2019 October
AWS Finland Meetup 2019 OctoberAWS Finland Meetup 2019 October
AWS Finland Meetup 2019 OctoberRolf Koski
 
AWS Finland Meetup 2019 September - sponsored by Digia
AWS Finland Meetup 2019 September - sponsored by DigiaAWS Finland Meetup 2019 September - sponsored by Digia
AWS Finland Meetup 2019 September - sponsored by DigiaRolf Koski
 
AWS Finland meetup 2019 september - sponsored by Zalando
AWS Finland meetup 2019 september - sponsored by ZalandoAWS Finland meetup 2019 september - sponsored by Zalando
AWS Finland meetup 2019 september - sponsored by ZalandoRolf Koski
 
Serverless Days Helsinki 2019 Rolf Koski - Business Driven Availability
Serverless Days Helsinki 2019 Rolf Koski - Business Driven AvailabilityServerless Days Helsinki 2019 Rolf Koski - Business Driven Availability
Serverless Days Helsinki 2019 Rolf Koski - Business Driven AvailabilityRolf Koski
 
AWS Finland Meetup 2019 April
AWS Finland Meetup 2019 AprilAWS Finland Meetup 2019 April
AWS Finland Meetup 2019 AprilRolf Koski
 
AWS Community Day 2019 - Business Driven Availability
AWS Community Day 2019 - Business Driven AvailabilityAWS Community Day 2019 - Business Driven Availability
AWS Community Day 2019 - Business Driven AvailabilityRolf Koski
 
Match AWS Pori - Rolf Koski - Cybercom
Match AWS Pori - Rolf Koski - CybercomMatch AWS Pori - Rolf Koski - Cybercom
Match AWS Pori - Rolf Koski - CybercomRolf Koski
 
AWS Finland meetup 2018 August
AWS Finland meetup 2018 AugustAWS Finland meetup 2018 August
AWS Finland meetup 2018 AugustRolf Koski
 
AWS Community Day Nordics 2018 - Aino Health: Transition to serverless and le...
AWS Community Day Nordics 2018 - Aino Health: Transition to serverless and le...AWS Community Day Nordics 2018 - Aino Health: Transition to serverless and le...
AWS Community Day Nordics 2018 - Aino Health: Transition to serverless and le...Rolf Koski
 
AWS Community Day Nordics 2018 - Vivek Balakrishnan (Rovio): Learnings from g...
AWS Community Day Nordics 2018 - Vivek Balakrishnan (Rovio): Learnings from g...AWS Community Day Nordics 2018 - Vivek Balakrishnan (Rovio): Learnings from g...
AWS Community Day Nordics 2018 - Vivek Balakrishnan (Rovio): Learnings from g...Rolf Koski
 
AWS Community Day Nordics 2018 - Alexander Schachtschabel (Dazzle Rocks): Big...
AWS Community Day Nordics 2018 - Alexander Schachtschabel (Dazzle Rocks): Big...AWS Community Day Nordics 2018 - Alexander Schachtschabel (Dazzle Rocks): Big...
AWS Community Day Nordics 2018 - Alexander Schachtschabel (Dazzle Rocks): Big...Rolf Koski
 
AWS Community Day Nordics 2018 - Saku Vaittinen (VR): Data driven public tran...
AWS Community Day Nordics 2018 - Saku Vaittinen (VR): Data driven public tran...AWS Community Day Nordics 2018 - Saku Vaittinen (VR): Data driven public tran...
AWS Community Day Nordics 2018 - Saku Vaittinen (VR): Data driven public tran...Rolf Koski
 
AWS Community Day Nordics 2018: Rolf Koski - Building Successful Enterprise C...
AWS Community Day Nordics 2018: Rolf Koski - Building Successful Enterprise C...AWS Community Day Nordics 2018: Rolf Koski - Building Successful Enterprise C...
AWS Community Day Nordics 2018: Rolf Koski - Building Successful Enterprise C...Rolf Koski
 
AWS Finland meetup 2017 October
AWS Finland meetup 2017 OctoberAWS Finland meetup 2017 October
AWS Finland meetup 2017 OctoberRolf Koski
 
AWS Finland meetup 2017 August
AWS Finland meetup 2017 AugustAWS Finland meetup 2017 August
AWS Finland meetup 2017 AugustRolf Koski
 
AWS Finland User Group Meetup 2017-05-23
AWS Finland User Group Meetup 2017-05-23AWS Finland User Group Meetup 2017-05-23
AWS Finland User Group Meetup 2017-05-23Rolf Koski
 
Aws Cloudy Gothenburg April 2017 - AWS Account Management
Aws Cloudy Gothenburg April 2017 -  AWS Account ManagementAws Cloudy Gothenburg April 2017 -  AWS Account Management
Aws Cloudy Gothenburg April 2017 - AWS Account ManagementRolf Koski
 

More from Rolf Koski (20)

AWS Tampere Meetup February 2019 - Real World Well-Architected
AWS Tampere Meetup February 2019 - Real World Well-ArchitectedAWS Tampere Meetup February 2019 - Real World Well-Architected
AWS Tampere Meetup February 2019 - Real World Well-Architected
 
AWS Finland Meetup 2020 January
AWS Finland Meetup 2020 JanuaryAWS Finland Meetup 2020 January
AWS Finland Meetup 2020 January
 
AWS Finland Meetup 2019 November
AWS Finland Meetup 2019 NovemberAWS Finland Meetup 2019 November
AWS Finland Meetup 2019 November
 
AWS Finland Meetup 2019 October
AWS Finland Meetup 2019 OctoberAWS Finland Meetup 2019 October
AWS Finland Meetup 2019 October
 
AWS Finland Meetup 2019 September - sponsored by Digia
AWS Finland Meetup 2019 September - sponsored by DigiaAWS Finland Meetup 2019 September - sponsored by Digia
AWS Finland Meetup 2019 September - sponsored by Digia
 
AWS Finland meetup 2019 september - sponsored by Zalando
AWS Finland meetup 2019 september - sponsored by ZalandoAWS Finland meetup 2019 september - sponsored by Zalando
AWS Finland meetup 2019 september - sponsored by Zalando
 
Serverless Days Helsinki 2019 Rolf Koski - Business Driven Availability
Serverless Days Helsinki 2019 Rolf Koski - Business Driven AvailabilityServerless Days Helsinki 2019 Rolf Koski - Business Driven Availability
Serverless Days Helsinki 2019 Rolf Koski - Business Driven Availability
 
AWS Finland Meetup 2019 April
AWS Finland Meetup 2019 AprilAWS Finland Meetup 2019 April
AWS Finland Meetup 2019 April
 
AWS Community Day 2019 - Business Driven Availability
AWS Community Day 2019 - Business Driven AvailabilityAWS Community Day 2019 - Business Driven Availability
AWS Community Day 2019 - Business Driven Availability
 
Match AWS Pori - Rolf Koski - Cybercom
Match AWS Pori - Rolf Koski - CybercomMatch AWS Pori - Rolf Koski - Cybercom
Match AWS Pori - Rolf Koski - Cybercom
 
AWS Finland meetup 2018 August
AWS Finland meetup 2018 AugustAWS Finland meetup 2018 August
AWS Finland meetup 2018 August
 
AWS Community Day Nordics 2018 - Aino Health: Transition to serverless and le...
AWS Community Day Nordics 2018 - Aino Health: Transition to serverless and le...AWS Community Day Nordics 2018 - Aino Health: Transition to serverless and le...
AWS Community Day Nordics 2018 - Aino Health: Transition to serverless and le...
 
AWS Community Day Nordics 2018 - Vivek Balakrishnan (Rovio): Learnings from g...
AWS Community Day Nordics 2018 - Vivek Balakrishnan (Rovio): Learnings from g...AWS Community Day Nordics 2018 - Vivek Balakrishnan (Rovio): Learnings from g...
AWS Community Day Nordics 2018 - Vivek Balakrishnan (Rovio): Learnings from g...
 
AWS Community Day Nordics 2018 - Alexander Schachtschabel (Dazzle Rocks): Big...
AWS Community Day Nordics 2018 - Alexander Schachtschabel (Dazzle Rocks): Big...AWS Community Day Nordics 2018 - Alexander Schachtschabel (Dazzle Rocks): Big...
AWS Community Day Nordics 2018 - Alexander Schachtschabel (Dazzle Rocks): Big...
 
AWS Community Day Nordics 2018 - Saku Vaittinen (VR): Data driven public tran...
AWS Community Day Nordics 2018 - Saku Vaittinen (VR): Data driven public tran...AWS Community Day Nordics 2018 - Saku Vaittinen (VR): Data driven public tran...
AWS Community Day Nordics 2018 - Saku Vaittinen (VR): Data driven public tran...
 
AWS Community Day Nordics 2018: Rolf Koski - Building Successful Enterprise C...
AWS Community Day Nordics 2018: Rolf Koski - Building Successful Enterprise C...AWS Community Day Nordics 2018: Rolf Koski - Building Successful Enterprise C...
AWS Community Day Nordics 2018: Rolf Koski - Building Successful Enterprise C...
 
AWS Finland meetup 2017 October
AWS Finland meetup 2017 OctoberAWS Finland meetup 2017 October
AWS Finland meetup 2017 October
 
AWS Finland meetup 2017 August
AWS Finland meetup 2017 AugustAWS Finland meetup 2017 August
AWS Finland meetup 2017 August
 
AWS Finland User Group Meetup 2017-05-23
AWS Finland User Group Meetup 2017-05-23AWS Finland User Group Meetup 2017-05-23
AWS Finland User Group Meetup 2017-05-23
 
Aws Cloudy Gothenburg April 2017 - AWS Account Management
Aws Cloudy Gothenburg April 2017 -  AWS Account ManagementAws Cloudy Gothenburg April 2017 -  AWS Account Management
Aws Cloudy Gothenburg April 2017 - AWS Account Management
 

Recently uploaded

MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxalwaysnagaraju26
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...Nitya salvi
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyAnusha Are
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 

Recently uploaded (20)

MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 

AWS Stockholm Meetup June 2019 - Cybercom DeepRacer story

  • 1. Winning a DeepRacer competition AWS Stockholm Meetup 13.6.2019
  • 2. Who am I Rolf Koski CTO Cybercom AWS Business Group rolf.koski@cybercom.com rolle therolle - “Guy with the sticker” - Cloud Advisor & Evangelist - Community Leader - AWS Partner Ambassador - Well-Architected Lead
  • 3. Outline - Intro - AWS DeepRacer - Reinforcement Learning - Building a model & Simulator - Reality vs. Simulation - The Race!
  • 4. Jouni Luoma • Won the DeepRacer league competition in Stockholm AWS Summit on 22.5.2019 • Winning time was 8,7s • Some experience with AWS, a bit more with machine learning and 15+ years in IT consulting business • About 2 weeks experience with DeepRacer before the Summit jouni.luoma@cybercom.com https://www.linkedin.com/in/jouniluoma/
  • 6. AWS DeepRacer • 1/18th scale race car driven by reinforcement learning • 3D racing simulator • Global racing league • https://aws.amazon.com/deepracer/
  • 7. • DeepRacer car just runs inference on images captured from the on-board camera. – The model defines the actions (speed, steering) • DeepRacer console is service for training the model – AWS RoboMaker provides the simulation environment – AWS SageMaker does the training of a neural network • DeepRacer league is a competition on – Real track & cars in AWS Summits – Virtual league in simulator DeepRacer – Principles
  • 8. DeepRacer Car Specs CAR 18th scale 4WD with monster truck chassis CPU Intel Atom™ Processor MEMORY 4GB RAM STORAGE 32GB (expandable) WI-FI 802.11ac CAMERA 4 MP camera with MJPEG SOFTWARE Ubuntu OS 16.04.3 LTS, Intel® OpenVINO™ toolkit, ROS Kinetic DRIVE BATTERY 7.4V/1100mAh lithium polymer COMPUTE BATTERY 13600mAh USB-C PD PORTS 4x USB-A, 1x USB-C, 1x Micro-USB, 1x HDMI SENSORS Integrated accelerometer and gyroscope
  • 9.
  • 10. DeepRacer 3D racing simulator
  • 11. • https://aws.amazon.com/ deepracer/league/ • Live races on real life track in AWS Summits • Virtual races on racing simulator DeepRacer global racing league
  • 13. • Reinforcement Learning (RL) is a type of machine learning along supervised and unsupervised learning. • RL is the study of agents and how they learn by trial and error. – Formalizes the idea of rewarding or punishing an agent in order to … – Make it more likely to repeat or avoid certain behavior in the future. Reinforcement Learning
  • 14. Reinforcement Learning – Principles Agent Environment Action at State, Reward st , rt • Agent interacts with the Environment • Every step agent sees observation of the state of the environment • Fully observed • Partially observed • Agent decides an action based on the observation • Taken action is based on Policy • Agent gets new observation of the state and a reward • The goal is to maximize the cumulative reward, called return
  • 16. • Your job: – Select Action Space for your model – Provide logic how the agent (the car) gets rewards – Provide hyperparameters for the training of the model • AWS DeepRacer takes care of the rest – AWS DeepRacer console to start and evaluate the training – AWS RoboMaker for simulating the driving – The data for neural network training comes from here – AWS SageMaker for training the model – AWS Kinesis Video Streams for visual feedback – AWS CloudWatch logs of the simulation and training events Building a model & Simulation
  • 17. Building a model & Simulation
  • 18. • Build a rewarding logic based on following inputs "all_wheels_on_track": Boolean, # flag to indicate if the vehicle is on the track "x": float, # vehicle's x-coordinate in meters "y": float, # vehicle's y-coordinate in meters "distance_from_center": float, # distance in meters from the track center "is_left_of_center": Boolean, # Flag to indicate if the vehicle is on the left side to the track center or not. "heading": float, # vehicle's yaw in degrees "progress": float, # percentage of track completed "steps": int, # number steps completed "speed": float, # vehicle's speed in meters per second (m/s) "steering_angle": float, # vehicle's steering angle in degrees "track_width": float, # width of the track "waypoints": [[float, float], … ], # list of [x,y] as milestones along the track center "closest_waypoints": [int, int] # indices of the two nearest waypoints. • https://docs.aws.amazon.com/deepracer/latest/developerguide/deepracer-reward-function-input.html Building a model & Simulation
  • 19. Building a model & Simulation
  • 20. • So, had the first model doing around 45s laps in simulator – Not that good! – The fastest times on real track were ~8s at this point • Continue training – More rewards for speed – Training with faster speeds à 20s laps, still not good! • Continue training – Testing different reward functions and params à ~12s laps – Still not getting near the 8s – But the car runs at the top speed almost all the time? What now? Building a model & Simulation
  • 22. • We received a track to our office a week before the summit • It was HUGE and we had to move some furniture to even get it unfolded • Good enough, let’s try! Cybercom Circuit Tampere
  • 24. Not that much à Training can be hard ß Lots of this
  • 25. • The car seemed to drive off the track all the time! – We did not have the visual borders around the track – The track surface was quite shiny à reflections • Tried different models (also during night) • Built visual borders – Hanging gardening fabric over office chairs • Even tried to attach polarizing filter to the camera • After a while got couple of models doing full laps Towards Results
  • 27. • The doors to Summit opened at 7.45 • Was the first in line to the DeepRacer track at 8.00 • Developers have 4 minutes time on the track – Only fastest lap counts à 11s lap on first try! – With model that had 20s laps in simulator • Stayed at the top for 1-2 hours, but then competitors got under 10s laps. • Hitting the queue again (and again) – Found a model that was fast, but quite unstable – After some tries hit the 8,7s time – Did not manage to get a better time for the rest of the day The Race!