aws / aws/amazon-sagemaker-examples

Image-classification-lst-format.ipynb failed CI

Open
#2,267 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/aws_sagemaker_studio/sagemaker_algorithms/imageclassification_caltech/Image-classification-lst-format.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [10]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
in
1 # create the Amazon SageMaker training job
2 sagemaker = boto3.client(service_name='sagemaker')
----> 3 sagemaker.create_training_job(**training_params)
4

[...]

ClientError: An error occurred (ValidationException) when calling the CreateTrainingJob operation: No S3 objects found under S3 URL "s3://sagemaker-us-west-2-521695447989/image-classification/train/" 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

Open aws_sagemaker_studio/sagemaker_algorithms/imageclassification_caltech/Image-classification-lst-format.ipynb and inspect the cells before In [10], especially the S3 input setup and training_params. Reproduce the failing training-job call in the indicated us-west-2 environment, then verify the notebook's CI run no longer reports missing S3 objects.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.