aws / aws/amazon-sagemaker-examples

SageMaker-Enable-Model-Monitor.ipynb failed CI

Open
#2,338 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/enable_model_monitor/SageMaker-Enable-Model-Monitor.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [2]":
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
in
1 from sagemaker.model_monitor import DataCaptureConfig
----> 2 from sagemaker import RealTimePredictor
3 from sagemaker import session
4 import boto3
5 sm_session = session.Session(boto3.Session())

ImportError: cannot import name 'RealTimePredictor' from 'sagemaker' (/opt/conda/lib/python3.7/site-packages/sagemaker/__init__.py)

Contributor guide

Open the contributing guide

Research direction

Open sagemaker_model_monitor/enable_model_monitor/SageMaker-Enable-Model-Monitor.ipynb and inspect cell In [2], starting with the failing RealTimePredictor import. Run the notebook or its CI check to confirm the import error is resolved and the model-monitor example completes successfully.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.