Skip to content

PaulConyngham/SageMakerRL-SML-Summit-2019

Repository files navigation

Turbocharging Reinforcement Learning with SageMakerRL

-- Authors : Paul Conyngham & William Xu | StarAi Project Machine Learning Engineers - | Email : contact@starai.com

 

DQN BREAKOUT

 

This workshop shows you how, using AWS, you can parallelise the training of your reinforcement learning algorithms to get insanely fast turn around times & results for your reinforcement learning experiments.

Instructions

Step 0 - Cloud Formation Installation

Click the "launch stack" button below to deploy your SageMaker RL stack. This will take you to the AWS console to setup the stack for this lab. Continue following the instructions here in order to complete the setup.

Or optionally scroll down for the command to launch the lab via a single command in the AWS Command Line Interface.

 

Launch Stack into us-east-1 with CloudFormation

 

  1. Step 1 of cloud formation is to specify a template. Do not change any of the settings here. Scroll down to the bottom of the page and click the orange "Next" button

 

orange next button

 

  1. Step 2 of cloud formation is to specify stack details. Same as before scroll down to the bottom of the page and click the orange "Next" button.
  2. Step 3 is to configure stack options. Again, scroll to the bottom of the page and click Next.

 

  1. Step 4 is "Review". Scroll to the bottom of the page. This time click the "I acknowledge the AWS CloudFormation might create IAM resources check box". Once you the box is ticked please click the orange "Create Stack Button"

 

create stack

 

or if you have the Amazon Command Line Interface installed, setting up this lab is as easy as running the following command in your terminal:

aws cloudformation create-stack --stack-name awsRLSummit2019 --template-body https://s3-ap-southeast-2.amazonaws.com/aws-summit-2019-rl/AWS-summit_RL-CloudFormation.yml --capabilities CAPABILITY_IAM

 

Step 1 - Login to Sagemaker

  aws console

 

  1. Login to AWS Console
  2. Click "Find Services"
  3. Type "SageMaker" and hit enter

Step 2 - open our Notebook instance

 

  1. On the left menu under the "Notebook" section, click "Notebook instances"

   

menu

 

  1. Next to our instance named "BasicNotebookInstance" there is a link called "open Jupyter", click it.

   

menu

 

  1. A new tab will launch taking you to a jupyter notebook. Once this has finished loading, click the link titled "Summit-RL"

 

menu

 

  1. Clicking the link will take you to a new directory. Click the file titled "Sagemaker_RL_Lab_Summit_2019_One_Click.ipynb".

 

menu

 

  1. A new browser tab should open and launch a Jupyter notebook. Once the notebook has finished loading, from the top menu click kernel, then click restart and clear output. Another pop up should appear. Click the red button titled "restart and clear all outputs".

Your are now ready to get started with the lab!

 

menu

 

Please note that in some rare cases the Jupyter notebook may give you a pop up asking which kernel to use. If this happens to you please select "conda_tensorflow_p36" as the kernel of choice.

 

The rest of the workshop continues in the Jupyter notebook. Follow the instructions there to continue to learn about distributed Reinforcement Learning with Sagemaker RL.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published