Run dataset.register method multiple Times

Krishnamohan Nadimpalli 406 Reputation points
2022-05-25T06:41:34.327+00:00

Hi

I am using the following code to register the dataset.
dataset.register(
workspace = ws,
name = dataset_name,
tags = tags,
create_new_version = True,
description = ""
)

When I use the above for the first time too create a dataset , a new version is creation which is version 1. But when I re-run the same command again, one more new version is not created like version 2 is not created. Why? For the second-run my Data is same, Tags are same.

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

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,826 Reputation points
    2022-05-26T03:03:28.543+00:00

    @Krishnamohan Nadimpalli Thanks for the question. Dataset is a reference to the files to your data in storage.

    Please follow the document to register dataset as version. Still facing an issue add more details about the error.

    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.