-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.sh
More file actions
29 lines (22 loc) · 722 Bytes
/
setup.sh
File metadata and controls
29 lines (22 loc) · 722 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
#wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
#bash ~/miniconda.sh -b -p ~/miniconda
#rm ~/miniconda.sh
#sudo -s
# The above command will prompt password entry.
export PATH=/root/miniconda/bin/:$PATH
conda env create -f environment.yml
source activate 3dface
pip install opencv-contrib-python
apt-get -y update
apt-get -y upgrade
apt install -y libsm6 libxext6 libxrender1
# Installing dlib from github
git clone https://github.com/davisking/dlib.git
apt install -y cmake
cd dlib
python setup.py install
cd ./..
mkdir -p ./models/latest/
mkdir -p /tmp/SFSNet/checkpoints/skipnet_checkpoints
mkdir -p /tmp/SFSNet/checkpoints/sfsnet_checkpoints
python data_loader.py