-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.sh
More file actions
20 lines (19 loc) · 924 Bytes
/
setup.sh
File metadata and controls
20 lines (19 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
echo cloning repos...
if [ ! -d "dissect/" ]
then
git clone https://github.com/davidbau/dissect.git
else
echo "Dissect repo already exists.. skipping clone.."
fi
if [ ! -d "XTConsistency/" ]
then
git clone https://github.com/EPFL-VILAB/XTConsistency.git
else
echo "XTC repo already exists... skipping..."
fi
echo downloading XTC checkpoints...
mkdir -p checkpoints
wget https://drive.switch.ch/index.php/s/QPvImzbbdjBKI5P/download && mkdir -p checkpoints/XTConsistency && mv download checkpoints/XTConsistency/ && cd checkpoints/XTConsistency && unzip download && rm download && cd ../..
# wget https://drive.switch.ch/index.php/s/QPvImzbbdjBKI5P/download?path=%2F&files=rgb2normal_consistency.pth && mv rgb2normal_consistency.pth ./checkpoints
# wget https://drive.switch.ch/index.php/s/QPvImzbbdjBKI5P/download?path=%2F&files=rgb2reshading_consistency.pth && mv rgb2reshading_consistency.pth ./checkpoints