Spaces:
Paused
Paused
Update scripts/download_models.sh
Browse files- scripts/download_models.sh +24 -22
scripts/download_models.sh
CHANGED
@@ -1,22 +1,24 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/
|
5 |
-
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/
|
6 |
-
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/
|
7 |
-
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/
|
8 |
-
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/
|
9 |
-
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/
|
10 |
-
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/
|
11 |
-
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
wget -nc https://github.com/
|
21 |
-
wget -nc https://github.com/xinntao/facexlib/releases/download/v0.
|
22 |
-
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
mkdir ./checkpoints
|
4 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/auido2exp_00300-model.pth -O ./checkpoints/auido2exp_00300-model.pth
|
5 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/auido2pose_00140-model.pth -O ./checkpoints/auido2pose_00140-model.pth
|
6 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/epoch_20.pth -O ./checkpoints/epoch_20.pth
|
7 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/facevid2vid_00189-model.pth.tar -O ./checkpoints/facevid2vid_00189-model.pth.tar
|
8 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/shape_predictor_68_face_landmarks.dat -O ./checkpoints/shape_predictor_68_face_landmarks.dat
|
9 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/wav2lip.pth -O ./checkpoints/wav2lip.pth
|
10 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/mapping_00229-model.pth.tar -O ./checkpoints/mapping_00229-model.pth.tar
|
11 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/mapping_00109-model.pth.tar -O ./checkpoints/mapping_00109-model.pth.tar
|
12 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/BFM_Fitting.zip -O ./checkpoints/BFM_Fitting.zip
|
13 |
+
wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/hub.zip -O ./checkpoints/hub.zip
|
14 |
+
|
15 |
+
|
16 |
+
unzip -n ./checkpoints/hub.zip -d ./checkpoints/
|
17 |
+
unzip -n ./checkpoints/BFM_Fitting.zip -d ./checkpoints/
|
18 |
+
|
19 |
+
mkdir -p ./gfpgan/weights
|
20 |
+
wget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/alignment_WFLW_4HG.pth -O ./gfpgan/weights/alignment_WFLW_4HG.pth
|
21 |
+
wget -nc https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth -O ./gfpgan/weights/detection_Resnet50_Final.pth
|
22 |
+
wget -nc https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -O ./gfpgan/weights/GFPGANv1.4.pth
|
23 |
+
wget -nc https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth -O ./gfpgan/weights/parsing_parsenet.pth
|
24 |
+
|