forked from kreimanlab/VisualSearchAsymmetry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prepDirectory.sh
executable file
·40 lines (35 loc) · 1.21 KB
/
prepDirectory.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
#!/bin/bash
echo "###############################"
echo "## Preparing Datasets ##"
echo "###############################"
echo ""
wget --no-check-certificate https://dl.dropboxusercontent.com/s/fhftat0mghqkkyu/dataset.zip?dl=1 -O ./dataset.zip
echo "Extracting..."
unzip dataset.zip -d ./vs_exp/
echo ""
echo "###############################"
echo "## Downloading VGG16 Weights ##"
echo "###############################"
echo ""
wget --no-check-certificate https://dl.dropboxusercontent.com/s/6r196ijkubpxchs/pretrained_model.zip?dl=1 -O ./pretrained_model.zip
unzip pretrained_model.zip
echo ""
echo "###############################"
echo "## Downloading GBVS Model ##"
echo "###############################"
echo ""
wget --no-check-certificate https://dl.dropboxusercontent.com/s/v9tbt3b061iab6x/gbvs.zip?dl=1 -O ./gbvs.zip
echo "Extracting..."
unzip gbvs.zip -d ./vs_exp/
echo ""
echo "###############################"
echo "## Cleaning Directory... ##"
echo "###############################"
echo ""
rm dataset.zip pretrained_model.zip gbvs.zip
echo ""
echo "###############################"
echo "## Prepare Conda Environment ##"
echo "###############################"
echo ""
conda env create -f environment.yml