Download SadTalker/scripts/download_models.sh from duyv/API_MC_AI: direct link, hf CLI and curl.
- Browser
- Download file 2.73 kB
-
https://huggingface.co/duyv/API_MC_AI/resolve/main/SadTalker/scripts/download_models.sh
- Command line
-
hf download hf://duyv/API_MC_AI/SadTalker/scripts/download_models.sh
-
curl -L -o download_models.sh https://huggingface.co/duyv/API_MC_AI/resolve/main/SadTalker/scripts/download_models.sh
2.73 kB
| mkdir ./checkpoints | |
| # lagency download link | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/auido2exp_00300-model.pth -O ./checkpoints/auido2exp_00300-model.pth | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/auido2pose_00140-model.pth -O ./checkpoints/auido2pose_00140-model.pth | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/epoch_20.pth -O ./checkpoints/epoch_20.pth | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/facevid2vid_00189-model.pth.tar -O ./checkpoints/facevid2vid_00189-model.pth.tar | |
| # 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 | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/wav2lip.pth -O ./checkpoints/wav2lip.pth | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/mapping_00229-model.pth.tar -O ./checkpoints/mapping_00229-model.pth.tar | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/mapping_00109-model.pth.tar -O ./checkpoints/mapping_00109-model.pth.tar | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/hub.zip -O ./checkpoints/hub.zip | |
| # unzip -n ./checkpoints/hub.zip -d ./checkpoints/ | |
| #### download the new links. | |
| wget -nc https://huggingface.co/duyv/MC-AI/resolve/main/checkpoints/mapping_00109-model.pth.tar -O ./checkpoints/mapping_00109-model.pth.tar | |
| wget -nc https://huggingface.co/duyv/MC-AI/blob/main/checkpoints/mapping_00229-model.pth.tar -O ./checkpoints/mapping_00229-model.pth.tar | |
| wget -nc https://huggingface.co/duyv/MC-AI/resolve/main/checkpoints/SadTalker_V0.0.2_256.safetensors -O ./checkpoints/SadTalker_V0.0.2_256.safetensors | |
| wget -nc https://huggingface.co/duyv/MC-AI/resolve/main/checkpoints/SadTalker_V0.0.2_512.safetensors -O ./checkpoints/SadTalker_V0.0.2_512.safetensors | |
| # wget -nc https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/BFM_Fitting.zip -O ./checkpoints/BFM_Fitting.zip | |
| # unzip -n ./checkpoints/BFM_Fitting.zip -d ./checkpoints/ | |
| ### enhancer | |
| mkdir -p ./gfpgan/weights | |
| wget -nc https://huggingface.co/duyv/MC-AI/resolve/main/gfpgan/weights/alignment_WFLW_4HG.pth -O ./gfpgan/weights/alignment_WFLW_4HG.pth | |
| wget -nc https://huggingface.co/duyv/MC-AI/resolve/main/gfpgan/weights/detection_Resnet50_Final.pth -O ./gfpgan/weights/detection_Resnet50_Final.pth | |
| wget -nc https://huggingface.co/duyv/MC-AI/resolve/main/gfpgan/weights/GFPGANv1.4.pth -O ./gfpgan/weights/GFPGANv1.4.pth | |
| wget -nc https://huggingface.co/duyv/MC-AI/resolve/main/gfpgan/weights/parsing_parsenet.pth -O ./gfpgan/weights/parsing_parsenet.pth | |