aws / aws/amazon-sagemaker-examples
GT_semantic_segmentation_to_COCO.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/ground_truth_labeling_jobs/ground_truth_conversion_scripts/GT_semantic_segmentation_to_COCO.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [2]":
---------------------------------------------------------------------------
InvalidRegionError Traceback (most recent call last)
in
4 JOBNAME = '' #Replace it with the labeling job name
5 REGION = '' #Replace it with the job region
----> 6 client = boto3.client('sagemaker',region_name=REGION)
7 response = client.describe_labeling_job(LabelingJobName= JOBNAME)
8 file = response['LabelingJobOutput']['OutputDatasetS3Uri']
/opt/conda/lib/python3.7/site-packages/boto3/__init__.py in client(*args, **kwargs)
91 See :py:meth:`boto3.session.Session.client`.
92 """
---> 93 return _get_default_session().client(*args, **kwargs)
94
95
/opt/conda/lib/python3.7/site-package
[...]
InvalidRegionError: Provided region_name '' doesn't match a supported format.
Contributor guide
Research direction
Open ground_truth_labeling_jobs/ground_truth_conversion_scripts/GT_semantic_segmentation_to_COCO.ipynb and inspect cell In [2], starting with the boto3 SageMaker client creation. Run the notebook's CI validation and confirm it no longer raises InvalidRegionError for the configured region.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100