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..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 @@ -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-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..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,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-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 dataset_name = os.path.basename(download_url).split(".")[0] 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..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,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-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 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..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,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-data" # 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..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,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-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}") # Extract current dataset name from dataset url 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/foundation-models/system/inference/image-object-detection/prepare_data.py b/cli/foundation-models/system/inference/image-object-detection/prepare_data.py index e497f4d791..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,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-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}") # 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..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,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-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}") # Extract current dataset name from dataset 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 83a37ac9c2..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,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-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}") # 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..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,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-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}") # 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..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,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-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}") # 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..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,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-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}") # 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..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,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-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/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..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,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-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 dataset_name = os.path.basename(download_url).split(".")[0] 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/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..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,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-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 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/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..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,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-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/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..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,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-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 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..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,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-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 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..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,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/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-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/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-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/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-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/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-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/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-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", 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",