Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions 1-KnowYourDevice/3-HotDogNotHotDog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ In this exercise, you will learn to:
### Create a bucket in S3

1. Visit https://s3.console.aws.amazon.com/s3/home?region=us-east-1# to access Amazon S3 console.
2. Make sure you are on the US East (N.Virginia) region. (This can be selected in the top, right-hand corner of the screen.)
3. Click on "Create bucket".
4. Name the bucket deeplens-sagemaker-your-full-name (Please note: It is important that is prefixed with deeplens-sagemaker prefix, else these services cannot access. Click "Next" twice.
5. In the "Manage public permissions" section, choose "Grant public read access", and click "Next".
6. Click "Create bucket".
7. After you create the bucket, click on that bucket in your S3 bucket list, and create a folder named "test" in the bucket.
1. Make sure you are on the US East (N.Virginia) region. (This can be selected in the top, right-hand corner of the screen.)
1. Click on "Create bucket".
1. Name the bucket deeplens-sagemaker-your-full-name (Please note: It is important that the bucket is prefixed with deeplens-sagemaker prefix, else SageMaker cannot access the bucket. Click "Next" twice.
1. Click "Create bucket".
1. After you create the bucket, click on that bucket in your S3 bucket list, and create a folder named "test" in the bucket.

### Amazon SageMaker Console

Expand Down
2 changes: 1 addition & 1 deletion 2-FaceDetectionAndVerification/1-FaceDetection/iottos3.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def lambda_handler(event, context):

file_name = 'image-'+time.strftime("%Y%m%d-%H%M%S")+'.jpg'

response = s3.put_object(ACL='public-read', Body=face,Bucket=bucket,Key=file_name)
response = s3.put_object(Body=face,Bucket=bucket,Key=file_name)

file_url = 'https://s3.amazonaws.com/' + bucket + '/' + file_name

Expand Down