aws / aws/amazon-sagemaker-examples

Image-classification-transfer-learning.ipynb failed CI

Open
#2,410 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-transfer-learning.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [2]":
---------------------------------------------------------------------------
ParamValidationError Traceback (most recent call last)
in
23
24 download('http://data.mxnet.io/data/caltech-256/caltech-256-60-train.rec')
---> 25 upload_to_s3(s3_train_key, 'caltech-256-60-train.rec')
26 download('http://data.mxnet.io/data/caltech-256/caltech-256-60-val.rec')
27 upload_to_s3(s3_validation_key, 'caltech-256-60-val.rec')

in upload_to_s3(channel, file)
13 data =

[...]

Invalid bucket name "<>": Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$" or be an ARN matching the regex "^arn:(aws).*:s3:[a-z\-0-9]+:[0-9]{12}:accesspoint[/:][a-zA-Z0-9\-]{1,63}$|^arn:(aws).*:s3-outposts:[a-z\-0-9]+:[0-9]{12}:outpost[/:][a-zA-Z0-9\-]{1,63}[/:]accesspoint[/:][a-zA-Z0-9\-]{1,63}$"

Contributor guide

Open the contributing guide

Research direction

Open the linked Image-classification-transfer-learning.ipynb and inspect cell In [2], especially upload_to_s3 and the S3 bucket value used before the failing upload. Reproduce the CI failure, determine why the bucket value is invalid, and confirm that the notebook completes its checks with a valid configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.