Commit ·
97b5953
1
Parent(s): 10e2852
Upload 47 files
Browse files- cldm_v15.yaml +79 -0
- cldm_v21.yaml +85 -0
- control_canny-fp16.safetensors +3 -0
- control_depth-fp16.safetensors +3 -0
- control_hed-fp16.safetensors +3 -0
- control_mlsd-fp16.safetensors +3 -0
- control_normal-fp16.safetensors +3 -0
- control_openpose-fp16.safetensors +3 -0
- control_scribble-fp16.safetensors +3 -0
- control_sd15_canny.yaml +79 -0
- control_sd15_depth.yaml +79 -0
- control_sd15_hed.yaml +79 -0
- control_sd15_mlsd.yaml +79 -0
- control_sd15_normal.yaml +79 -0
- control_sd15_openpose.yaml +79 -0
- control_sd15_scribble.yaml +79 -0
- control_sd15_seg.yaml +79 -0
- control_seg-fp16.safetensors +3 -0
- control_v11e_sd15_ip2p.yaml +79 -0
- control_v11e_sd15_shuffle.yaml +80 -0
- control_v11f1e_sd15_tile.yaml +79 -0
- control_v11f1p_sd15_depth.yaml +79 -0
- control_v11p_sd15_canny.yaml +79 -0
- control_v11p_sd15_inpaint.yaml +79 -0
- control_v11p_sd15_lineart.yaml +79 -0
- control_v11p_sd15_mlsd.yaml +79 -0
- control_v11p_sd15_normalbae.yaml +79 -0
- control_v11p_sd15_openpose.yaml +79 -0
- control_v11p_sd15_scribble.yaml +79 -0
- control_v11p_sd15_seg.yaml +79 -0
- control_v11p_sd15_softedge.yaml +79 -0
- control_v11p_sd15s2_lineart_anime.yaml +79 -0
- image_adapter_v14.yaml +9 -0
- sketch_adapter_v14.yaml +9 -0
- t2iadapter_canny-fp16.safetensors +3 -0
- t2iadapter_canny_sd14v1.yaml +9 -0
- t2iadapter_canny_sd15v2.yaml +9 -0
- t2iadapter_color_sd14v1.yaml +6 -0
- t2iadapter_depth_sd14v1.yaml +9 -0
- t2iadapter_depth_sd15v2.yaml +9 -0
- t2iadapter_keypose_sd14v1.yaml +9 -0
- t2iadapter_openpose_sd14v1.yaml +9 -0
- t2iadapter_seg_sd14v1.yaml +9 -0
- t2iadapter_sketch_sd14v1.yaml +9 -0
- t2iadapter_sketch_sd15v2.yaml +9 -0
- t2iadapter_style_sd14v1.yaml +8 -0
- t2iadapter_zoedepth_sd15v1.yaml +9 -0
cldm_v15.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
cldm_v21.yaml
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
use_checkpoint: True
|
| 25 |
+
image_size: 32 # unused
|
| 26 |
+
in_channels: 4
|
| 27 |
+
hint_channels: 3
|
| 28 |
+
model_channels: 320
|
| 29 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 30 |
+
num_res_blocks: 2
|
| 31 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 32 |
+
num_head_channels: 64 # need to fix for flash-attn
|
| 33 |
+
use_spatial_transformer: True
|
| 34 |
+
use_linear_in_transformer: True
|
| 35 |
+
transformer_depth: 1
|
| 36 |
+
context_dim: 1024
|
| 37 |
+
legacy: False
|
| 38 |
+
|
| 39 |
+
unet_config:
|
| 40 |
+
target: cldm.cldm.ControlledUnetModel
|
| 41 |
+
params:
|
| 42 |
+
use_checkpoint: True
|
| 43 |
+
image_size: 32 # unused
|
| 44 |
+
in_channels: 4
|
| 45 |
+
out_channels: 4
|
| 46 |
+
model_channels: 320
|
| 47 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 48 |
+
num_res_blocks: 2
|
| 49 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 50 |
+
num_head_channels: 64 # need to fix for flash-attn
|
| 51 |
+
use_spatial_transformer: True
|
| 52 |
+
use_linear_in_transformer: True
|
| 53 |
+
transformer_depth: 1
|
| 54 |
+
context_dim: 1024
|
| 55 |
+
legacy: False
|
| 56 |
+
|
| 57 |
+
first_stage_config:
|
| 58 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 59 |
+
params:
|
| 60 |
+
embed_dim: 4
|
| 61 |
+
monitor: val/rec_loss
|
| 62 |
+
ddconfig:
|
| 63 |
+
#attn_type: "vanilla-xformers"
|
| 64 |
+
double_z: true
|
| 65 |
+
z_channels: 4
|
| 66 |
+
resolution: 256
|
| 67 |
+
in_channels: 3
|
| 68 |
+
out_ch: 3
|
| 69 |
+
ch: 128
|
| 70 |
+
ch_mult:
|
| 71 |
+
- 1
|
| 72 |
+
- 2
|
| 73 |
+
- 4
|
| 74 |
+
- 4
|
| 75 |
+
num_res_blocks: 2
|
| 76 |
+
attn_resolutions: []
|
| 77 |
+
dropout: 0.0
|
| 78 |
+
lossconfig:
|
| 79 |
+
target: torch.nn.Identity
|
| 80 |
+
|
| 81 |
+
cond_stage_config:
|
| 82 |
+
target: ldm.modules.encoders.modules.FrozenOpenCLIPEmbedder
|
| 83 |
+
params:
|
| 84 |
+
freeze: True
|
| 85 |
+
layer: "penultimate"
|
control_canny-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2549278df9a7b3d7a6058f6cedb0ccf2ff09118054a0f7e6940bd6bcfa98557
|
| 3 |
+
size 722596338
|
control_depth-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0a50531fa706fec36899d8499f228dcc917583b2de87e2f44f3374684b5c9c3
|
| 3 |
+
size 722596338
|
control_hed-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f19bdd6e721adfd3b5474121a62716193581cdf45b8c0b8b48a0cc1d167e1a42
|
| 3 |
+
size 722596338
|
control_mlsd-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8513fa9c65046467ed1a575f5593ac3e05f4cdffc8f07bf5f3c075afe0ea3d9
|
| 3 |
+
size 722596338
|
control_normal-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e778bc30b7278aef1126b685a7ad2a4a0de6a5d8a29172cb5c9aab90e465096
|
| 3 |
+
size 722596338
|
control_openpose-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:337a30c5636697704370bd2413b43cebf1937abcdccc96f3525018ad5c220702
|
| 3 |
+
size 722596338
|
control_scribble-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b186c052c65a3281f5d0d2636f7d9ba4640b7697dc99ffa09cd9928236df13b6
|
| 3 |
+
size 722596338
|
control_sd15_canny.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_sd15_depth.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_sd15_hed.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_sd15_mlsd.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_sd15_normal.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_sd15_openpose.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_sd15_scribble.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_sd15_seg.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_seg-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8c735dccfafcacfc9a0d6c99783895ef8b70244b85170c4ac70f34077189f2e
|
| 3 |
+
size 722596338
|
control_v11e_sd15_ip2p.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11e_sd15_shuffle.yaml
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
global_average_pooling: True
|
| 21 |
+
|
| 22 |
+
control_stage_config:
|
| 23 |
+
target: cldm.cldm.ControlNet
|
| 24 |
+
params:
|
| 25 |
+
image_size: 32 # unused
|
| 26 |
+
in_channels: 4
|
| 27 |
+
hint_channels: 3
|
| 28 |
+
model_channels: 320
|
| 29 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 30 |
+
num_res_blocks: 2
|
| 31 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 32 |
+
num_heads: 8
|
| 33 |
+
use_spatial_transformer: True
|
| 34 |
+
transformer_depth: 1
|
| 35 |
+
context_dim: 768
|
| 36 |
+
use_checkpoint: True
|
| 37 |
+
legacy: False
|
| 38 |
+
|
| 39 |
+
unet_config:
|
| 40 |
+
target: cldm.cldm.ControlledUnetModel
|
| 41 |
+
params:
|
| 42 |
+
image_size: 32 # unused
|
| 43 |
+
in_channels: 4
|
| 44 |
+
out_channels: 4
|
| 45 |
+
model_channels: 320
|
| 46 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 47 |
+
num_res_blocks: 2
|
| 48 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 49 |
+
num_heads: 8
|
| 50 |
+
use_spatial_transformer: True
|
| 51 |
+
transformer_depth: 1
|
| 52 |
+
context_dim: 768
|
| 53 |
+
use_checkpoint: True
|
| 54 |
+
legacy: False
|
| 55 |
+
|
| 56 |
+
first_stage_config:
|
| 57 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 58 |
+
params:
|
| 59 |
+
embed_dim: 4
|
| 60 |
+
monitor: val/rec_loss
|
| 61 |
+
ddconfig:
|
| 62 |
+
double_z: true
|
| 63 |
+
z_channels: 4
|
| 64 |
+
resolution: 256
|
| 65 |
+
in_channels: 3
|
| 66 |
+
out_ch: 3
|
| 67 |
+
ch: 128
|
| 68 |
+
ch_mult:
|
| 69 |
+
- 1
|
| 70 |
+
- 2
|
| 71 |
+
- 4
|
| 72 |
+
- 4
|
| 73 |
+
num_res_blocks: 2
|
| 74 |
+
attn_resolutions: []
|
| 75 |
+
dropout: 0.0
|
| 76 |
+
lossconfig:
|
| 77 |
+
target: torch.nn.Identity
|
| 78 |
+
|
| 79 |
+
cond_stage_config:
|
| 80 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11f1e_sd15_tile.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11f1p_sd15_depth.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_canny.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_inpaint.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_lineart.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_mlsd.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_normalbae.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_openpose.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_scribble.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_seg.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15_softedge.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
control_v11p_sd15s2_lineart_anime.yaml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: cldm.cldm.ControlLDM
|
| 3 |
+
params:
|
| 4 |
+
linear_start: 0.00085
|
| 5 |
+
linear_end: 0.0120
|
| 6 |
+
num_timesteps_cond: 1
|
| 7 |
+
log_every_t: 200
|
| 8 |
+
timesteps: 1000
|
| 9 |
+
first_stage_key: "jpg"
|
| 10 |
+
cond_stage_key: "txt"
|
| 11 |
+
control_key: "hint"
|
| 12 |
+
image_size: 64
|
| 13 |
+
channels: 4
|
| 14 |
+
cond_stage_trainable: false
|
| 15 |
+
conditioning_key: crossattn
|
| 16 |
+
monitor: val/loss_simple_ema
|
| 17 |
+
scale_factor: 0.18215
|
| 18 |
+
use_ema: False
|
| 19 |
+
only_mid_control: False
|
| 20 |
+
|
| 21 |
+
control_stage_config:
|
| 22 |
+
target: cldm.cldm.ControlNet
|
| 23 |
+
params:
|
| 24 |
+
image_size: 32 # unused
|
| 25 |
+
in_channels: 4
|
| 26 |
+
hint_channels: 3
|
| 27 |
+
model_channels: 320
|
| 28 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 29 |
+
num_res_blocks: 2
|
| 30 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 31 |
+
num_heads: 8
|
| 32 |
+
use_spatial_transformer: True
|
| 33 |
+
transformer_depth: 1
|
| 34 |
+
context_dim: 768
|
| 35 |
+
use_checkpoint: True
|
| 36 |
+
legacy: False
|
| 37 |
+
|
| 38 |
+
unet_config:
|
| 39 |
+
target: cldm.cldm.ControlledUnetModel
|
| 40 |
+
params:
|
| 41 |
+
image_size: 32 # unused
|
| 42 |
+
in_channels: 4
|
| 43 |
+
out_channels: 4
|
| 44 |
+
model_channels: 320
|
| 45 |
+
attention_resolutions: [ 4, 2, 1 ]
|
| 46 |
+
num_res_blocks: 2
|
| 47 |
+
channel_mult: [ 1, 2, 4, 4 ]
|
| 48 |
+
num_heads: 8
|
| 49 |
+
use_spatial_transformer: True
|
| 50 |
+
transformer_depth: 1
|
| 51 |
+
context_dim: 768
|
| 52 |
+
use_checkpoint: True
|
| 53 |
+
legacy: False
|
| 54 |
+
|
| 55 |
+
first_stage_config:
|
| 56 |
+
target: ldm.models.autoencoder.AutoencoderKL
|
| 57 |
+
params:
|
| 58 |
+
embed_dim: 4
|
| 59 |
+
monitor: val/rec_loss
|
| 60 |
+
ddconfig:
|
| 61 |
+
double_z: true
|
| 62 |
+
z_channels: 4
|
| 63 |
+
resolution: 256
|
| 64 |
+
in_channels: 3
|
| 65 |
+
out_ch: 3
|
| 66 |
+
ch: 128
|
| 67 |
+
ch_mult:
|
| 68 |
+
- 1
|
| 69 |
+
- 2
|
| 70 |
+
- 4
|
| 71 |
+
- 4
|
| 72 |
+
num_res_blocks: 2
|
| 73 |
+
attn_resolutions: []
|
| 74 |
+
dropout: 0.0
|
| 75 |
+
lossconfig:
|
| 76 |
+
target: torch.nn.Identity
|
| 77 |
+
|
| 78 |
+
cond_stage_config:
|
| 79 |
+
target: ldm.modules.encoders.modules.FrozenCLIPEmbedder
|
image_adapter_v14.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 192
|
| 9 |
+
use_conv: false
|
sketch_adapter_v14.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 64
|
| 9 |
+
use_conv: false
|
t2iadapter_canny-fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92a0b00467470d64d704500a680c10830b1d93c683c815cf766bec085b694fef
|
| 3 |
+
size 154004748
|
t2iadapter_canny_sd14v1.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 64
|
| 9 |
+
use_conv: false
|
t2iadapter_canny_sd15v2.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 64
|
| 9 |
+
use_conv: false
|
t2iadapter_color_sd14v1.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: scripts.adapter.Adapter_light
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 4
|
| 6 |
+
cin: 192
|
t2iadapter_depth_sd14v1.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 192
|
| 9 |
+
use_conv: false
|
t2iadapter_depth_sd15v2.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 192
|
| 9 |
+
use_conv: false
|
t2iadapter_keypose_sd14v1.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 192
|
| 9 |
+
use_conv: false
|
t2iadapter_openpose_sd14v1.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 192
|
| 9 |
+
use_conv: false
|
t2iadapter_seg_sd14v1.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 192
|
| 9 |
+
use_conv: false
|
t2iadapter_sketch_sd14v1.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 64
|
| 9 |
+
use_conv: false
|
t2iadapter_sketch_sd15v2.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 64
|
| 9 |
+
use_conv: false
|
t2iadapter_style_sd14v1.yaml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: scripts.adapter.StyleAdapter
|
| 3 |
+
params:
|
| 4 |
+
width: 1024
|
| 5 |
+
context_dim: 768
|
| 6 |
+
num_head: 8
|
| 7 |
+
n_layes: 3
|
| 8 |
+
num_token: 8
|
t2iadapter_zoedepth_sd15v1.yaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
target: tencentarc.t21_adapter
|
| 3 |
+
params:
|
| 4 |
+
channels: [320, 640, 1280, 1280]
|
| 5 |
+
nums_rb: 2
|
| 6 |
+
ksize: 1
|
| 7 |
+
sk: true
|
| 8 |
+
cin: 192
|
| 9 |
+
use_conv: false
|