aws / aws/amazon-sagemaker-examples

Image-classification-incremental-training-highlevel.ipynb failed CI

Open
#2,413 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/introduction_to_amazon_algorithms/imageclassification_caltech/Image-classification-incremental-training-highlevel.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [14]":
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
6 payload = bytearray(payload)
7
----> 8 ic_classifier.content_type = 'application/x-image'
9 result = json.loads(ic_classifier.predict(payload))
10 # the result will output the probabilities for all classes

AttributeError: can't set attribute

Contributor guide

Open the contributing guide

Research direction

Open introduction_to_amazon_algorithms/imageclassification_caltech/Image-classification-incremental-training-highlevel.ipynb and start at cell In [14], where the content_type assignment raises AttributeError. Determine the notebook-compatible prediction setup, then verify that this image-classification example completes CI without the failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.