dotnet / dotnet/machinelearning-modelbuilder

Cannot use Object Detection data files created by Azure ML

Open
#2,460 4 comments 0 reactions 0 assignees View on GitHub
Feature request 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 16.14.3.2307502
- Visual Studio Version 17.4.4

**Describe the bug**
When selecting an input json file with image labeling, datapreview loads endlessly, can't go to the next step.
No relevant info in log files (\AppData\Local\Temp\MLVSTools\logs)

**To Reproduce**
1. Add a Machine Learning Model to an empty console project.
2. Start an "Object detection" scenario
3. Set up a workspace.
4. Go to https://ml.azure.com/ and do data labeling on a bunch of images, export the .json
5. Select the json in the Add data step

**Expected behavior**
Select the .json and be able to go to the next step. Or get an error saying the json is not correct.

**Screenshots**
![image](https://user-images.githubusercontent.com/23409814/215254043-2faea658-6f3b-4b0e-a9f6-e8e1424a37c6.png)
![image](https://user-images.githubusercontent.com/23409814/215254067-6b092b7e-e315-42cf-83de-363c0a7daeb0.png)

Example of json file, but really has 40ish images and 100ish annotations.
```json
{
"images": [
{
"id": 1,
"width": 4032,
"height": 3024,
"file_name": "UI/2023-01-28_061527_UTC/asdf/20221213_145249.jpg",
"coco_url": "AmlDatastore://redacted/UI/2023-01-28_061527_UTC/asdf/20221213_145249.jpg",
"absolute_url": "https://redacted.blob.core.windows.net/azureml-blobstore-redacted/UI/2023-01-28_061527_UTC/asdf/20221213_145249.jpg",
"date_captured": "2023-01-28T06:18:25.732655Z"
}
],
"annotations": [
{
"id": 1,
"category_id": 1,
"image_id": 1,
"area": 0.002,
"bbox": [
0.27528852681602173,
0.6812627291242362,
0.04752206381534285,
0.033604887983706755
]
}
],
"categories": [
{
"id": 1,
"name": "redacted"
}
]
}
```

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.