aws / aws/amazon-sagemaker-examples

Image-classification-transfer-learning.ipynb failed CI

Open
#2,268 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-transfer-learning.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: ", ba

[...]

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-transfer-learning/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

Open aws_sagemaker_studio/sagemaker_algorithms/imageclassification_caltech/Image-classification-transfer-learning.ipynb and inspect In [11], where CreateTransformJob fails. Reproduce the CI run and check the referenced S3 test prefix and job inputs. Done means the notebook's CI execution completes without the ValidationException.

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
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.