From 295280cb9374ba279ada59148b2677f677dfb86f Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 11 May 2023 15:56:16 +0300 Subject: [PATCH] Update dataset ingestion example --- examples/datasets/data_ingestion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/datasets/data_ingestion.py b/examples/datasets/data_ingestion.py index 8aa38694..638d01b2 100644 --- a/examples/datasets/data_ingestion.py +++ b/examples/datasets/data_ingestion.py @@ -32,11 +32,11 @@ params = { params = task.connect(params) # enabling configuration override by clearml/ print(params) # printing actual configuration (after override in remote mode) - # The below gets the dataset and stores in the cache. If you want to download the dataset regardless if it's in the # cache, use the Dataset.get(dataset_name, dataset_project).get_mutable_local_copy(path to download) +# Dataset need to have finalized or closed state to get the local copy of it dataset_path = Dataset.get( - dataset_name=dataset_name, dataset_project=dataset_project + dataset_name=dataset_name, dataset_project=dataset_project, only_completed=False ).get_local_copy() # Dataset and Dataloader initializations