aws / aws/amazon-sagemaker-examples

Image-classification-fulltraining-elastic-inference.ipynb failed CI

Open
#2,411 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-elastic-inference.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 Image-classification-fulltraining-elastic-inference.ipynb and inspect cell In [2], especially upload_to_s3 and the S3 bucket value. Reproduce the CI failure and trace why the bucket is still represented as <>; done means the notebook no longer raises the reported ParamValidationError in CI.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.