aws / amazon-sagemaker-examples

Example 📓 Jupyter notebooks that demonstrate how to build, train, and deploy machine learning models using 🧠 Amazon SageMaker.
https://sagemaker-examples.readthedocs.io
Apache License 2.0
9.8k stars 6.67k forks source link

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

Open Druizm128 opened 4 months ago

Druizm128 commented 4 months ago

Link to the notebook A Move Amazon SageMaker Autopilot ML models from experimentation to production using Amazon SageMaker Pipelines

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