Lab 2 - Data

Download the dataset

# Create a directory
mkdir data
cd data
# Download the data and validation set
# Unzip the dataset
# remove the zip file
# Go back to the root of your project
cd ..

Create a dataset in your Azure Machine Learning workspace

code data.yml
Add this content to the file
name: LegoSimpsons
version: 1
datastore: azureml:workspaceblobstore
local_path: ./data
Now run the CLI command to upload the data to your default datastore and create the dataset
az ml data create -f data.yml
To see if the dataset is created you can list all the datasets in your workspace with the command below.
az ml data list --output table


Now you have versioned dataset of Simpson Images in your Azure Machine Learning Workspace
  • Downloaded the dataset
  • Unzipped the dataset
  • Create a dataset configuration file in YAML
  • Used the CLI to create the dataset in Azure Machine Learning