dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
264 stars 56 forks source link

Training the model failed for data classfication scenario #2641

Open balajinaraharisetty opened 1 year ago

balajinaraharisetty commented 1 year ago

System Information (please complete the following information):

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. I followed the steps mentioned when clicked on "Train".
  2. We are getting the following error. Please find below screenshot image

Expected behavior 2023-05-18 11:17:57.4956 INFO Set log file path to C:\Users\Balaji N\AppData\Local\Temp\MLVSTools\logs\SentimentModel-7A2V9M.txt (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2023-05-18 11:18:53.0393 DEBUG Start AutoMLService pid: 7448 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2023-05-18 11:18:53.4588 INFO start multiclass classification (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2023-05-18 11:18:53.4588 INFO Evaluate Metric: MacroAccuracy (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2023-05-18 11:18:53.4588 INFO Available Trainers: LGBM,FASTFOREST,FASTTREE,LBFGS,SDCA (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2023-05-18 11:18:53.4588 INFO Training time in second: 60 (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2023-05-18 11:19:52.6313 INFO [Source=AutoMLExperiment, Kind=Info] cancel training because cancellation token is invoked... (Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2023-05-18 11:19:52.7308 DEBUG Training time finished without completing a successful trial. Either no trial completed or the metric for all completed trials are NaN or Infinity at Microsoft.ML.AutoML.AutoMLExperiment.d24.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.AutoMLService.Experiments.MultiClassificationExperiment.d14.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/MultiClassificationExperiment.cs:line 134 --- 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_21.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 161 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)

Screenshots image

LittleLittleCloud commented 1 year ago

Looks like no trial has been completed before times up, maybe extend training time here?

chasegalloway commented 1 year ago

I'm having the same problem right now, did you ever find a solution?

workmail20 commented 2 weeks ago

I am too

I'm having the same problem right now, did you ever find a solution?