dotnet / machinelearning-modelbuilder

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

Training a model throws error "Object reference not set tot an instance of an object" while training #2957

Open richcbaker opened 3 weeks ago

richcbaker commented 3 weeks ago

System Information (please complete the following information):

Describe the bug Training a model throws error "Object reference not set tot an instance of an object" while training

To Reproduce Steps to reproduce the behavior: 1.Run through steps to train a model

  1. Start Training

**Object reference not set to an instance of an object.

at Microsoft.ML.ModelBuilder.Utils.Utilities.NeedsCompileTagsAdded(Project project) in //src/Microsoft.ML.ModelBuilder/Utils/Utilities.cs:line 408 at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.AddModelItemGroup(String stateFileNameWithoutExtension, CSharpCode pFICode) in //src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:line 1195 at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d_98.MoveNext() in //src/Microsoft.ML.ModelBuilder/ViewModels/TrainViewModel.cs:line 1120**

Expected behavior The Model to finish training

Screenshots If applicable, add screenshots to help explain your problem.

image

Additional context Add any other context about the problem here.

richcbaker commented 3 weeks ago

Added Log File MLModel1-GXCO8P.txt