vision studio - custom model error - too few categories : 0 limit : 2

vishal Prabhu 20 Reputation points
2024-01-18T12:12:07.37+00:00

I am trying to follow the steps provided in the link below. https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/how-to/model-customization?tabs=rest#create-and-train-a-model however when I try to get the status, I get following error. I have valid coco in the storage along with the training images. I am unable to understand the root cause of the issue

 Too few categories: 0, limit: 2.
Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
326 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 15,006 Reputation points
    2024-01-19T20:09:55.2633333+00:00

    Hello @vishal Prabhu , Thanks for using Microsoft Q&A Platform.

    As per the error message looks like there are too few categories in your dataset. The limit is set to 2, but your dataset has 0 categories. Try to check your dataset and make sure that it has at least 2 categories. User's image

    Make sure to check the COCO file once again whether the required fields are correct: https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/how-to/model-customization?tabs=rest#about-coco-files

    I hope this helps.

    Regards,

    Vasavi.

    0 comments No comments