dotnet / dotnet/machinelearning-modelbuilder

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

Open
#2,403 3 comments 0 reactions 0 assignees View on GitHub
Reported by: Customer Stale
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): 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.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.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.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.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.d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:riga 167 in StreamJsonRpc.JsonRpc.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.<b__109_0>d.MoveNext()`

I am also sharing an image of the error here [https://ibb.co/ccrysWm](url)

**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](url)

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.