Skip to content

"Input string was not in a correct format" while model training #845

@nartalex

Description

@nartalex

System Information:

  • Model Builder Version: 16.1.0.2026302
  • Visual Studio Version: Enterprise 16.7.0 Preview 2.0

Describe the bug
Exception while training model:

Input string was not in a correct format.
at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.AutoMLExperiment`3.d__21.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/AutoMLExperiment.cs:line 106
--- 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.d__30.MoveNext() in /
/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 147

To Reproduce
Steps to reproduce the behavior:

  1. Download dataset from here
  2. Select Value prediction in Step 1 of Model Builder
  3. Select Label - AvgTemperature, Features - 7 of 7 columns selected
  4. Start training and wait for iteration 67 (it took ~25 min on my i5-9600)
  5. See error

Expected behavior
Successful model training

Screenshots
2X83cdHhvq

Output screenshot in case you need to know exact trainers:
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions