dotnet / dotnet/samples

Splitter/consolidator worker encountered exception while consuming source data

Open
#1,841 5 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
5.1k
Avg merge
9h 11m
Merged PRs (30d)
1

Description

I am working with Visual Studio 2019 Version 16.4.1 on Windows 10.

I have tried the tutorial to generate an ML.NET image classification model from a pre-trained TensorFlow model. (Link of the tutorial: https://docs.microsoft.com/en-us/dotnet/machine-learning/tutorials/image-classification?source=docs#setup)

The model is giving the required output with the images which are given in the tutorial, but when I am trying to upload and run it with my images than it is showing me the following error.

"Unhandled Exception: System.InvalidOperationException: Splitter/consolidator worker encountered exception while consuming source data ---> System.ArgumentException: Parameter is not valid."

Below is the screenshot of the error.
![error](https://user-images.githubusercontent.com/33253391/70739890-e2975300-1d3d-11ea-803d-13326040dea0.PNG)

This is the output at the console window.
![consoleError](https://user-images.githubusercontent.com/33253391/70739935-f93daa00-1d3d-11ea-813a-7a6ae66be456.PNG)

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.