dotnet / dotnet/machinelearning-modelbuilder

Model Builder Error: Training time finished without any models trained.

Offen
#2,914 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
GS Tutorial
Vorherrschende Sprache
Dockerfile
Sterne
285
Forks
66
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**System Information:**
- Microsoft.ML Version: 3.0.1
- Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.1.0

**Describe the bug**
- I ran into the issue on the following page: https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/train
- When I try to train based on the provided materials I get the following error message:

Model Builder Error
Training time finished without any models trained.

at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.LocalAutoMLExperiment.d__15.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/LocalAutoMLExperiment.cs:line 170
--- 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 167 at StreamJsonRpc.JsonRpc.d__143`1.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.ViewModels.TrainViewModel.d.MoveNext()

**To Reproduce**
Steps to reproduce the behavior:
1. Go to the Train Tab
2. Specify the number of seconds: 60
3. Click on the button Train
4. See error

![error_ml_dotnet](https://github.com/dotnet/machinelearning-modelbuilder/assets/89734639/3a43782e-6cac-47bc-9583-4cb82fb0df23)

(Tried to run the same model with longer time - 300sec, same error)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne damit, den Trainingsablauf aus dem verlinkten ML.NET-Tutorial mit einem 60-Sekunden-Lauf zu reproduzieren. Untersuche anschließend LocalAutoMLExperiment.cs in Zeile 170 und AutoMLEngine.cs in Zeile 167, die im Stacktrace erscheinen. Vergleiche den Lauf mit dem gemeldeten Ergebnis nach 300 Sekunden und ermittle, warum das Training abgeschlossen wird, ohne ein Modell zu erzeugen; als erledigt gilt die Aufgabe, wenn der Tutorial-Datensatz ohne diesen Fehler erfolgreich trainiert wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
machine-learning
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.