aws / aws/amazon-sagemaker-examples

[Bug Report] Can't load xgboost models created with Sagemaker Estimator

Open
#2,952 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

Stumbled upon this while trying to evaluate my xgboost model
` model = pickle.load(open("./data/xgboost-model", "rb"))

UnpicklingError: unpickling stack underflow`

I get this same error while doing evaluation with a script processor on SageMaker Pipelines or trying to run it locally.

I'm running the abalone example evaluation script

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.