aws / aws/amazon-sagemaker-examples

SageMaker-Model-Monitor-Visualize.ipynb failed CI

Open
#2,341 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_model_monitor/visualization/SageMaker-Model-Monitor-Visualize.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [4]":
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
in
----> 1 execution = MonitoringExecution.from_processing_arn(sagemaker_session=session.Session(), processing_job_arn=processing_job_arn)
2 exec_inputs = {inp['InputName']: inp for inp in execution.describe()['ProcessingInputs']}
3 exec_results = execution.output.destination

/opt/conda/lib/python3.7/site-packages/sagemaker/model_monitor/model_monitoring.py in from_processing_arn(cls, sagemaker_session, processing_job_arn)
3210
3211 """
-> 3212 processing_job_name = processing_job_arn.split(":")[5][
3213 len("processing-job/") :
3214 ] # This is necessary while the API only vends an arn.

IndexError: list index out of range

Contributor guide

Open the contributing guide

Research direction

Open sagemaker_model_monitor/visualization/SageMaker-Model-Monitor-Visualize.ipynb and inspect cell In [4], especially the processing_job_arn passed to MonitoringExecution.from_processing_arn. Run the notebook or its CI validation to reproduce the IndexError; done means the notebook executes successfully through this cell and CI passes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.