Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splitter/consolidator worker encountered exception #3335

Open
martasp opened this Issue Apr 13, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@martasp
Copy link

martasp commented Apr 13, 2019

System information

OS version/distro: Windows 10
.NET Version (eg., dotnet --info): dotnet core 2.2
Version : ML.NET v1.0.0-preview

Issue

  • What did you do?
    I used tensorflow model + SDCA sample to train my own data
  • What happened?
    when i have 800 labels it gives this error, but work when there are 100 labels in tags.tsv file.

Source code / logs

Training classification model
#############################

EXCEPTION
#########
Splitter/consolidator worker encountered exception while consuming source data

Press any key to finish.

@martasp

This comment has been minimized.

Copy link
Author

martasp commented Apr 13, 2019

Found more info than images cant be indexed pixel format
EXCEPTION
#########
A Graphics object cannot be created from an image that has an indexed pixel format.
Parameter name: image

@sfilipi

This comment has been minimized.

Copy link
Member

sfilipi commented Apr 15, 2019

@martasp thanks for reporting. Is it possible to share your pipeline, and the data that causes the exception?

@sfilipi sfilipi added the need info label Apr 15, 2019

@codemzs

This comment has been minimized.

Copy link
Member

codemzs commented Apr 15, 2019

@martasp If you have tensorflow transfomer please make sure to have addBatchDimensionInput: true as an argument. See below for an example:

var pipeline = mlContext.Model.LoadTensorFlowModel(modelLocation).ScoreTensorFlowModel(
                new[] { nameof(OutputScores.output) },
                new[] { nameof(TensorData.input) }, addBatchDimensionInput: true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.