aws / aws/amazon-sagemaker-examples

data_distribution_types.ipynb failed CI

Open
#2,492 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/advanced_functionality/data_distribution_types/data_distribution_types.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [8]":
---------------------------------------------------------------------------
ParamValidationError Traceback (most recent call last)
in
1 for year in range(1979, 1984):
----> 2 prepare_gdelt(bucket, prefix, str(year), events)

in prepare_gdelt(bucket, prefix, file_prefix, events, random_state)
18 train_data, validation_data = np.split(model_data.sample(frac=1, random_state=random_state).to_numpy(),
19 [int(

[...]

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 advanced_functionality/data_distribution_types/data_distribution_types.ipynb and inspect In [8], then trace the prepare_gdelt call shown in the error. Reproduce the notebook’s CI failure and determine how the placeholder bucket value reaches the AWS request; done means the notebook completes without the invalid bucket-name error.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.