dotnet / dotnet/machinelearning

ERROR : Schema mismatch for input column

Open
#5,714 1 comment 0 reactions 0 assignees View on GitHub
area-AutoML Priority:2
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

### System information

- **OS version/distro**: Linux
- **.NET Version (eg., dotnet --info)**: 5

### Issue

When I got to the training step - https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/train

It failed with below error. Why and how to fix it?

### Source code / logs

Schema mismatch for input column 'TIU_SOC_tf_CharExtractor': expected Expected known-size vector of Single, got Vector
Parameter name: inputSchema

at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.AutoMLExperiment`3.d__21.MoveNext()
--- 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__26.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 150

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.