李洋
commited on
feat: update download_weights.bat (#372)
Browse files- download_weights.bat +9 -13
download_weights.bat
CHANGED
|
@@ -14,32 +14,28 @@ mkdir %CheckpointsDir%\sd-vae-ft-mse
|
|
| 14 |
mkdir %CheckpointsDir%\whisper
|
| 15 |
|
| 16 |
:: Install required packages
|
| 17 |
-
pip install -U "huggingface_hub[
|
| 18 |
-
pip install gdown
|
| 19 |
|
| 20 |
:: Set HuggingFace endpoint
|
| 21 |
set HF_ENDPOINT=https://hf-mirror.com
|
| 22 |
|
| 23 |
:: Download MuseTalk weights
|
| 24 |
-
|
| 25 |
|
| 26 |
:: Download SD VAE weights
|
| 27 |
-
|
| 28 |
|
| 29 |
:: Download Whisper weights
|
| 30 |
-
|
| 31 |
|
| 32 |
:: Download DWPose weights
|
| 33 |
-
|
| 34 |
|
| 35 |
:: Download SyncNet weights
|
| 36 |
-
|
| 37 |
|
| 38 |
-
:: Download
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
:: Download ResNet weights
|
| 42 |
-
curl -L https://download.pytorch.org/models/resnet18-5c106cde.pth -o %CheckpointsDir%\face-parse-bisent\resnet18-5c106cde.pth
|
| 43 |
|
| 44 |
echo All weights have been downloaded successfully!
|
| 45 |
-
endlocal
|
|
|
|
| 14 |
mkdir %CheckpointsDir%\whisper
|
| 15 |
|
| 16 |
:: Install required packages
|
| 17 |
+
pip install -U "huggingface_hub[hf_xet]"
|
|
|
|
| 18 |
|
| 19 |
:: Set HuggingFace endpoint
|
| 20 |
set HF_ENDPOINT=https://hf-mirror.com
|
| 21 |
|
| 22 |
:: Download MuseTalk weights
|
| 23 |
+
hf download TMElyralab/MuseTalk --local-dir %CheckpointsDir%
|
| 24 |
|
| 25 |
:: Download SD VAE weights
|
| 26 |
+
hf download stabilityai/sd-vae-ft-mse --local-dir %CheckpointsDir%\sd-vae --include "config.json" "diffusion_pytorch_model.bin"
|
| 27 |
|
| 28 |
:: Download Whisper weights
|
| 29 |
+
hf download openai/whisper-tiny --local-dir %CheckpointsDir%\whisper --include "config.json" "pytorch_model.bin" "preprocessor_config.json"
|
| 30 |
|
| 31 |
:: Download DWPose weights
|
| 32 |
+
hf download yzd-v/DWPose --local-dir %CheckpointsDir%\dwpose --include "dw-ll_ucoco_384.pth"
|
| 33 |
|
| 34 |
:: Download SyncNet weights
|
| 35 |
+
hf download ByteDance/LatentSync --local-dir %CheckpointsDir%\syncnet --include "latentsync_syncnet.pt"
|
| 36 |
|
| 37 |
+
:: Download face-parse-bisent weights
|
| 38 |
+
hf download ManyOtherFunctions/face-parse-bisent --local-dir %CheckpointsDir%\face-parse-bisent --include "79999_iter.pth" "resnet18-5c106cde.pth"
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
echo All weights have been downloaded successfully!
|
| 41 |
+
endlocal
|