dotnet / dotnet/machinelearning-modelbuilder

Model Builder, Error in the remote server : (401) Not authorized.

Offen
#2,403 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Reported by: Customer Stale
Vorherrschende Sprache
Dockerfile
Sterne
285
Forks
66
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

System Information (please complete the following information):

  • Model Builder Version (available in Manage Extensions dialog): 16.7.4
  • Visual Studio Version : 17.3.1

Describe the bug

When I Start Model Builder for object Recognition, Using Azure with Standard NC6, tried both regions West Europe and East US, I load the images and start the training. After a while it returns an exception 401 not authorized and fails creating the model. This happens after a while (40 minutes after the training starts and also more..)
As I am also connected to Azure, I see that the remore machine is still working while the error appears on Model Builder.
I am trying and trying. Still getting the same issue no matter if I switch the Azure region.
I am using a custom dataset, trained with VOTT, made of 828 images and 11 labels

Error detail in Model Builder:
in AzureML.FailureCounter.<RecordFailureWithRetryWarningAsync>d__6.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/RemoteAutoML/FailureCounter.cs:riga 48 --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in AzureML.AutoMLRunMonitoringImages.<MonitorParentRunAsync>d__1.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/RemoteAutoML/AutoMLRunMonitoringImages.cs:riga 145 --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in AzureML.AutoMLRunnerImages.<RunAutoMLAsync>d__24.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/RemoteAutoML/AutoMLRunnerImages.cs:riga 186 --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.ML.ModelBuilder.AutoMLService.Experiments.AzureImageClassificationExperiment.<ExecuteAsync>d__14.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/AzureImageClassificationExperiment.cs:riga 62 --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.ML.ModelBuilder.AutoMLEngine.<StartTrainingAsync>d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:riga 167 in StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__1431.MoveNext() --- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) in Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<<StartTrainingAsync>b__109_0>d.MoveNext()

I am also sharing an image of the error here https://ibb.co/ccrysWm

To Reproduce
Steps to reproduce the behavior:
After setting Environment and Data, move to training and start training. After a while the training step stops with the described error in Model Builder

Expected behavior
End the training and create the model

Screenshots
Check it here : https://ibb.co/ccrysWm

Additional context
I tried by creating few times the Azure target machine, both in West Europe and after in East US. Result is still KO.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginnen Sie bei FailureCounter.cs in Zeile 48 und verfolgen Sie den Monitoring-Pfad durch AutoMLRunMonitoringImages.cs in Zeile 145, AutoMLRunnerImages.cs in Zeile 186 und AzureImageClassificationExperiment.cs in Zeile 62. Reproduzieren Sie das Bildtraining mit dem angegebenen Azure-Setup und überprüfen Sie, dass das Training abgeschlossen wird und das Modell erstellt, anstatt einen 401-Fehler zurückzugeben.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, csharp, machine-learning
Bereich
cloud, machine-learning
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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