In this lab session, you will learn how to build and train a model in Amazon SageMaker
Before we begin, download the repo to your local directory. You can download the repo from root directory
Click Clone or download button on the right.
This will download the repo as a zip file. Extract the zip file.
Go to SageMaker console: https://console.aws.amazon.com/sagemaker
Click on Create Notebook instance
- Provide the name of the notebook as face-detection
- Notebook instance type- ml.t2.medium
- IAM role- Click 'Create a new role'
In the dialog box that opens up:
- Click 'Any S3 bucket'
- Leave the rest as is. Click 'Create role'
Leave VPC, Lifecycle and Encryption key as defaults. Dont make any changes
Click 'Create notebook instance'
You can view all your notebook instances by choosing Notebook on the left menu. It will take couple of minutes for the notebook instance to be created.
Choose Upload button on the jupyter page
Find the SSD_Object_Detection_SageMaker_v3.ipynb file (You can find it in the sagemaker lab directory of the extracted repo. You downloaded and extracted the zip file earlier in the process)
Choose Upload
You can choose your uploaded notebook and click on 'Open'.
This will open your Jupyter notebook.
- Execute the cells by clicking on run button or using shift+ enter on your keyboard
Congratulations! You have successfully deployed your own face detection model with Amazon Sagemaker! Next, follow the same steps in the previous challenges to deploy your project and lambda function -- except this time, use your created SageMaker model instead of the one provided by default with AWS Deep Lens.
Back (Challenge 2: Sentiment Analysis) | Next (Cleanup Your Resources)