aws / aws/amazon-sagemaker-examples

[Bug Report] invoke_endpoint is returning empty list in the response body.

Open
#3,830 1 comment 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/main/advanced_functionality/xgboost_bring_your_own_model/xgboost_bring_your_own_model.ipynb

**Describe the bug**
Just ran the code as it is, and found that `runtime_client.invoke_endpoint` always returns an empty list in the response body.

**To reproduce**
Just run all cells of the notebook.

Contributor guide

Open the contributing guide

Research direction

Open advanced_functionality/xgboost_bring_your_own_model/xgboost_bring_your_own_model.ipynb and run all cells to reproduce the empty response from runtime_client.invoke_endpoint. Read the notebook’s endpoint invocation and output-handling cells, then verify that the response body contains the expected prediction list when the notebook completes successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.