Image classification & Object detection: Training failed when choosing Azure environment.

Open
#3,045 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, csharp, machine-learning

Research direction

Start by reproducing the Image classification or Object detection flow in the Azure environment using the linked weather.zip data and the training step. Investigate the MLTable permission error and the Azure storage access configuration shown in the error and RunId. Done means training completes successfully for the reported scenario.

Written by the indexing model from the issue text.

Description

Priority:0 Reported by: Test

System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-24H2
ML.Net Model Builder 2022: 17.19.2.2522504 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.13.6)
.Net Core: 8.0,9.0

Describe the bug

  • On which step of the process did you run into an issue:
    Training failed when choosing Azure environment.

TestMatrix
https://testpass.blob.core.windows.net/test-pass-data/weather.zip

To Reproduce
Steps to reproduce the behavior:

  1. Select Create a new project from the Visual Studio start window.
  2. Choose the C# Console App (.NET Core) project template.
  3. Add model builder by right click on the project.
  4. Select "Image classification or Object detection" scenarios.
  5. Choose "Azure" environment.
  6. On Data page, choose the data source.
  7. On the Train page, click "Start training" button.

Expected behavior
Training successfully.

Screenshot
Image

Additional context
RunId: https://ml.azure.com/experiments/id/0d8f2fdb-88e8-45e7-9eb3-33190f139157/runs/ohzrovogiajzuia?wsid=/subscriptions/95a6233a-023b-4ba2-b994-50066ea80ba1/resourceGroups/LocTest_New/providers/Microsoft.MachineLearningServices/workspaces/FullTestPass_New&tid=72f988bf-86f1-41af-91ab-2d7cd011db47

Error
MLTable input is invalid. UserErrorException: Message: Encountered user error while fetching data from Dataset. Error: UserErrorException: Message: Failed to download mltable yaml with error: Error Code: UserError Error Message: Getting permission error when trying to access MLTable,please make sure proper access is configured on storage: Error Code: ScriptExecution.StreamAccess.Authentication Native Error: error in streaming from input data sources StreamError(PermissionDenied(None)) => permission denied when access stream. Reason: None PermissionDenied(None) Error Message: Authentication failed when trying to access the stream. Make sure you have correct permissions set up. Err("")| session_id=95deffc1-7c5b-41e8-b5ae-0c2079e33d24| session_id=95deffc1-7c5b-41e8-b5ae-0c2079e33d24 InnerException None ErrorResponse { "error": { "code": "UserError", "message": "Failed to download mltable yaml with error: \nError Code: UserError\nError Message: Getting permission error when trying to access MLTable,please make sure proper access is configured on storage: \nError Code: ScriptExecution.StreamAccess.Authentication\nNative Error: error in streaming from input data sources\n\tStreamError(PermissionDenied(None))\n=> permission denied when access stream. Reason: None\n\tPermissionDenied(None)\nError Message: Authentication failed when trying to access the stream. Make sure you have correct permissions set up. Err("")| session_id=95deffc1-7c5b-41e8-b5ae-0c2079e33d24| session_id=95deffc1-7c5b-41e8-b5ae-0c2079e33d24" } } InnerException UserErrorException: Message: Failed to download mltable yaml with error: Error Code: UserError Error Message: Getting permission error when trying to access MLTable,please make sure proper access is configured on storage: Error Code: ScriptExecution.StreamAccess.Authentication Native Error: error in streaming from input data sources StreamError(PermissionDenied(None)) => permission denied when access stream. Reason: None PermissionDenied(None) Error Message: Authentication failed when trying to access the stream. Make sure you have correct permissions set up. Err("")| session_id=95deffc1-7c5b-41e8-b5ae-0c2079e33d24| session_id=95deffc1-7c5b-41e8-b5ae-0c2079e33d24 InnerException None ErrorResponse { "error": { "code": "UserError", "message": "Failed to download mltable yaml with error: \nError Code: UserError\nError Message: Getting permission error when trying to access MLTable,please make sure proper access is configured on storage: \nError Code: ScriptExecution.StreamAccess.Authentication\nNative Error: error in streaming from input data sources\n\tStreamError(PermissionDenied(None))\n=> permission denied when access stream. Reason: None\n\tPermissionDenied(None)\nError Message: Authentication failed when trying to access the stream. Make sure you have correct permissions set up. Err("")| session_id=95deffc1-7c5b-41e8-b5ae-0c2079e33d24| session_id=95deffc1-7c5b-

Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/machinelearning-modelbuilder

All issues in dotnet/machinelearning-modelbuilder

Similar issues

More Cloud issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.