aws / aws/amazon-sagemaker-examples

Scikit-learn Estimator Example With Batch Transform.ipynb failed CI

Open
#2,272 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/aws_sagemaker_studio/sagemaker-python-sdk/scikit_learn_iris/Scikit-learn Estimator Example With Batch Transform.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [4]":
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
in
8 role=role,
9 sagemaker_session=sagemaker_session,
---> 10 hyperparameters={'max_leaf_nodes': 30})

/opt/conda/lib/python3.7/site-packages/sagemaker/sklearn/estimator.py in __init__(self, entry_point, framework_version, py_version, source_dir, hyperparameters, image_uri, **kwargs)
115 "train_instance_count", "instance_count", kwargs.get("instance_count"), kwargs
116 )
--> 117 validate_version_or_image_args(framework_version, py_version, image_uri)
118 if py_version and py

[...]

ValueError: framework_version or py_version was None, yet image_uri was also None. Either specify both framework_version and py_version, or specify image_uri.

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.