With Amazon SageMaker
This step-by-step tutorial will help guide you though creating a model using Amazon SageMaker and importing it to an AWS DeepLens model. AWS DeepLens is a fully programmable video camera that comes with tutorials, code, and pre-trained models designed to expand deep learning skills.
You will need an AWS DeepLens device in order to complete this tutorial. You can pre-order now on amazon.com.
If this is your first time using your AWS DeepLens check out the How to Configure AWS DeepLens and the Creating and Deploying an AWS DeepLens Project tutorials to help you get started.
Open the AWS Management Console in a new browser window, so you can keep this step-by-step guide open. When the screen loads, enter your user name and password to get started. Then type SageMaker in the search bar and select Amazon SageMaker to open the console.
In this step, you will set up and configure an Amazon SageMaker notebook instance.
In this step, you will work within the Jupyter notebook, import a model from github, link it to an S3 bucket, and run cells.
e. To write its output the model needs an S3 Bucket. So, now open the S3 Console, and select Create Bucket.
In this final step, you will learn how to import the model you just created into an AWS DeepLens model.
a. Once all the cells have finished running (this is indicated by the * beside each cell turning into a sequence number), navigate to the AWS DeepLens Console and select Models then Import model.
b. In the Import source section, select Externally trained model, and under Model settings, point to the S3 Bucket you created and the folder that was used to output the model (for example, S3://deeplens-sagemaker-myname/test/). Give it a name (for example, Hotdog-or-not) and a description, then select Import.
You have created your first model using Amazon SageMaker and imported it to an AWS DeepLens model!
You can now include this in a project alongside an AWS Lambda function, and deploy it to the camera for local inference.
Now that you have deployed a model to AWS DeepLens, pick one of the following options to further expand your knowledge.
Dive deeper
Get more info on how to use AWS DeepLens.
Learn more
Learn how to customize and display project output from AWS DeepLens on an HTML page.
Build a project
Get an overview of training a model with Amazon SageMaker and extending it with AWS Lambda.