Delete image in workspaceblobstore

Anonymous
2023-09-27T14:10:34.23+00:00

Hello,

I'm using azure machine learning. Is there a way to delete an image from workspaceblobstore ?

I didn't find a way to do it.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,832 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Gilberto Mason 5 Reputation points
    2023-09-27T14:20:52.8866667+00:00

    Once it happened with me while working at https://studyheal.com/ and i fix this. Actually Azure Machine Learning (Azure ML) provides a range of tools to manage and deploy machine learning models, which includes the management of images, datasets, and more. The workspaceblobstore is the default blob storage associated with an Azure ML workspace and is used to store various assets, including datasets, models, and images.

    To delete an image (or any asset) from the workspaceblobstore, you would typically use the Azure ML SDK for Python. As of my last update in January 2022, there isn't a direct method in the Azure ML SDK for Python to delete images. However, there's a workaround by deleting the image from the underlying blob storage.

    Here's a step-by-step approach:

    1. Install Azure ML SDK and Azure Blob Storage SDK:
    2. Set up your credentials:
    3. Access the default datastore
    4. Delete the image from the blob storage:
    5. Verify Deletion:
    1 person found this answer helpful.
    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.