aws / aws/amazon-sagemaker-examples

tensorflow_keras_CIFAR10.ipynb failed CI

Open
#2,442 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/sagemaker-python-sdk/keras_script_mode_pipe_mode_horovod/tensorflow_keras_CIFAR10.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [3]":
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
2
3 bucket = sagemaker_session.default_bucket()
----> 4 dataset_uri = S3Uploader.upload('data', 's3://{}/tf-cifar10-example/data'.format(bucket))
5
6 display(dataset_uri)

/usr/local/lib/python3.7/site-packages/sagemaker/s3.py in upload(local_path, desired_s3_uri, kms_key, sagemaker_session)
89
90 return sagemaker_session.upload_data(
---> 91 path=local_path, bucket=bucket, key_prefix=key_prefix, extra_args=extra_args
92 )
93

/usr/local/lib/python3.7/site-packages/sagemaker/session.py in upload_data(self, path, bucket, key_prefix, extra_args)
225
226

[...]

FileNotFoundError: [Errno 2] No such file or directory: 'data'

Contributor guide

Open the contributing guide

Research direction

Open sagemaker-python-sdk/keras_script_mode_pipe_mode_horovod/tensorflow_keras_CIFAR10.ipynb and inspect the failing In [3] cell, especially the S3Uploader.upload('data', ...) call. Run the notebook or its CI check to determine why the local data path is absent; done means the notebook completes without the FileNotFoundError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.