forked from Azure/azureml-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create-datasets.sh
40 lines (18 loc) · 853 Bytes
/
create-datasets.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# this dataset is needed for the sample under cli/jobs/pipelines-with-components/basics/4d_dataset_input
az ml data create -f ../cli/jobs/pipelines-with-components/basics/4d_dataset_input/data.yml
# <download_untar_cifar>
mkdir data
wget "https://azuremlexamples.blob.core.windows.net/datasets/cifar-10-python.tar.gz"
tar -xvzf cifar-10-python.tar.gz -C data
# </download_untar_cifar>
# <create_cifar>
az ml data create --name cifar-10-example --version 1 --set path=data
# </create_cifar>
# <cleanup_cifar>
rm cifar-10-python.tar.gz
rm -r data
# </cleanup_cifar>
# <create_rai_data>
az ml data create -f "./cli/jobs/pipelines-with-components/rai_pipeline_adult_analyse/data/data_adult_test.yaml"
az ml data create -f "./cli/jobs/pipelines-with-components/rai_pipeline_adult_analyse/data/data_adult_train.yaml"
# </create_rai_data>