aws / aws/amazon-sagemaker-examples

Dataset not working in example in notebook A Move Amazon SageMaker Autopilot ML models from experimentation to production using Amazon SageMaker Pipelines

Open
#4,569 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**
[A Move Amazon SageMaker Autopilot ML models from experimentation to production using Amazon SageMaker Pipelines](https://github.com/aws/amazon-sagemaker-examples/blob/main/autopilot/sagemaker-autopilot-pipelines/autopilot_pipelines_demo_notebook.ipynb)

**Describe the bug**

Cannot download data from the pointed source.

```
!mkdir data
!wget https://static.us-east-1.prod.workshops.aws/public/d56bf7ad-9738-4edf-9be0-f03cd22d8cf2/static/resources/hcls/diabetic.zip -nc -O data/data.zip
!unzip -o data/data.zip -d data
```

I get this.

```
--2024-02-19 18:16:54-- https://static.us-east-1.prod.workshops.aws/public/d56bf7ad-9738-4edf-9be0-f03cd22d8cf2/static/resources/hcls/diabetic.zip
Resolving static.us-east-1.prod.workshops.aws (static.us-east-1.prod.workshops.aws)... 99.84.208.59, 99.84.208.129, 99.84.208.4, ...
Connecting to static.us-east-1.prod.workshops.aws (static.us-east-1.prod.workshops.aws)|99.84.208.59|:443... connected.
ERROR: cannot verify static.us-east-1.prod.workshops.aws's certificate, issued by ‘CN=Amazon RSA 2048 M01,O=Amazon,C=US’:
Unable to locally verify the issuer's authority.
To connect to static.us-east-1.prod.workshops.aws insecurely, use `--no-check-certificate'.
Archive: data/data.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of data/data.zip or
data/data.zip.zip, and cannot find data/data.zip.ZIP, period.
```

Can we please update this to make this example functional as it is part of the repo of examples and also part of the sagemaker documentation.

Kind regards

Contributor guide

Open the contributing guide

Research direction

Open autopilot/sagemaker-autopilot-pipelines/autopilot_pipelines_demo_notebook.ipynb and start with the data download cell containing the workshops.aws URL. Verify the data source and rerun the download and unzip commands; done means the dataset is retrieved successfully and the example can proceed past this cell.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.