-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrun.sh
58 lines (53 loc) · 2.62 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/sh
# Image generation with prolific_dream 2d
### VSD
python prolific_dreamer2d.py \
--num_steps 500 --log_steps 72 \
--seed 1024 --lr 0.03 --phi_lr 0.0001 --use_t_phi true \
--model_path 'stabilityai/stable-diffusion-2-1-base' \
--loss_weight_type '1m_alphas_cumprod' --t_schedule 'random' \
--generation_mode 'vsd' \
--phi_model 'lora' --lora_scale 1. --lora_vprediction false \
--prompt "a photograph of an astronaut riding a horse" \
--height 512 --width 512 --batch_size 1 --guidance_scale 7.5 \
--log_progress true --save_x0 true --save_phi_model true \
# ### VSD multi particles
# python prolific_dreamer2d.py \
# --num_steps 1500 --log_steps 50 \
# --seed 1024 --lr 0.03 --phi_lr 0.0001 --use_t_phi true \
# --model_path 'stabilityai/stable-diffusion-2-1-base' \
# --loss_weight_type '1m_alphas_cumprod' --t_schedule 'random' \
# --generation_mode 'vsd' \
# --phi_model 'lora' --lora_scale 1. --lora_vprediction false \
# --prompt "a photograph of an astronaut riding a horse" \
# --height 512 --width 512 --batch_size 16 --guidance_scale 7.5 \
# --particle_num_vsd 2 --particle_num_phi 2 \
# --log_progress false --save_x0 false --save_phi_model true
# ### SDS
# python prolific_dreamer2d.py \
# --num_steps 500 --log_steps 50 --lr 0.03 \
# --model_path 'stabilityai/stable-diffusion-2-1-base' \
# --loss_weight_type '1m_alphas_cumprod' \
# --t_schedule random --generation_mode 'sds' \
# --prompt "a photograph of an astronaut riding a horse" \
# --height 512 --width 512 --batch_size 1 --guidance_scale 7.5 \
# --log_progress true --save_x0 true \
# # --half_inference true
# ### T2I
# python prolific_dreamer2d.py \
# --num_steps 100 --log_steps 20 --seed 1024 \
# --model_path 'stabilityai/stable-diffusion-2-1-base' \
# --generation_mode 't2i' \
# --prompt "a photograph of an astronaut riding a horse" \
# --height 512 --width 512 --batch_size 1 --guidance_scale 7.5 \
# --log_progress true --save_x0 true \
# --half_inference true
# ### DreamTime
# python prolific_dreamer2d.py \
# --num_steps 500 --log_steps 50 --lr 0.03 \
# --model_path 'stabilityai/stable-diffusion-2-1-base' \
# --loss_weight_type 'dreamtime' \
# --t_schedule dreamtime --generation_mode 'sds' \
# --prompt "a photograph of an astronaut riding a horse" \
# --height 512 --width 512 --batch_size 1 --guidance_scale 100 \
# --log_progress true --save_x0 true \