aws / aws/amazon-sagemaker-examples

object_detection_augmented_manifest_training.ipynb failed CI

Open
#2,331 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/ground_truth_labeling_jobs/object_detection_augmented_manifest_training/object_detection_augmented_manifest_training.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [4]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
in
1 augmented_manifest_s3_key = s3_train_data_path.split(bucket_name)[1][1:]
2 s3_obj = s3.Object(bucket_name, augmented_manifest_s3_key)
----> 3 augmented_manifest = s3_obj.get()['Body'].read().decode('utf-8')
4 augmented_manifest_lines = augmented_manifest.split('\n')
5

/opt/conda/lib/python3.7/site-packages/boto3/resources/factory.py in do_action(self, *args, **kwargs)
518 # instance via ``self``.
519 def do_action(self, *args, **kwargs):
--> 520 response = action(self, *args, **kwargs)
521
522 if hasattr

[...]

ClientError: An error occurred (AccessDenied) when calling the GetObject operation: Access Denied

Contributor guide

Open the contributing guide

Research direction

Open the linked notebook and inspect cell In[4], where the augmented manifest is read from S3. Reproduce the CI failure and investigate the AccessDenied response for the referenced object. Done means the notebook's CI run completes without the GetObject permission error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.