aws / aws/amazon-sagemaker-examples

mxnet_embedding_server.ipynb failed CI

Open
#2,461 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-python-sdk/mxnet_gluon_embedding_server/mxnet_embedding_server.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [15]":
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
in
2 predictor = sagemaker.predictor.RealTimePredictor(
3 endpoint=endpoint_key,
----> 4 content_type='image/jpeg')

/usr/local/lib/python3.7/site-packages/sagemaker/deprecations.py in __init__(self, *args, **kwargs)
170 """Provides a warning for the class name."""
171 renamed_warning(f"The class {name}")
--> 172 super(DeprecatedClass, self).__init__(*args, **kwargs)
173
174 return DeprecatedClass

TypeError: __init__() missing 1 required positional argument: 'endpoint_name'

Contributor guide

Open the contributing guide

Research direction

Open sagemaker-python-sdk/mxnet_gluon_embedding_server/mxnet_embedding_server.ipynb and inspect cell In [15], where RealTimePredictor is constructed. Reproduce the notebook or its CI check to confirm the endpoint-related TypeError, then verify that the notebook runs successfully and the CI failure is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
Domain
machine-learning, testing-qa
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.