Skip to content

Commit 375984b

Browse files
committed
downloads
1 parent 8864e86 commit 375984b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

examples/research_projects/gligen/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ pip install git+https://github.com/xinyu1205/recognize-anything.git --no-deps
4747
Download the pre-trained model:
4848

4949
```bash
50-
huggingface-cli download --resume-download xinyu1205/recognize_anything_model ram_swin_large_14m.pth
51-
huggingface-cli download --resume-download IDEA-Research/grounding-dino-base
52-
huggingface-cli download --resume-download Salesforce/blip2-flan-t5-xxl
53-
huggingface-cli download --resume-download clip-vit-large-patch14
54-
huggingface-cli download --resume-download masterful/gligen-1-4-generation-text-box
50+
hf download --resume-download xinyu1205/recognize_anything_model ram_swin_large_14m.pth
51+
hf download --resume-download IDEA-Research/grounding-dino-base
52+
hf download --resume-download Salesforce/blip2-flan-t5-xxl
53+
hf download --resume-download clip-vit-large-patch14
54+
hf download --resume-download masterful/gligen-1-4-generation-text-box
5555
```
5656

5757
Make the training data on 8 GPUs:
@@ -66,7 +66,7 @@ torchrun --master_port 17673 --nproc_per_node=8 make_datasets.py \
6666
You can download the COCO training data from
6767

6868
```bash
69-
huggingface-cli download --resume-download Hzzone/GLIGEN_COCO coco_train2017.pth
69+
hf download --resume-download Hzzone/GLIGEN_COCO coco_train2017.pth
7070
```
7171

7272
It's in the format of
@@ -125,7 +125,7 @@ Note that although the pre-trained GLIGEN model has been loaded, the parameters
125125
The trained model can be downloaded from
126126

127127
```bash
128-
huggingface-cli download --resume-download Hzzone/GLIGEN_COCO config.json diffusion_pytorch_model.safetensors
128+
hf download --resume-download Hzzone/GLIGEN_COCO config.json diffusion_pytorch_model.safetensors
129129
```
130130

131131
You can run `demo.ipynb` to visualize the generated images.

examples/research_projects/sana/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mkdir -p $your_local_path # Create the directory if it doesn't exist
1919
Download the SANA Sprint teacher model from Hugging Face Hub. The script uses the 1.6B parameter model.
2020

2121
```bash
22-
huggingface-cli download Efficient-Large-Model/SANA_Sprint_1.6B_1024px_teacher_diffusers --local-dir $your_local_path/SANA_Sprint_1.6B_1024px_teacher_diffusers
22+
hf download Efficient-Large-Model/SANA_Sprint_1.6B_1024px_teacher_diffusers --local-dir $your_local_path/SANA_Sprint_1.6B_1024px_teacher_diffusers
2323
```
2424

2525
*(Optional: You can also download the 0.6B model by replacing the model name: `Efficient-Large-Model/Sana_Sprint_0.6B_1024px_teacher_diffusers`)*

examples/research_projects/sana/train_sana_sprint_diffusers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
your_local_path='output'
22

3-
huggingface-cli download Efficient-Large-Model/SANA_Sprint_1.6B_1024px_teacher_diffusers --local-dir $your_local_path/SANA_Sprint_1.6B_1024px_teacher_diffusers
3+
hf download Efficient-Large-Model/SANA_Sprint_1.6B_1024px_teacher_diffusers --local-dir $your_local_path/SANA_Sprint_1.6B_1024px_teacher_diffusers
44

55
# or Sana_Sprint_0.6B_1024px_teacher_diffusers
66

0 commit comments

Comments
 (0)