aws / aws/amazon-sagemaker-examples

Image-classification-fulltraining.ipynb failed CI

Open
#2,414 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/introduction_to_amazon_algorithms/imageclassification_caltech/Image-classification-fulltraining.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [11]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
in
1 sagemaker = boto3.client('sagemaker')
----> 2 sagemaker.create_transform_job(**request)
3
4 print("Created Transform job with name: ", batch_

[...]

ClientError: An error occurred (ValidationException) when calling the CreateTransformJob operation: No S3 objects found under S3 URL "s3://sagemaker-us-west-2-521695447989/image-classification-full-training/test/" given in input data source. Please ensure that the bucket exists in the selected region (us-west-2), that objects exist under that S3 prefix, and that the role "arn:aws:iam::521695447989:role/ProdBuildSystemStack-ReleaseBuildRoleFB326D49-QK8LUA2UI1IC" has "s3:ListBucket" permissions on bucket "sagemaker-us-west-2-521695447989".

Contributor guide

Open the contributing guide

Research direction

Start with introduction_to_amazon_algorithms/imageclassification_caltech/Image-classification-fulltraining.ipynb and inspect the code around In [11], where CreateTransformJob fails. Reproduce the CI run and trace the referenced S3 input path and permissions from the error. Done means the notebook completes CI without the reported missing-S3-objects validation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
ci-cd, cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.