From 97ffc0b90f46bdbca9b64d459e9b369c0330fa81 Mon Sep 17 00:00:00 2001 From: hkotesova Date: Mon, 1 Dec 2025 15:43:01 -0800 Subject: [PATCH 1/5] pull directly from github --- .../multiclass-classification/prepare_data.py | 4 +++- .../multilabel-classification/prepare_data.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cli/foundation-models/system/finetune/image-classification/multiclass-classification/prepare_data.py b/cli/foundation-models/system/finetune/image-classification/multiclass-classification/prepare_data.py index cd3ed06d4c..f9f5c94869 100644 --- a/cli/foundation-models/system/finetune/image-classification/multiclass-classification/prepare_data.py +++ b/cli/foundation-models/system/finetune/image-classification/multiclass-classification/prepare_data.py @@ -105,7 +105,9 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # Download data print("Downloading data.") - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip" + branch = "hkotesova/fridge-data" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" + # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py b/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py index e67ebe6593..f363fbd8b5 100644 --- a/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py +++ b/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py @@ -108,7 +108,9 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # Download data print("Downloading data.") - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/multilabelFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip" + # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] From a5209a19b5af694193b8fed4284ae614332a1eda Mon Sep 17 00:00:00 2001 From: hkotesova Date: Mon, 1 Dec 2025 15:57:14 -0800 Subject: [PATCH 2/5] update more files --- .../multiclass-classification/prepare_data.py | 1 - .../multilabel-classification/prepare_data.py | 1 - .../finetune/image-instance-segmentation/prepare_data.py | 3 ++- .../system/finetune/image-object-detection/prepare_data.py | 3 ++- .../system/inference/image-classification/prepare_data.py | 5 +++-- .../system/inference/image-embeddings/prepare_data.py | 3 ++- .../system/inference/image-object-detection/prepare_data.py | 4 ++-- .../system/inference/image-text-embeddings/prepare_data.py | 3 ++- 8 files changed, 13 insertions(+), 10 deletions(-) diff --git a/cli/foundation-models/system/finetune/image-classification/multiclass-classification/prepare_data.py b/cli/foundation-models/system/finetune/image-classification/multiclass-classification/prepare_data.py index f9f5c94869..ea2f9a76d9 100644 --- a/cli/foundation-models/system/finetune/image-classification/multiclass-classification/prepare_data.py +++ b/cli/foundation-models/system/finetune/image-classification/multiclass-classification/prepare_data.py @@ -108,7 +108,6 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" - # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] # Get dataset path for later use diff --git a/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py b/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py index f363fbd8b5..813f4e009d 100644 --- a/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py +++ b/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py @@ -111,7 +111,6 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): branch = "hkotesova/fridge-objects" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip" - # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] # Get dataset path for later use diff --git a/cli/foundation-models/system/finetune/image-instance-segmentation/prepare_data.py b/cli/foundation-models/system/finetune/image-instance-segmentation/prepare_data.py index 7027170e4a..98180af9da 100644 --- a/cli/foundation-models/system/finetune/image-instance-segmentation/prepare_data.py +++ b/cli/foundation-models/system/finetune/image-instance-segmentation/prepare_data.py @@ -157,7 +157,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # Download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/foundation-models/system/finetune/image-object-detection/prepare_data.py b/cli/foundation-models/system/finetune/image-object-detection/prepare_data.py index 79735c4b8c..ae9f8bd68d 100644 --- a/cli/foundation-models/system/finetune/image-object-detection/prepare_data.py +++ b/cli/foundation-models/system/finetune/image-object-detection/prepare_data.py @@ -160,7 +160,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/foundation-models/system/inference/image-classification/prepare_data.py b/cli/foundation-models/system/inference/image-classification/prepare_data.py index d53a90d01c..ff32b51eb4 100644 --- a/cli/foundation-models/system/inference/image-classification/prepare_data.py +++ b/cli/foundation-models/system/inference/image-classification/prepare_data.py @@ -18,12 +18,13 @@ def download_and_unzip(dataset_parent_dir: str, is_multilabel_dataset: int) -> N """ # Create directory, if it does not exist os.makedirs(dataset_parent_dir, exist_ok=True) + branch = "hkotesova/fridge-objects" # download data if is_multilabel_dataset == 0: - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" else: - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/multilabelFridgeObjects.zip" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url diff --git a/cli/foundation-models/system/inference/image-embeddings/prepare_data.py b/cli/foundation-models/system/inference/image-embeddings/prepare_data.py index e5ef7bf09a..4f75075497 100644 --- a/cli/foundation-models/system/inference/image-embeddings/prepare_data.py +++ b/cli/foundation-models/system/inference/image-embeddings/prepare_data.py @@ -20,7 +20,8 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url diff --git a/cli/foundation-models/system/inference/image-object-detection/prepare_data.py b/cli/foundation-models/system/inference/image-object-detection/prepare_data.py index e497f4d791..9444344a05 100644 --- a/cli/foundation-models/system/inference/image-object-detection/prepare_data.py +++ b/cli/foundation-models/system/inference/image-object-detection/prepare_data.py @@ -18,8 +18,8 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url diff --git a/cli/foundation-models/system/inference/image-text-embeddings/prepare_data.py b/cli/foundation-models/system/inference/image-text-embeddings/prepare_data.py index 97a069fc13..6a48309986 100644 --- a/cli/foundation-models/system/inference/image-text-embeddings/prepare_data.py +++ b/cli/foundation-models/system/inference/image-text-embeddings/prepare_data.py @@ -20,7 +20,8 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url From ace606b7e665e3e7967f582e1208a79e518d6137 Mon Sep 17 00:00:00 2001 From: hkotesova Date: Mon, 1 Dec 2025 16:01:53 -0800 Subject: [PATCH 3/5] more updates --- .../system/inference/image-to-text/prepare_data.py | 3 ++- .../system/inference/mask-generation/prepare_data.py | 4 ++-- .../inference/visual-question-answering/prepare_data.py | 3 ++- .../inference/zero-shot-image-classification/prepare_data.py | 3 ++- .../prepare_data.py | 3 ++- .../prepare_data.py | 3 ++- .../prepare_data.py | 3 ++- .../prepare_data.py | 3 ++- .../prepare_data.py | 3 ++- .../prepare_data.py | 3 ++- .../image-multiclass-classification.ipynb | 3 ++- 11 files changed, 22 insertions(+), 12 deletions(-) diff --git a/cli/foundation-models/system/inference/image-to-text/prepare_data.py b/cli/foundation-models/system/inference/image-to-text/prepare_data.py index 83a37ac9c2..0eb6f331b5 100644 --- a/cli/foundation-models/system/inference/image-to-text/prepare_data.py +++ b/cli/foundation-models/system/inference/image-to-text/prepare_data.py @@ -18,7 +18,8 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url diff --git a/cli/foundation-models/system/inference/mask-generation/prepare_data.py b/cli/foundation-models/system/inference/mask-generation/prepare_data.py index 16bdd73e8d..d4ddf99e30 100644 --- a/cli/foundation-models/system/inference/mask-generation/prepare_data.py +++ b/cli/foundation-models/system/inference/mask-generation/prepare_data.py @@ -18,8 +18,8 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url diff --git a/cli/foundation-models/system/inference/visual-question-answering/prepare_data.py b/cli/foundation-models/system/inference/visual-question-answering/prepare_data.py index b6ac22befd..dfb3c979b7 100644 --- a/cli/foundation-models/system/inference/visual-question-answering/prepare_data.py +++ b/cli/foundation-models/system/inference/visual-question-answering/prepare_data.py @@ -18,7 +18,8 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url diff --git a/cli/foundation-models/system/inference/zero-shot-image-classification/prepare_data.py b/cli/foundation-models/system/inference/zero-shot-image-classification/prepare_data.py index 02e6327104..68a15e0178 100644 --- a/cli/foundation-models/system/inference/zero-shot-image-classification/prepare_data.py +++ b/cli/foundation-models/system/inference/zero-shot-image-classification/prepare_data.py @@ -21,7 +21,8 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/prepare_data.py b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/prepare_data.py index d76cd78d2c..8c35686c6d 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/prepare_data.py +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/prepare_data.py @@ -105,7 +105,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # download data print("Downloading data.") - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/prepare_data.py b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/prepare_data.py index a725d918de..e0f0006ec5 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/prepare_data.py +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/prepare_data.py @@ -108,7 +108,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # download data print("Downloading data.") - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/multilabelFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/prepare_data.py b/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/prepare_data.py index 4f49de01dc..8393938b5a 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/prepare_data.py +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/prepare_data.py @@ -143,7 +143,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/prepare_data.py b/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/prepare_data.py index 57fdc34ac6..2e24ad8015 100644 --- a/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/prepare_data.py +++ b/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/prepare_data.py @@ -105,7 +105,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # download data print("Downloading data.") - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/prepare_data.py b/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/prepare_data.py index a6d03ac51e..ce1e665b48 100644 --- a/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/prepare_data.py +++ b/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/prepare_data.py @@ -108,7 +108,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # download data print("Downloading data.") - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/multilabelFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/prepare_data.py b/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/prepare_data.py index 02e7e36278..daae0478b3 100644 --- a/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/prepare_data.py +++ b/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/prepare_data.py @@ -143,7 +143,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip" + branch = "hkotesova/fridge-objects" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/sdk/python/foundation-models/system/evaluation/image-classification/multiclass-classification/image-multiclass-classification.ipynb b/sdk/python/foundation-models/system/evaluation/image-classification/multiclass-classification/image-multiclass-classification.ipynb index fbe11bb3e1..5a2d31b6e8 100644 --- a/sdk/python/foundation-models/system/evaluation/image-classification/multiclass-classification/image-multiclass-classification.ipynb +++ b/sdk/python/foundation-models/system/evaluation/image-classification/multiclass-classification/image-multiclass-classification.ipynb @@ -288,7 +288,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-objects\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", From d343277bb3e2851d99a499f4206fa7e252745f75 Mon Sep 17 00:00:00 2001 From: hkotesova Date: Mon, 1 Dec 2025 16:59:24 -0800 Subject: [PATCH 4/5] update to correct branch name --- .../multilabel-classification/prepare_data.py | 2 +- .../finetune/image-object-detection/prepare_data.py | 2 +- .../inference/image-classification/prepare_data.py | 2 +- .../system/inference/image-embeddings/prepare_data.py | 2 +- .../inference/image-object-detection/prepare_data.py | 2 +- .../inference/image-text-embeddings/prepare_data.py | 2 +- .../system/inference/image-to-text/prepare_data.py | 2 +- .../system/inference/mask-generation/prepare_data.py | 2 +- .../inference/visual-question-answering/prepare_data.py | 2 +- .../zero-shot-image-classification/prepare_data.py | 2 +- .../prepare_data.py | 2 +- .../prepare_data.py | 2 +- .../prepare_data.py | 2 +- .../prepare_data.py | 2 +- .../prepare_data.py | 2 +- .../prepare_data.py | 2 +- .../image-multiclass-classification.ipynb | 2 +- .../image-multilabel-classification.ipynb | 3 ++- .../image-object-detection/image-object-detection.ipynb | 3 ++- ...formers-fridgeobjects-multiclass-classification.ipynb | 3 ++- ...formers-fridgeobjects-multilabel-classification.ipynb | 3 ++- .../mmdetection-fridgeobjects-object-detection.ipynb | 3 ++- .../image-classification-batch-endpoint.ipynb | 3 ++- .../image-classification-online-endpoint.ipynb | 3 ++- .../image-embeddings-batch-endpoint.ipynb | 3 ++- .../image-embeddings-online-endpoint.ipynb | 9 +++++++-- .../image-object-detection-batch-endpoint.ipynb | 3 ++- .../image-object-detection-online-endpoint.ipynb | 3 ++- .../image-text-embeddings-batch-endpoint.ipynb | 3 ++- .../image-text-embeddings-online-endpoint.ipynb | 3 ++- .../image-text-embeddings/text-to-image-retrieval.ipynb | 3 ++- .../image-to-text/image-to-text-batch-endpoint.ipynb | 3 ++- .../image-to-text/image-to-text-online-endpoint.ipynb | 3 ++- .../mask-generation/mask-generation-batch-endpoint.ipynb | 3 ++- .../mask-generation-online-endpoint.ipynb | 3 ++- .../visual-question-answering-batch-endpoint.ipynb | 3 ++- .../visual-question-answering-online-endpoint.ipynb | 3 ++- .../zero-shot-image-classification-batch-endpoint.ipynb | 3 ++- .../zero-shot-image-classification-online-endpoint.ipynb | 3 ++- ...age-classification-multiclass-task-fridge-items.ipynb | 3 ++- ...age-classification-multilabel-task-fridge-items.ipynb | 3 ++- ...object-detection-batch-scoring-non-mlflow-model.ipynb | 3 ++- ...automl-image-object-detection-task-fridge-items.ipynb | 3 ++- ...oml-image-classification-multiclass-in-pipeline.ipynb | 3 ++- ...oml-image-classification-multilabel-in-pipeline.ipynb | 3 ++- .../automl-image-object-detection-in-pipeline.ipynb | 3 ++- 46 files changed, 80 insertions(+), 47 deletions(-) diff --git a/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py b/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py index 813f4e009d..e0e9823994 100644 --- a/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py +++ b/cli/foundation-models/system/finetune/image-classification/multilabel-classification/prepare_data.py @@ -108,7 +108,7 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # Download data print("Downloading data.") - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip" # Extract current dataset name from dataset url diff --git a/cli/foundation-models/system/finetune/image-object-detection/prepare_data.py b/cli/foundation-models/system/finetune/image-object-detection/prepare_data.py index ae9f8bd68d..872ecb61de 100644 --- a/cli/foundation-models/system/finetune/image-object-detection/prepare_data.py +++ b/cli/foundation-models/system/finetune/image-object-detection/prepare_data.py @@ -160,7 +160,7 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" # Extract current dataset name from dataset url diff --git a/cli/foundation-models/system/inference/image-classification/prepare_data.py b/cli/foundation-models/system/inference/image-classification/prepare_data.py index ff32b51eb4..13a9038a7d 100644 --- a/cli/foundation-models/system/inference/image-classification/prepare_data.py +++ b/cli/foundation-models/system/inference/image-classification/prepare_data.py @@ -18,7 +18,7 @@ def download_and_unzip(dataset_parent_dir: str, is_multilabel_dataset: int) -> N """ # Create directory, if it does not exist os.makedirs(dataset_parent_dir, exist_ok=True) - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" # download data if is_multilabel_dataset == 0: diff --git a/cli/foundation-models/system/inference/image-embeddings/prepare_data.py b/cli/foundation-models/system/inference/image-embeddings/prepare_data.py index 4f75075497..b9653c30d0 100644 --- a/cli/foundation-models/system/inference/image-embeddings/prepare_data.py +++ b/cli/foundation-models/system/inference/image-embeddings/prepare_data.py @@ -20,7 +20,7 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" print(f"Downloading data from {download_url}") diff --git a/cli/foundation-models/system/inference/image-object-detection/prepare_data.py b/cli/foundation-models/system/inference/image-object-detection/prepare_data.py index 9444344a05..a70a51d78b 100644 --- a/cli/foundation-models/system/inference/image-object-detection/prepare_data.py +++ b/cli/foundation-models/system/inference/image-object-detection/prepare_data.py @@ -18,7 +18,7 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" print(f"Downloading data from {download_url}") diff --git a/cli/foundation-models/system/inference/image-text-embeddings/prepare_data.py b/cli/foundation-models/system/inference/image-text-embeddings/prepare_data.py index 6a48309986..ed1dee044c 100644 --- a/cli/foundation-models/system/inference/image-text-embeddings/prepare_data.py +++ b/cli/foundation-models/system/inference/image-text-embeddings/prepare_data.py @@ -20,7 +20,7 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" print(f"Downloading data from {download_url}") diff --git a/cli/foundation-models/system/inference/image-to-text/prepare_data.py b/cli/foundation-models/system/inference/image-to-text/prepare_data.py index 0eb6f331b5..4b7c84cc44 100644 --- a/cli/foundation-models/system/inference/image-to-text/prepare_data.py +++ b/cli/foundation-models/system/inference/image-to-text/prepare_data.py @@ -18,7 +18,7 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" print(f"Downloading data from {download_url}") diff --git a/cli/foundation-models/system/inference/mask-generation/prepare_data.py b/cli/foundation-models/system/inference/mask-generation/prepare_data.py index d4ddf99e30..31fb3cfbc3 100644 --- a/cli/foundation-models/system/inference/mask-generation/prepare_data.py +++ b/cli/foundation-models/system/inference/mask-generation/prepare_data.py @@ -18,7 +18,7 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" print(f"Downloading data from {download_url}") diff --git a/cli/foundation-models/system/inference/visual-question-answering/prepare_data.py b/cli/foundation-models/system/inference/visual-question-answering/prepare_data.py index dfb3c979b7..bcf04964ff 100644 --- a/cli/foundation-models/system/inference/visual-question-answering/prepare_data.py +++ b/cli/foundation-models/system/inference/visual-question-answering/prepare_data.py @@ -18,7 +18,7 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" print(f"Downloading data from {download_url}") diff --git a/cli/foundation-models/system/inference/zero-shot-image-classification/prepare_data.py b/cli/foundation-models/system/inference/zero-shot-image-classification/prepare_data.py index 68a15e0178..e4ab8e5042 100644 --- a/cli/foundation-models/system/inference/zero-shot-image-classification/prepare_data.py +++ b/cli/foundation-models/system/inference/zero-shot-image-classification/prepare_data.py @@ -21,7 +21,7 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" print(f"Downloading data from {download_url}") diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/prepare_data.py b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/prepare_data.py index 8c35686c6d..1d97b4b390 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/prepare_data.py +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multiclass-task-fridge-items/prepare_data.py @@ -105,7 +105,7 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # download data print("Downloading data.") - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" # Extract current dataset name from dataset url diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/prepare_data.py b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/prepare_data.py index e0f0006ec5..ac09dd24c8 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/prepare_data.py +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-classification-multilabel-task-fridge-items/prepare_data.py @@ -108,7 +108,7 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # download data print("Downloading data.") - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip" # Extract current dataset name from dataset url diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/prepare_data.py b/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/prepare_data.py index 8393938b5a..ed16a47fc1 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/prepare_data.py +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-object-detection-task-fridge-items/prepare_data.py @@ -143,7 +143,7 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" # Extract current dataset name from dataset url diff --git a/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/prepare_data.py b/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/prepare_data.py index 2e24ad8015..2f11fe53c8 100644 --- a/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/prepare_data.py +++ b/cli/jobs/pipelines/automl/image-multiclass-classification-fridge-items-pipeline/prepare_data.py @@ -105,7 +105,7 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # download data print("Downloading data.") - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip" # Extract current dataset name from dataset url diff --git a/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/prepare_data.py b/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/prepare_data.py index ce1e665b48..a56347b6f4 100644 --- a/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/prepare_data.py +++ b/cli/jobs/pipelines/automl/image-multilabel-classification-fridge-items-pipeline/prepare_data.py @@ -108,7 +108,7 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): # download data print("Downloading data.") - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip" # Extract current dataset name from dataset url diff --git a/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/prepare_data.py b/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/prepare_data.py index daae0478b3..db2a2e97e1 100644 --- a/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/prepare_data.py +++ b/cli/jobs/pipelines/automl/image-object-detection-task-fridge-items-pipeline/prepare_data.py @@ -143,7 +143,7 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # download data - branch = "hkotesova/fridge-objects" + branch = "hkotesova/fridge-data" download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip" # Extract current dataset name from dataset url diff --git a/sdk/python/foundation-models/system/evaluation/image-classification/multiclass-classification/image-multiclass-classification.ipynb b/sdk/python/foundation-models/system/evaluation/image-classification/multiclass-classification/image-multiclass-classification.ipynb index 5a2d31b6e8..a254040e5b 100644 --- a/sdk/python/foundation-models/system/evaluation/image-classification/multiclass-classification/image-multiclass-classification.ipynb +++ b/sdk/python/foundation-models/system/evaluation/image-classification/multiclass-classification/image-multiclass-classification.ipynb @@ -288,7 +288,7 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "branch = \"hkotesova/fridge-objects\"\n", + "branch = \"hkotesova/fridge-data\"\n", "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", diff --git a/sdk/python/foundation-models/system/evaluation/image-classification/multilabel-classification/image-multilabel-classification.ipynb b/sdk/python/foundation-models/system/evaluation/image-classification/multilabel-classification/image-multilabel-classification.ipynb index 3bc21c2163..4f32ae2720 100644 --- a/sdk/python/foundation-models/system/evaluation/image-classification/multilabel-classification/image-multilabel-classification.ipynb +++ b/sdk/python/foundation-models/system/evaluation/image-classification/multilabel-classification/image-multilabel-classification.ipynb @@ -285,7 +285,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/multilabelFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/evaluation/image-object-detection/image-object-detection.ipynb b/sdk/python/foundation-models/system/evaluation/image-object-detection/image-object-detection.ipynb index bbf1dc7a61..4d5840b442 100644 --- a/sdk/python/foundation-models/system/evaluation/image-object-detection/image-object-detection.ipynb +++ b/sdk/python/foundation-models/system/evaluation/image-object-detection/image-object-detection.ipynb @@ -284,7 +284,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/finetune/image-classification/multiclass-classification/hftransformers-fridgeobjects-multiclass-classification.ipynb b/sdk/python/foundation-models/system/finetune/image-classification/multiclass-classification/hftransformers-fridgeobjects-multiclass-classification.ipynb index fcb272dcc8..67ded292e2 100644 --- a/sdk/python/foundation-models/system/finetune/image-classification/multiclass-classification/hftransformers-fridgeobjects-multiclass-classification.ipynb +++ b/sdk/python/foundation-models/system/finetune/image-classification/multiclass-classification/hftransformers-fridgeobjects-multiclass-classification.ipynb @@ -295,7 +295,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/finetune/image-classification/multilabel-classification/hftransformers-fridgeobjects-multilabel-classification.ipynb b/sdk/python/foundation-models/system/finetune/image-classification/multilabel-classification/hftransformers-fridgeobjects-multilabel-classification.ipynb index 3d125f32f9..d89e61160a 100644 --- a/sdk/python/foundation-models/system/finetune/image-classification/multilabel-classification/hftransformers-fridgeobjects-multilabel-classification.ipynb +++ b/sdk/python/foundation-models/system/finetune/image-classification/multilabel-classification/hftransformers-fridgeobjects-multilabel-classification.ipynb @@ -292,7 +292,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/multilabelFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/finetune/image-object-detection/mmdetection-fridgeobjects-object-detection.ipynb b/sdk/python/foundation-models/system/finetune/image-object-detection/mmdetection-fridgeobjects-object-detection.ipynb index 78a8eb3c46..972c8404ea 100644 --- a/sdk/python/foundation-models/system/finetune/image-object-detection/mmdetection-fridgeobjects-object-detection.ipynb +++ b/sdk/python/foundation-models/system/finetune/image-object-detection/mmdetection-fridgeobjects-object-detection.ipynb @@ -311,7 +311,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-classification/image-classification-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-classification/image-classification-batch-endpoint.ipynb index 4d737dcc7d..311e1dd8b4 100644 --- a/sdk/python/foundation-models/system/inference/image-classification/image-classification-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-classification/image-classification-batch-endpoint.ipynb @@ -181,7 +181,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-classification/image-classification-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-classification/image-classification-online-endpoint.ipynb index 2a47ef5f76..6d148f301d 100644 --- a/sdk/python/foundation-models/system/inference/image-classification/image-classification-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-classification/image-classification-online-endpoint.ipynb @@ -146,7 +146,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-embeddings/image-embeddings-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-embeddings/image-embeddings-batch-endpoint.ipynb index 632d1dfd44..eec44d4479 100644 --- a/sdk/python/foundation-models/system/inference/image-embeddings/image-embeddings-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-embeddings/image-embeddings-batch-endpoint.ipynb @@ -172,7 +172,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-embeddings/image-embeddings-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-embeddings/image-embeddings-online-endpoint.ipynb index 47b57af0b6..2cc7b2a97a 100644 --- a/sdk/python/foundation-models/system/inference/image-embeddings/image-embeddings-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-embeddings/image-embeddings-online-endpoint.ipynb @@ -137,7 +137,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", @@ -324,7 +325,11 @@ ] } ], - "metadata": {}, + "metadata": { + "language_info": { + "name": "python" + } + }, "nbformat": 4, "nbformat_minor": 2 } diff --git a/sdk/python/foundation-models/system/inference/image-object-detection/image-object-detection-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-object-detection/image-object-detection-batch-endpoint.ipynb index 93f946a615..21e3ea0a16 100644 --- a/sdk/python/foundation-models/system/inference/image-object-detection/image-object-detection-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-object-detection/image-object-detection-batch-endpoint.ipynb @@ -172,7 +172,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-object-detection/image-object-detection-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-object-detection/image-object-detection-online-endpoint.ipynb index d62e0f57c5..ab33644634 100644 --- a/sdk/python/foundation-models/system/inference/image-object-detection/image-object-detection-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-object-detection/image-object-detection-online-endpoint.ipynb @@ -137,7 +137,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-text-embeddings/image-text-embeddings-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-text-embeddings/image-text-embeddings-batch-endpoint.ipynb index b610478e7b..b008b13c49 100644 --- a/sdk/python/foundation-models/system/inference/image-text-embeddings/image-text-embeddings-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-text-embeddings/image-text-embeddings-batch-endpoint.ipynb @@ -177,7 +177,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-text-embeddings/image-text-embeddings-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-text-embeddings/image-text-embeddings-online-endpoint.ipynb index 2871662e7e..b62307c6f5 100644 --- a/sdk/python/foundation-models/system/inference/image-text-embeddings/image-text-embeddings-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-text-embeddings/image-text-embeddings-online-endpoint.ipynb @@ -140,7 +140,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-text-embeddings/text-to-image-retrieval.ipynb b/sdk/python/foundation-models/system/inference/image-text-embeddings/text-to-image-retrieval.ipynb index 8d95dab697..29af467cb5 100644 --- a/sdk/python/foundation-models/system/inference/image-text-embeddings/text-to-image-retrieval.ipynb +++ b/sdk/python/foundation-models/system/inference/image-text-embeddings/text-to-image-retrieval.ipynb @@ -112,7 +112,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-to-text/image-to-text-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-to-text/image-to-text-batch-endpoint.ipynb index c767466d37..6301cf4354 100644 --- a/sdk/python/foundation-models/system/inference/image-to-text/image-to-text-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-to-text/image-to-text-batch-endpoint.ipynb @@ -172,7 +172,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-to-text/image-to-text-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-to-text/image-to-text-online-endpoint.ipynb index 23a2a46d10..17584a539e 100644 --- a/sdk/python/foundation-models/system/inference/image-to-text/image-to-text-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-to-text/image-to-text-online-endpoint.ipynb @@ -136,7 +136,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/mask-generation/mask-generation-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/mask-generation/mask-generation-batch-endpoint.ipynb index 4d2011cdf1..3268bf488e 100644 --- a/sdk/python/foundation-models/system/inference/mask-generation/mask-generation-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/mask-generation/mask-generation-batch-endpoint.ipynb @@ -164,7 +164,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/mask-generation/mask-generation-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/mask-generation/mask-generation-online-endpoint.ipynb index a9df8b9c59..3c04fa9d9d 100644 --- a/sdk/python/foundation-models/system/inference/mask-generation/mask-generation-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/mask-generation/mask-generation-online-endpoint.ipynb @@ -129,7 +129,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/visual-question-answering/visual-question-answering-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/visual-question-answering/visual-question-answering-batch-endpoint.ipynb index 49cc039cd7..6a9d288b9f 100644 --- a/sdk/python/foundation-models/system/inference/visual-question-answering/visual-question-answering-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/visual-question-answering/visual-question-answering-batch-endpoint.ipynb @@ -172,7 +172,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/visual-question-answering/visual-question-answering-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/visual-question-answering/visual-question-answering-online-endpoint.ipynb index 9f0471f2d0..7fac2ee050 100644 --- a/sdk/python/foundation-models/system/inference/visual-question-answering/visual-question-answering-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/visual-question-answering/visual-question-answering-online-endpoint.ipynb @@ -136,7 +136,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/zero-shot-image-classification/zero-shot-image-classification-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/zero-shot-image-classification/zero-shot-image-classification-batch-endpoint.ipynb index 29ddef08c3..e7449f571e 100644 --- a/sdk/python/foundation-models/system/inference/zero-shot-image-classification/zero-shot-image-classification-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/zero-shot-image-classification/zero-shot-image-classification-batch-endpoint.ipynb @@ -177,7 +177,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/zero-shot-image-classification/zero-shot-image-classification-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/zero-shot-image-classification/zero-shot-image-classification-online-endpoint.ipynb index 4aa8f95832..0b4261fbbe 100644 --- a/sdk/python/foundation-models/system/inference/zero-shot-image-classification/zero-shot-image-classification-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/zero-shot-image-classification/zero-shot-image-classification-online-endpoint.ipynb @@ -143,7 +143,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb index f8de4b0ff5..ef49d5198a 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items/automl-image-classification-multiclass-task-fridge-items.ipynb @@ -146,7 +146,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb index dd750b98ff..4ef88f1a0f 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items/automl-image-classification-multilabel-task-fridge-items.ipynb @@ -144,7 +144,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/multilabelFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring/image-object-detection-batch-scoring-non-mlflow-model.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring/image-object-detection-batch-scoring-non-mlflow-model.ipynb index b81cad301f..d18a3fc2e9 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring/image-object-detection-batch-scoring-non-mlflow-model.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring/image-object-detection-batch-scoring-non-mlflow-model.ipynb @@ -128,7 +128,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb index 83e17974de..3ef5600a54 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items/automl-image-object-detection-task-fridge-items.ipynb @@ -143,7 +143,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-classification-multiclass-in-pipeline/automl-image-classification-multiclass-in-pipeline.ipynb b/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-classification-multiclass-in-pipeline/automl-image-classification-multiclass-in-pipeline.ipynb index 60e96335fc..99d66de79c 100644 --- a/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-classification-multiclass-in-pipeline/automl-image-classification-multiclass-in-pipeline.ipynb +++ b/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-classification-multiclass-in-pipeline/automl-image-classification-multiclass-in-pipeline.ipynb @@ -124,7 +124,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/fridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/fridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-classification-multilabel-in-pipeline/automl-image-classification-multilabel-in-pipeline.ipynb b/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-classification-multilabel-in-pipeline/automl-image-classification-multilabel-in-pipeline.ipynb index 6766bce0f9..39c61c15b9 100644 --- a/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-classification-multilabel-in-pipeline/automl-image-classification-multilabel-in-pipeline.ipynb +++ b/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-classification-multilabel-in-pipeline/automl-image-classification-multilabel-in-pipeline.ipynb @@ -120,7 +120,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-classification/multilabelFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-classification/multilabelFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-object-detection-in-pipeline/automl-image-object-detection-in-pipeline.ipynb b/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-object-detection-in-pipeline/automl-image-object-detection-in-pipeline.ipynb index b294129270..025df3e9ef 100644 --- a/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-object-detection-in-pipeline/automl-image-object-detection-in-pipeline.ipynb +++ b/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-object-detection-in-pipeline/automl-image-object-detection-in-pipeline.ipynb @@ -119,7 +119,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-object-detection/odFridgeObjects.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-object-detection/odFridgeObjects.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", From 0d2a79f73105ffbb411dafdd2738a4582ea2551d Mon Sep 17 00:00:00 2001 From: hkotesova Date: Tue, 2 Dec 2025 13:51:57 -0800 Subject: [PATCH 5/5] object detection mask notebooks --- .../inference/image-instance-segmentation/prepare_data.py | 4 ++-- .../prepare_data.py | 3 ++- .../prepare_data.py | 3 ++- .../image-instance-segmentation.ipynb | 3 ++- .../mmdetection-fridgeobjects-instance-segmentation.ipynb | 3 ++- .../image-instance-segmentation-batch-endpoint.ipynb | 3 ++- .../image-instance-segmentation-online-endpoint.ipynb | 3 ++- ...automl-image-instance-segmentation-task-fridge-items.ipynb | 3 ++- .../automl-image-instance-segmentation-in-pipeline.ipynb | 3 ++- 9 files changed, 18 insertions(+), 10 deletions(-) diff --git a/cli/foundation-models/system/inference/image-instance-segmentation/prepare_data.py b/cli/foundation-models/system/inference/image-instance-segmentation/prepare_data.py index f5598b83d2..5cf8288147 100644 --- a/cli/foundation-models/system/inference/image-instance-segmentation/prepare_data.py +++ b/cli/foundation-models/system/inference/image-instance-segmentation/prepare_data.py @@ -18,8 +18,8 @@ def download_and_unzip(dataset_parent_dir: str) -> None: os.makedirs(dataset_parent_dir, exist_ok=True) # download data - - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip" + branch = "hkotesova/fridge-data" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip" print(f"Downloading data from {download_url}") # Extract current dataset name from dataset url diff --git a/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/prepare_data.py b/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/prepare_data.py index 4d6115d6f2..27eb63ee21 100644 --- a/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/prepare_data.py +++ b/cli/jobs/automl-standalone-jobs/cli-automl-image-instance-segmentation-task-fridge-items/prepare_data.py @@ -40,7 +40,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip" + branch = "hkotesova/fridge-data" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/prepare_data.py b/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/prepare_data.py index 10a7941299..8987aca577 100644 --- a/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/prepare_data.py +++ b/cli/jobs/pipelines/automl/image-instance-segmentation-task-fridge-items-pipeline/prepare_data.py @@ -40,7 +40,8 @@ def upload_data_and_create_jsonl_mltable_files(ml_client, dataset_parent_dir): os.makedirs(dataset_parent_dir, exist_ok=True) # download data - download_url = "https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip" + branch = "hkotesova/fridge-data" + download_url = f"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip" # Extract current dataset name from dataset url dataset_name = os.path.basename(download_url).split(".")[0] diff --git a/sdk/python/foundation-models/system/evaluation/image-instance-segmentation/image-instance-segmentation.ipynb b/sdk/python/foundation-models/system/evaluation/image-instance-segmentation/image-instance-segmentation.ipynb index e893dcb59b..c27ecb3ca2 100644 --- a/sdk/python/foundation-models/system/evaluation/image-instance-segmentation/image-instance-segmentation.ipynb +++ b/sdk/python/foundation-models/system/evaluation/image-instance-segmentation/image-instance-segmentation.ipynb @@ -283,7 +283,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/finetune/image-instance-segmentation/mmdetection-fridgeobjects-instance-segmentation.ipynb b/sdk/python/foundation-models/system/finetune/image-instance-segmentation/mmdetection-fridgeobjects-instance-segmentation.ipynb index 79e77d4e5f..67b8a4c5fb 100644 --- a/sdk/python/foundation-models/system/finetune/image-instance-segmentation/mmdetection-fridgeobjects-instance-segmentation.ipynb +++ b/sdk/python/foundation-models/system/finetune/image-instance-segmentation/mmdetection-fridgeobjects-instance-segmentation.ipynb @@ -306,7 +306,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-instance-segmentation/image-instance-segmentation-batch-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-instance-segmentation/image-instance-segmentation-batch-endpoint.ipynb index 624a988816..cda17169a2 100644 --- a/sdk/python/foundation-models/system/inference/image-instance-segmentation/image-instance-segmentation-batch-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-instance-segmentation/image-instance-segmentation-batch-endpoint.ipynb @@ -172,7 +172,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/foundation-models/system/inference/image-instance-segmentation/image-instance-segmentation-online-endpoint.ipynb b/sdk/python/foundation-models/system/inference/image-instance-segmentation/image-instance-segmentation-online-endpoint.ipynb index 2198c1cc6f..36fbb8397a 100644 --- a/sdk/python/foundation-models/system/inference/image-instance-segmentation/image-instance-segmentation-online-endpoint.ipynb +++ b/sdk/python/foundation-models/system/inference/image-instance-segmentation/image-instance-segmentation-online-endpoint.ipynb @@ -137,7 +137,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# Download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb b/sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb index 2aeabe2fbf..5eb10a266e 100644 --- a/sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb +++ b/sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items/automl-image-instance-segmentation-task-fridge-items.ipynb @@ -143,7 +143,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n", diff --git a/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-instance-segmentation-in-pipeline/automl-image-instance-segmentation-in-pipeline.ipynb b/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-instance-segmentation-in-pipeline/automl-image-instance-segmentation-in-pipeline.ipynb index 36c6723d21..7e70e87542 100644 --- a/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-instance-segmentation-in-pipeline/automl-image-instance-segmentation-in-pipeline.ipynb +++ b/sdk/python/jobs/pipelines/1h_automl_in_pipeline/automl-image-instance-segmentation-in-pipeline/automl-image-instance-segmentation-in-pipeline.ipynb @@ -119,7 +119,8 @@ "os.makedirs(dataset_parent_dir, exist_ok=True)\n", "\n", "# download data\n", - "download_url = \"https://automlsamplenotebookdata-adcuc7f7bqhhh8a4.b02.azurefd.net/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", + "branch = \"hkotesova/fridge-data\"\n", + "download_url = f\"https://raw.githubusercontent.com/Azure/azureml-examples/{branch}/sample-data/image-instance-segmentation/odFridgeObjectsMask.zip\"\n", "\n", "# Extract current dataset name from dataset url\n", "dataset_name = os.path.split(download_url)[-1].split(\".\")[0]\n",