aws / aws/amazon-sagemaker-examples
Endpoint Not Found in MMS Notebook
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
In notebook: "Bring Your Own DL Framework to Amazon Sagemaker with Model Server for Apache MXNet's (MMS) BYO container.ipynb"
When testing the last endpoint:
`from sagemaker.predictor import json_serializer, csv_serializer, json_deserializer, RealTimePredictor
predictor = RealTimePredictor(endpoint=endpoint, sagemaker_session=sess)'
Returns:
`ValidationError: An error occurred (ValidationError) when calling the InvokeEndpoint operation: Endpoint PaddleSentiment of account xxxxxxxxxxxx not found.`
To replicate error:
1. Launch SM Notebook instance
2. Clone https://github.com/awslabs/amazon-sagemaker-examples.git
3. Open https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/paddlepaddle_sentiment_analysis_byo_mms/Bring Your Own DL Framework to Amazon Sagemaker with Model Server for Apache MXNet's (MMS) BYO container.ipynb
4. Click "Cell" -> "Run All"
Contributor guide
Research direction
Open the named notebook at sagemaker-python-sdk/paddlepaddle_sentiment_analysis_byo_mms/ and run all cells through the final RealTimePredictor invocation. Trace the endpoint creation and the endpoint name used by the final test; done means the PaddleSentiment endpoint is found and the last invocation completes without ValidationError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, python
- Domain
- api, cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100