forked from microsoft/JARVIS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed microsoft#50; reduced local deployments
- Loading branch information
1 parent
766e44b
commit bc66e5a
Showing
7 changed files
with
91 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,57 @@ | ||
models=" | ||
nlpconnect/vit-gpt2-image-captioning | ||
lllyasviel/ControlNet | ||
lllyasviel/sd-controlnet-canny | ||
lllyasviel/sd-controlnet-depth | ||
lllyasviel/sd-controlnet-hed | ||
lllyasviel/sd-controlnet-mlsd | ||
lllyasviel/sd-controlnet-openpose | ||
lllyasviel/sd-controlnet-scribble | ||
lllyasviel/sd-controlnet-seg | ||
runwayml/stable-diffusion-v1-5 | ||
Salesforce/blip-image-captioning-large | ||
damo-vilab/text-to-video-ms-1.7b | ||
microsoft/speecht5_asr | ||
facebook/maskformer-swin-large-ade | ||
microsoft/biogpt | ||
facebook/esm2_t12_35M_UR50D | ||
JorisCos/DCCRNet_Libri1Mix_enhsingle_16k | ||
espnet/kan-bayashi_ljspeech_vits | ||
facebook/detr-resnet-101 | ||
microsoft/speecht5_tts | ||
microsoft/speecht5_hifigan | ||
microsoft/speecht5_vc | ||
openai/whisper-base | ||
Intel/dpt-large | ||
facebook/detr-resnet-50-panoptic | ||
facebook/detr-resnet-50 | ||
google/owlvit-base-patch32 | ||
impira/layoutlm-document-qa | ||
ydshieh/vit-gpt2-coco-en | ||
dandelin/vilt-b32-finetuned-vqa | ||
lambdalabs/sd-image-variations-diffusers | ||
facebook/maskformer-swin-base-coco | ||
Intel/dpt-hybrid-midas | ||
" | ||
#!/bin/bash | ||
|
||
# CURRENT_DIR=$(cd `dirname $0`; pwd) | ||
CURRENT_DIR=$(pwd) | ||
for model in $models; | ||
do | ||
echo "----- Downloading from https://huggingface.co/"$model" -----" | ||
if [ -d "$model" ]; then | ||
# cd $model && git reset --hard && git pull && git lfs pull | ||
cd $model && git pull && git lfs pull | ||
cd $CURRENT_DIR | ||
else | ||
# git clone 包含了lfs | ||
git clone https://huggingface.co/$model $model | ||
fi | ||
done | ||
# Set models and datasets to download | ||
models=( | ||
"nlpconnect/vit-gpt2-image-captioning" | ||
"lllyasviel/ControlNet" | ||
"lllyasviel/sd-controlnet-canny" | ||
"lllyasviel/sd-controlnet-depth" | ||
"lllyasviel/sd-controlnet-hed" | ||
"lllyasviel/sd-controlnet-mlsd" | ||
"lllyasviel/sd-controlnet-openpose" | ||
"lllyasviel/sd-controlnet-scribble" | ||
"lllyasviel/sd-controlnet-seg" | ||
"runwayml/stable-diffusion-v1-5" | ||
"damo-vilab/text-to-video-ms-1.7b" | ||
"microsoft/speecht5_asr" | ||
"JorisCos/DCCRNet_Libri1Mix_enhsingle_16k" | ||
"espnet/kan-bayashi_ljspeech_vits" | ||
"facebook/detr-resnet-101" | ||
"microsoft/speecht5_hifigan" | ||
"microsoft/speecht5_vc" | ||
"openai/whisper-base" | ||
"Intel/dpt-large" | ||
"facebook/detr-resnet-50-panoptic" | ||
"facebook/detr-resnet-50" | ||
"google/owlvit-base-patch32" | ||
"impira/layoutlm-document-qa" | ||
"ydshieh/vit-gpt2-coco-en" | ||
"dandelin/vilt-b32-finetuned-vqa" | ||
"lambdalabs/sd-image-variations-diffusers" | ||
"facebook/maskformer-swin-base-coco" | ||
"Intel/dpt-hybrid-midas" | ||
) | ||
datasets=("Matthijs/cmu-arctic-xvectors") | ||
|
||
datasets="Matthijs/cmu-arctic-xvectors" | ||
# Set the current directory | ||
CURRENT_DIR=$(pwd) | ||
|
||
for dataset in $datasets; | ||
do | ||
echo "----- Downloading from https://huggingface.co/datasets/"$dataset" -----" | ||
if [ -d "$dataset" ]; then | ||
cd $dataset && git pull && git lfs pull | ||
cd $CURRENT_DIR | ||
else | ||
git clone https://huggingface.co/datasets/$dataset $dataset | ||
fi | ||
# Download models | ||
for model in "${models[@]}"; do | ||
echo "----- Downloading from https://huggingface.co/${model} -----" | ||
if [ -d "${model}" ]; then | ||
(cd "${model}" && git pull && git lfs pull) | ||
else | ||
git clone --recurse-submodules "https://huggingface.co/${model}" "${model}" | ||
fi | ||
done | ||
|
||
# Download datasets | ||
for dataset in "${datasets[@]}"; do | ||
echo "----- Downloading from https://huggingface.co/datasets/${dataset} -----" | ||
if [ -d "${dataset}" ]; then | ||
(cd "${dataset}" && git pull && git lfs pull) | ||
else | ||
git clone --recurse-submodules "https://huggingface.co/datasets/${dataset}" "${dataset}" | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters