dotnet / dotnet/machinelearning-modelbuilder
Training a model throws error "Object reference not set tot an instance of an object" while training
- Dominant language
- Dockerfile
- Stars
- 285
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
**System Information (please complete the following information):**
- Model Builder Version (available in Manage Extensions dialog): 17.18.2.2415501
- Visual Studio Version 2022 17.10.5
**Describe the bug**
Training a model throws error "Object reference not set tot an instance of an object" while training
- On which step of the process did you run into an issue:
- During Finalizing the Model
-
- Clear description of the problem:
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
2. 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.

**Additional context**
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.