Skip to content

Model Builder Error "Value cannot be null. Parameter name: source" #1333

@ladipro

Description

@ladipro

System Information (please complete the following information):

  • Model Builder Version: 16.100.20.27905
  • Visual Studio Version: Version 16.10.0 Preview 2.0 [31110.410.main]

Describe the bug
Step 4 fails for me when trying to train Image classification.

   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.AutoMLExperiment`3.<ExecuteAsync>d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/AutoMLExperiment.cs:line 118
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.ML.ModelBuilder.AutoMLEngine.<StartTrainingAsync>d__30.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 147

To Reproduce
Steps to reproduce the behavior:

  • Scenario: Image classification
  • Environment: Local
  • Data: A folder on Desktop with three subfolders. The subfolders contain 9, 11, and 9 JPG images respectively.

Willing to share the training data. Please ping me.

Expected behavior
Training succeeds.

Screenshots
image

Additional context
My first time using Model Builder. It's possible that I'm doing something wrong.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions