forked from littletotoro/benchmarking-gnns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript_download_all_datasets.sh
102 lines (68 loc) · 1.59 KB
/
script_download_all_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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Command to download dataset:
# bash script_download_all_datasets.sh
############
# ZINC
############
DIR=molecules/
cd $DIR
FILE=ZINC.pkl
if test -f "$FILE"; then
echo -e "$FILE already downloaded."
else
echo -e "\ndownloading $FILE..."
curl https://www.dropbox.com/s/bhimk9p1xst6dvo/ZINC.pkl?dl=1 -o ZINC.pkl -J -L -k
fi
cd ..
############
# MNIST and CIFAR10
############
DIR=superpixels/
cd $DIR
FILE=MNIST.pkl
if test -f "$FILE"; then
echo -e "$FILE already downloaded."
else
echo -e "\ndownloading $FILE..."
curl https://www.dropbox.com/s/wcfmo4yvnylceaz/MNIST.pkl?dl=1 -o MNIST.pkl -J -L -k
fi
FILE=CIFAR10.pkl
if test -f "$FILE"; then
echo -e "$FILE already downloaded."
else
echo -e "\ndownloading $FILE..."
curl https://www.dropbox.com/s/agocm8pxg5u8yb5/CIFAR10.pkl?dl=1 -o CIFAR10.pkl -J -L -k
fi
cd ..
############
# PATTERN and CLUSTER
############
DIR=SBMs/
cd $DIR
FILE=SBM_CLUSTER.pkl
if test -f "$FILE"; then
echo -e "$FILE already downloaded."
else
echo -e "\ndownloading $FILE..."
curl https://www.dropbox.com/s/edpjywwexztxann/SBM_CLUSTER.pkl?dl=1 -o SBM_CLUSTER.pkl -J -L -k
fi
FILE=SBM_PATTERN.pkl
if test -f "$FILE"; then
echo -e "$FILE already downloaded."
else
echo -e "\ndownloading $FILE..."
curl https://www.dropbox.com/s/zf17n6x6s441s14/SBM_PATTERN.pkl?dl=1 -o SBM_PATTERN.pkl -J -L -k
fi
cd ..
############
# TSP
############
DIR=TSP/
cd $DIR
FILE=TSP.pkl
if test -f "$FILE"; then
echo -e "$FILE already downloaded."
else
echo -e "\ndownloading $FILE..."
curl https://www.dropbox.com/s/qga6q0gxx3wb8k0/TSP.pkl?dl=1 -o TSP.pkl -J -L -k
fi
cd ..