manhkhanhUIT commited on
Commit
48e8a4e
·
1 Parent(s): 7fab858

Upload setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +26 -0
setup.sh ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ cd Face_Enhancement/models/networks/
4
+ git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch
5
+ cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm .
6
+ cd ../../../
7
+
8
+ cd Global/detection_models
9
+ git clone https://github.com/vacancy/Synchronized-BatchNorm-PyTorch
10
+ cp -rf Synchronized-BatchNorm-PyTorch/sync_batchnorm .
11
+ cd ../../
12
+
13
+ cd Face_Detection/
14
+ wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
15
+ bzip2 -d shape_predictor_68_face_landmarks.dat.bz2
16
+ cd ../
17
+
18
+ cd Face_Enhancement/
19
+ wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/face_checkpoints.zip
20
+ unzip face_checkpoints.zip
21
+ cd ../
22
+
23
+ cd Global/
24
+ wget https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life/releases/download/v1.0/global_checkpoints.zip
25
+ unzip global_checkpoints.zip
26
+ cd ../