0

Has anyone run into this error when running an automated ML experiment in azureml?

"All annotations provided are ill-formed"

how the error appears in azureml

It's very vague. I know it has something to do with the .jsonl file I submit along with my MLTable when I'm setting up my experiment because I've been able to fix it in the past by making changes to it. But unfortunately this time, no matter what I try, I cannot fix it.

Here a sample of my .jsonl

{
  "image_url": "azureml://subscriptions/06c91f00-f9e6-48b2-beb5-62e618ed6e5b/resourcegroups/dev-vision/workspaces/Sauron-Dev-III/datastores/workspaceblobstore/paths/UI/2025-04-25_032350_UTC/images/train_0.jpg",
  "image_details": {
    "format": "jpg",
    "width": 2336,
    "height": 4160
  },
  "label": [
    {
      "label": "object",
      "topX": 0.06878,
      "topY": 0.17758,
      "bottomX": 0.13955,
      "bottomY": 0.26918
    },
    {
      "label": "object",
      "topX": 0.41931,
      "topY": 0.63591,
      "bottomX": 0.45139,
      "bottomY": 0.73049
    },

And here is what is expected as per the documentation

{
   "image_url":"azureml://subscriptions/<my-subscription-id>/resourcegroups/<my-resource-group>/workspaces/<my-workspace>/datastores/<my-datastore>/paths/<path_to_image>",
   "image_details":{
      "format":"image_format",
      "width":"image_width",
      "height":"image_height"
   },
   "label":[
      {
         "label":"class_name_1",
         "topX":"xmin/width",
         "topY":"ymin/height",
         "bottomX":"xmax/width",
         "bottomY":"ymax/height",
         "isCrowd":"isCrowd"
      },
      {
         "label":"class_name_2",
         "topX":"xmin/width",
         "topY":"ymin/height",
         "bottomX":"xmax/width",
         "bottomY":"ymax/height",
         "isCrowd":"isCrowd"
      },
      "..."
   ]
}

I've double checked that my image_urls are pointing to existing images in azureml. I've made sure the bounding box values are normalized. I've made sure they are rounded to 5 digits.

Not sure what else to try. Any help would be appreciated!

1
  • Okay just discovered the "View all logs" button at the top of my first screenshot takes me to the std_log.txt which gives a lot more data. I'm working with chatgpt to read through that now Commented 8 hours ago

1 Answer 1

0

I had some annotations with normalized values above 1, like "bottomX": 1.00099

1
  • after fixing this, I'm still getting the same error Commented 6 hours ago

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.