dotnet / dotnet/machinelearning-modelbuilder

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

Open
#3,045 1 comment 0 reactions 0 assignees View on GitHub
Priority:0 Reported by: Test
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**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](https://github.com/user-attachments/assets/5c6e56cf-1217-4a3a-b32a-252b97754993)

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

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.