-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.sh
More file actions
executable file
·35 lines (27 loc) · 743 Bytes
/
init.sh
File metadata and controls
executable file
·35 lines (27 loc) · 743 Bytes
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
#!/bin/bash
function init_submodules() {
git submodule update --init --recursive
}
function init_colorization() {
echo -e "\tInitializing the colorization repo."
pushd extern/colorization
bash ./models/fetch_release_models.sh
popd
}
function init_python_requirements() {
echo -e "\tInitializing python requirements."
sudo apt install -y python3-pip python-pip
sudo pip3 install -r requirements.txt
# Debian only, for now.
./install_caffe.sh
}
function init_avatars_population() {
echo -e "\tInitializing avatars population."
pushd extern/avatars
python3 download_avatars_kaggle_dataset.py
popd
}
init_submodules
init_python_requirements
init_colorization
init_avatars_population