Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -324,7 +325,11 @@
]
}
],
"metadata": {},
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Loading
Loading