aws / aws/amazon-sagemaker-examples
tensorflow-serving-cifar10-python-sdk.ipynb failed CI
- 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_batch_transform/tensorflow_cifar-10_with_inference_script/tensorflow-serving-cifar10-python-sdk.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [3]":
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
----> 1 inputs = sagemaker_session.upload_data(path='data', key_prefix='data/DEMO-batch-cifar10-tf')
2 display(inputs)
/usr/local/lib/python3.7/site-packages/sagemaker/session.py in upload_data(self, path, bucket, key_prefix, extra_args)
225
226 for local_path, s3_key in files:
--> 227 s3.Object(bucket, s3_key).upload_file(local_path, ExtraArgs=extra_args)
228
229 s3_uri = "s3://{}/{}".format(bucket, key_prefix)
/usr/local/lib/python3.7/site-packages/boto3/s3/inject.py in object_upload_file(self, Filename, ExtraArgs, Callback, Config)
278 return self.meta.client.upload_file(
[...]
FileNotFoundError: [Errno 2] No such file or directory: 'data'
Contributor guide
Research direction
Open sagemaker_batch_transform/tensorflow_cifar-10_with_inference_script/tensorflow-serving-cifar10-python-sdk.ipynb and start at In [3], where sagemaker_session.upload_data fails because the data path is missing. Re-run the notebook or CI check after investigating that path, and confirm the notebook completes without FileNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, python, tensorflow
- Domain
- machine-learning, testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100