aws / aws/amazon-sagemaker-examples

MXNet Container Endpoint Deployment Failed

Open
#1,473 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

In notebook: https://github.com/awslabs/amazon-sagemaker-examples/blob/master/reinforcement_learning/rl_hvac_coach_energyplus/rl_hvac_coach_energyplus.ipynb

Model deployment is unsuccessful. Testing the model endpoint with

`action, action_mean, action_std = predictor.predict(np.array([0., 0., 2.,]))`

Returns:

`AttributeError: 'NoneType' object has no attribute 'predict'`

To reproduce 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/reinforcement_learning/rl_hvac_coach_energyplus/rl_hvac_coach_energyplus.ipynb
4. Click "Cell" -> "Run All"

Contributor guide

Open the contributing guide

Research direction

Start with reinforcement_learning/rl_hvac_coach_energyplus/rl_hvac_coach_energyplus.ipynb and run the notebook through the predictor call shown in the issue. Trace why model deployment leaves predictor as None; done means the notebook deploys the model successfully and the sample prediction returns values instead of raising AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, python
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.