Shuffle input cursor reader failed with an exception in ml.net 1.4.0 #4819
Labels
bug
Something isn't working
classification
Bugs related classification tasks
need info
This issue needs more info before triage
P1
Priority of the issue for triage purpose: Needs to be fixed soon.
I create project for multiclass classification, some code:
`var trainingDataView = mlContext.Data.LoadFromEnumerable(allTrainData);
var trainingPipeline = mlContext.Transforms.Conversion.MapValueToKey(inputColumnName: "IdCategory", outputColumnName: "Label")
.Append(mlContext.Transforms.Text.FeaturizeText(inputColumnName: "HeaderProduct", outputColumnName: "HeaderProductFeaturized"))
.Append(mlContext.Transforms.Text.FeaturizeText(inputColumnName: "DescriptionProduct", outputColumnName: "DescriptionProductFeaturized"))
.Append(mlContext.Transforms.Concatenate("Features", "HeaderProductFeaturized", "DescriptionProductFeaturized"))
.Append(mlContext.MulticlassClassification.Trainers.SdcaMaximumEntropy())
.Append(mlContext.Transforms.Conversion.MapKeyToValue("PredictedLabel"));
var trainedModel = trainingPipeline.Fit(trainingDataView);`
I try train model and have Exception:
Shuffle input cursor reader failed with an exception, ( in Microsoft.ML.Transforms.RowShufflingTransformer.Cursor.MoveNextCore()
in Microsoft.ML.Data.RootCursorBase.MoveNext()
in Microsoft.ML.Trainers.TrainingCursorBase.MoveNext()
in Microsoft.ML.Trainers.SdcaTrainerBase
3.TrainCore(IChannel ch, RoleMappedData data, LinearModelParameters predictor, Int32 weightSetCount) in Microsoft.ML.Trainers.StochasticTrainerBase
2.TrainModelCore(TrainContext context)in Microsoft.ML.Trainers.TrainerEstimatorBase
2.TrainTransformer(IDataView trainSet, IDataView validationSet, IPredictor initPredictor) in Microsoft.ML.Data.EstimatorChain
1.Fit(IDataView input)I downgraded the version ml.net to 1.3.1 an all worked fine.
a little later, I upgraded the version to 1.5.0-preview and all worked fine.
The text was updated successfully, but these errors were encountered: