-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathget_dataset.sh
17 lines (17 loc) · 1.54 KB
/
get_dataset.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Root=http://www.cs.jhu.edu/~qiuwch/animal/
mkdir -p animal_data/synthetic_animal
wget -c $Root/synthetic_animal/horse_combineds5r5_texture.zip -O animal_data/synthetic_animal/horse_combineds5r5_texture.zip
wget -c $Root/synthetic_animal/tiger_combineds5r5_texture.zip -O animal_data/synthetic_animal/tiger_combineds5r5_texture.zip
#wget -c $Root/synthetic_animal/sheep_combineds5r5_texture.zip -O animal_data/synthetic_animal/sheep_combineds5r5_texture.zip
#wget -c $Root/synthetic_animal/hound_combineds5r5_texture.zip -O animal_data/synthetic_animal/hound_combineds5r5_texture.zip
#wget -c $Root/synthetic_animal/elephant_combineds5r5_texture.zip -O animal_data/synthetic_animal/elephant_combineds5r5_texture.zip
unzip ./animal_data/synthetic_animal/horse_combineds5r5_texture.zip -d ./animal_data/synthetic_animal/
unzip ./animal_data/synthetic_animal/tiger_combineds5r5_texture.zip -d ./animal_data/synthetic_animal/
#unzip ./animal_data/synthetic_animal/sheep_combineds5r5_texture.zip -d ./animal_data/synthetic_animal/
#unzip ./animal_data/synthetic_animal/hound_combineds5r5_texture.zip -d ./animal_data/synthetic_animal/
#unzip ./animal_data/synthetic_animal/elephant_combineds5r5_texture.zip -d ./animal_data/synthetic_animal/
rm -r ./animal_data/synthetic_animal/horse_combineds5r5_texture.zip
rm -r ./animal_data/synthetic_animal/tiger_combineds5r5_texture.zip
#rm -r ./animal_data/synthetic_animal/sheep_combineds5r5_texture.zip
#rm -r ./animal_data/synthetic_animal/hound_combineds5r5_texture.zip
#rm -r ./animal_data/synthetic_animal/elephant_combineds5r5_texture.zip