-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path00_get_data.sh
executable file
·58 lines (44 loc) · 1.87 KB
/
00_get_data.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
#!/bin/bash
dataset=$1
echo "Download data and maps for dataset: " $dataset
mkdir -p data
cd data
if [[ "$dataset" == "gallop" ]]
then
folder=Data_elephant
wget https://owncloud.scai.fraunhofer.de/index.php/s/5oiYYZPYf7ipmCt/download/Data_elephant.tar.gz
echo "tar -xzvf $folder.tar.gz && rm $folder.tar.gz"
tar -xzvf $folder.tar.gz && rm $folder.tar.gz
folder=Data_horse
wget https://owncloud.scai.fraunhofer.de/index.php/s/nfPjcsJCAntDdjk/download/Data_horse.tar.gz
echo "tar -xzvf $folder.tar.gz && rm $folder.tar.gz"
tar -xzvf $folder.tar.gz && rm $folder.tar.gz
folder=Data_camel
wget https://owncloud.scai.fraunhofer.de/index.php/s/x6Mi5Q3nzKRrjzK/download/Data_camel.tar.gz
echo "tar -xzvf $folder.tar.gz && rm $folder.tar.gz"
tar -xzvf $folder.tar.gz && rm $folder.tar.gz
echo "load the p2p maps"
wget https://owncloud.scai.fraunhofer.de/index.php/s/52mzPiQeJQ5kZpB/download/GALLOP_samp_.tar.gz
maps=GALLOP_samp_
tar -xzvf $maps.tar.gz && rm $maps.tar.gz
elif [[ "$dataset" == "TRUCK" ]]
then
folder=TRUCK_data_DISCO_AE
wget https://owncloud.scai.fraunhofer.de/index.php/s/9Ke2fXNcepPwqas/download/TRUCK_data_DISCO_AE.tar
echo "tar -xzvf $folder.tar && rm $folder.tar"
tar -xzvf $folder.tar && rm $folder.tar
elif [[ "$dataset" == "FAUST" ]]
then
folder=Data_FAUST
wget https://owncloud.scai.fraunhofer.de/index.php/s/DTHAEB9BfyZsar6/download/Data_FAUST.tar.gz
echo "tar -xzvf $folder.tar.gz && rm $folder.tar.gz"
tar -xzvf $folder.tar.gz && rm $folder.tar.gz
echo "load the p2p maps"
wget https://owncloud.scai.fraunhofer.de/index.php/s/B93fZJAdxzqJ2yL/download/FAUST_.tar.gz
maps=FAUST_
tar -xzvf $maps.tar.gz && rm $maps.tar.gz
else
echo "Not a valid dataset."
fi
cd ..
echo "downloaded the mesh data, true p2p maps, and unsupervised p2p maps, and putting it in data directory"