dotnet / dotnet/machinelearning-modelbuilder

Exception when is the training models

Open
#2,538 1 comment 0 reactions 0 assignees View on GitHub
Reported by: Customer Stale
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

version ML.Net 17.14.4.2312404

Only one class found in the Label column. To build a multiclass classification model, the number of classes needs to be 2 or greater
Имя параметра: labelCount

в Microsoft.ML.Vision.ImageClassificationTrainer.InitializeTrainingGraph(IDataView input)
в Microsoft.ML.Vision.ImageClassificationTrainer.TrainModelCore(TrainContext trainContext)
в Microsoft.ML.Trainers.TrainerEstimatorBase`2.TrainTransformer(IDataView trainSet, IDataView validationSet, IPredictor initPredictor)
в Microsoft.ML.Data.EstimatorChain`1.Fit(IDataView input)
в Microsoft.ML.AutoML.SweepablePipelineRunner.Run(TrialSettings settings)
в Microsoft.ML.AutoML.SweepablePipelineRunner.RunAsync(TrialSettings settings, CancellationToken ct)
в Microsoft.ML.AutoML.AutoMLExperiment.d__24.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.ML.ModelBuilder.AutoMLService.LocalImageClassificationExperiment.d__13.MoveNext() в /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/LocalImageClassificationExperiment.cs:строка 116
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.ML.ModelBuilder.AutoMLEngine.d__21.MoveNext() в /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:строка 145

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.