dotnet / dotnet/machinelearning-modelbuilder
Training a model throws error "Object reference not set tot an instance of an object" while training
- Lingua principale
- Dockerfile
- Stelle
- 285
- Fork
- 66
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Riproduci il problema eseguendo il flusso di training di Model Builder fino a Finalizing the Model. Inizia da src/Microsoft.ML.ModelBuilder/Utils/Utilities.cs alla riga 408, quindi traccia le chiamate dalle righe 1195 e 1120 di TrainViewModel.cs. Il lavoro è completato quando il training termina senza l'errore di riferimento null e il modello termina di essere generato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- machine-learning
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100