How to recover a deleted data label from the exported coco file

szelee 0 Reputation points
2025-03-05T15:58:26.2+00:00

Hi, I have accidentally deleted the resource on the Azure Machine Learning Studio, which has the data on the data labeling. Before the deletion, I exported the coco file from the data labeling, however, I can't seem to be able to reuse the coco file to import back to the new data labeling that I have created. Can you assist me on this matter?

Regards,
Szelee

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,170 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vikram Singh 2,240 Reputation points Microsoft Employee
    2025-03-06T14:05:06.2833333+00:00

    Hi @szelee

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand the frustration of accidentally deleting a resource in Azure Machine Learning Studio. Fortunately, there are steps you can take to recover your data labels from the exported COCO file and re-import them into a new data labeling project.

    1. Verify the COCO File: Ensure that the COCO file you exported contains the necessary annotations. The COCO format typically includes information about images, annotations, categories, and other metadata.
    2. Create a New Data Labeling Project: In Azure Machine Learning Studio, create a new data labeling project. Make sure to select the appropriate project type (e.g., image classification, object detection).
    3. Prepare the COCO File for Import: The COCO file needs to be in a format that Azure Machine Learning can recognize. If there are any discrepancies or formatting issues, you might need to adjust the file. Ensure that the bounding box coordinates and other annotations are correctly specified.
    4. Upload the COCO File: Upload the COCO file to the new data labeling project. You can do this by navigating to the "Data" section of your project and selecting the option to import data. Choose the COCO file and follow the prompts to complete the import process.
    5. Verify the Imported Data: After importing the COCO file, verify that the annotations have been correctly imported into the new data labeling project. You can do this by reviewing a few sample images and their corresponding annotations.

    For more info, please refer to:

    Let me know if you have any other queries.

    If the reply was helpful, please don't forget to upvote and/or Accept the answer, this can be beneficial to other community members.

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.