aws / aws/amazon-sagemaker-examples

Unable to train Multilabel Image Classifier in Sagemaker console. No option to set "AttributeNames".

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

**ERROR:**

_ClientError: Got empty batch from pipe. Please check if the manifest file contains valid batches and the value of training job parameter AttributeNames matches attributes names in the augmented manifest._

Using amazon SageMaker console Create training job option. I set up the parameters with the help of [https://docs.aws.amazon.com/sagemaker/latest/dg/image-classification.html](image-classification docs).

> Channel name: train, validation (both with the same options, seperate .manifest files)
> Input mode: Pipe
> Content type: application/x-image
> Record Wrapper: RecordIO
> Data source: S3 bucket

I used an augmented manifest file created by amazon sagemaker Ground Truth.

According to the error I need to set AttributeNames to the Ground Truth job name, yet there is no such option to do so. AND amazon keeps billing me for p2 instance time yet again. I feel like I'm being robbed using sagemaker.

Contributor guide

Open the contributing guide

Research direction

The report names no repository file, notebook, or test; start by reviewing the SageMaker console Create training job flow and the linked image-classification documentation. Compare the augmented manifest requirements and the AttributeNames training parameter, then determine whether the missing console option belongs in this examples repository or requires an AWS service report.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.