aws / aws/amazon-sagemaker-examples

01_download_data.ipynb failed CI

Open
#2,310 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/prep_data/image_data_guide/01_download_data.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [15]":
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
----> 1 tf = tarfile.open('cifar-10-python.tar.gz')
2 tf.extractall()

/opt/conda/lib/python3.7/tarfile.py in open(cls, name, mode, fileobj, bufsize, **kwargs)
1573 saved_pos = fileobj.tell()
1574 try:
-> 1575 return func(name, "r", fileobj, **kwargs)
1576 except (ReadError, CompressionError):
1577 if fileobj is not None:

/opt/conda/lib/python3.7/tarfile.py in gzopen(cls, name, mode, fileobj, compresslevel, **kwargs)
1637
1638 try:
-> 1639 fileobj = GzipFile(name, mode + "b", compre

[...]

FileNotFoundError: [Errno 2] No such file or directory: 'cifar-10-python.tar.gz'

Contributor guide

Open the contributing guide

Research direction

Open the linked prep_data/image_data_guide/01_download_data.ipynb and start at In [15], where tarfile.open tries to read cifar-10-python.tar.gz. Trace the preceding download steps, then rerun the notebook or CI to confirm the archive is present before extraction and the notebook completes successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.