09cdd0d3a38613ae3ca10d13d44d640861e459aae7c2895236a4815a08109be0
Browse files- extensions/microsoftexcel-controlnet/models/control_v11p_sd15s2_lineart_anime.safetensors +3 -0
- extensions/microsoftexcel-controlnet/models/control_v11p_sd15s2_lineart_anime.yaml +79 -0
- extensions/microsoftexcel-controlnet/models/diff_control_sd15_temporalnet_fp16.safetensors +3 -0
- extensions/microsoftexcel-controlnet/models/image_adapter_v14.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/sketch_adapter_v14.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd15v2.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.yaml +6 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd15v2.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth +3 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd15v2.yaml +9 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth +3 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.yaml +8 -0
- extensions/microsoftexcel-controlnet/models/t2iadapter_zoedepth_sd15v1.yaml +9 -0
- extensions/microsoftexcel-controlnet/preload.py +12 -0
- extensions/microsoftexcel-controlnet/requirements.txt +3 -0
- extensions/microsoftexcel-controlnet/samples/an-gen.png +0 -0
- extensions/microsoftexcel-controlnet/samples/an-pose.png +0 -0
- extensions/microsoftexcel-controlnet/samples/an-source.jpg +0 -0
- extensions/microsoftexcel-controlnet/samples/bal-gen.png +0 -0
- extensions/microsoftexcel-controlnet/samples/bal-source.png +0 -0
- extensions/microsoftexcel-controlnet/samples/cm1.png +0 -0
- extensions/microsoftexcel-controlnet/samples/cm2.png +0 -0
- extensions/microsoftexcel-controlnet/samples/cm3.png +0 -0
- extensions/microsoftexcel-controlnet/samples/cm4.png +0 -0
- extensions/microsoftexcel-controlnet/samples/dog_rel.jpg +0 -0
- extensions/microsoftexcel-controlnet/samples/dog_rel.png +0 -0
- extensions/microsoftexcel-controlnet/samples/evt_gen.png +0 -0
- extensions/microsoftexcel-controlnet/samples/evt_hed.png +0 -0
- extensions/microsoftexcel-controlnet/samples/evt_source.jpg +0 -0
- extensions/microsoftexcel-controlnet/samples/mahiro-out.png +0 -0
- extensions/microsoftexcel-controlnet/samples/mahiro_canny.png +0 -0
- extensions/microsoftexcel-controlnet/samples/mahiro_input.png +0 -0
- extensions/microsoftexcel-controlnet/samples/ref.png +0 -0
- extensions/microsoftexcel-controlnet/samples/sk-b-dep.png +0 -0
- extensions/microsoftexcel-controlnet/samples/sk-b-out.png +0 -0
- extensions/microsoftexcel-controlnet/samples/sk-b-src.png +0 -0
- extensions/microsoftexcel-controlnet/scripts/__pycache__/adapter.cpython-310.pyc +0 -0
- extensions/microsoftexcel-controlnet/scripts/__pycache__/api.cpython-310.pyc +0 -0
- extensions/microsoftexcel-controlnet/scripts/__pycache__/batch_hijack.cpython-310.pyc +0 -0
- extensions/microsoftexcel-controlnet/scripts/__pycache__/cldm.cpython-310.pyc +0 -0
- extensions/microsoftexcel-controlnet/scripts/__pycache__/controlnet.cpython-310.pyc +0 -0
- extensions/microsoftexcel-controlnet/scripts/__pycache__/controlnet_version.cpython-310.pyc +0 -0
- extensions/microsoftexcel-controlnet/scripts/__pycache__/external_code.cpython-310.pyc +0 -0
- extensions/microsoftexcel-controlnet/scripts/__pycache__/global_state.cpython-310.pyc +0 -0
extensions/microsoftexcel-controlnet/models/control_v11p_sd15s2_lineart_anime.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:067bf845109afdd1049bd9553d44faed1ad53691bd6b5ac9ee31c87466ef7c27
|
3 |
+
size 722601100
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/diff_control_sd15_temporalnet_fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e6289975e7b5398ad6cf0fc60102233c48f1efc0314927f8f230944335ac0a1
|
3 |
+
size 722601177
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e006de134c9db86d1d44e6f13783e0846a78879afa3bd6f73feb3d7f6a5715b1
|
3 |
+
size 308013107
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b41febaddb32c4338272b9ad78b7d2b2584749ca5750d6b1d972766eb2fb731b
|
3 |
+
size 154363687
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/models/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
|
extensions/microsoftexcel-controlnet/preload.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
def preload(parser):
|
2 |
+
parser.add_argument("--controlnet-dir", type=str, help="Path to directory with ControlNet models", default=None)
|
3 |
+
parser.add_argument("--controlnet-annotator-models-path", type=str, help="Path to directory with annotator model directories", default=None)
|
4 |
+
parser.add_argument("--no-half-controlnet", action='store_true', help="do not switch the ControlNet models to 16-bit floats (only needed without --no-half)", default=None)
|
5 |
+
# Setting default max_size=16 as each cache entry contains image as both key
|
6 |
+
# and value (Very costly).
|
7 |
+
parser.add_argument(
|
8 |
+
"--controlnet-preprocessor-cache-size",
|
9 |
+
type=int,
|
10 |
+
help="Cache size for controlnet preprocessor results",
|
11 |
+
default=16,
|
12 |
+
)
|
extensions/microsoftexcel-controlnet/requirements.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
mediapipe
|
2 |
+
svglib
|
3 |
+
fvcore
|
extensions/microsoftexcel-controlnet/samples/an-gen.png
ADDED
extensions/microsoftexcel-controlnet/samples/an-pose.png
ADDED
extensions/microsoftexcel-controlnet/samples/an-source.jpg
ADDED
extensions/microsoftexcel-controlnet/samples/bal-gen.png
ADDED
extensions/microsoftexcel-controlnet/samples/bal-source.png
ADDED
extensions/microsoftexcel-controlnet/samples/cm1.png
ADDED
extensions/microsoftexcel-controlnet/samples/cm2.png
ADDED
extensions/microsoftexcel-controlnet/samples/cm3.png
ADDED
extensions/microsoftexcel-controlnet/samples/cm4.png
ADDED
extensions/microsoftexcel-controlnet/samples/dog_rel.jpg
ADDED
extensions/microsoftexcel-controlnet/samples/dog_rel.png
ADDED
extensions/microsoftexcel-controlnet/samples/evt_gen.png
ADDED
extensions/microsoftexcel-controlnet/samples/evt_hed.png
ADDED
extensions/microsoftexcel-controlnet/samples/evt_source.jpg
ADDED
extensions/microsoftexcel-controlnet/samples/mahiro-out.png
ADDED
extensions/microsoftexcel-controlnet/samples/mahiro_canny.png
ADDED
extensions/microsoftexcel-controlnet/samples/mahiro_input.png
ADDED
extensions/microsoftexcel-controlnet/samples/ref.png
ADDED
extensions/microsoftexcel-controlnet/samples/sk-b-dep.png
ADDED
extensions/microsoftexcel-controlnet/samples/sk-b-out.png
ADDED
extensions/microsoftexcel-controlnet/samples/sk-b-src.png
ADDED
extensions/microsoftexcel-controlnet/scripts/__pycache__/adapter.cpython-310.pyc
ADDED
Binary file (12.9 kB). View file
|
|
extensions/microsoftexcel-controlnet/scripts/__pycache__/api.cpython-310.pyc
ADDED
Binary file (3.65 kB). View file
|
|
extensions/microsoftexcel-controlnet/scripts/__pycache__/batch_hijack.cpython-310.pyc
ADDED
Binary file (7.01 kB). View file
|
|
extensions/microsoftexcel-controlnet/scripts/__pycache__/cldm.cpython-310.pyc
ADDED
Binary file (9.48 kB). View file
|
|
extensions/microsoftexcel-controlnet/scripts/__pycache__/controlnet.cpython-310.pyc
ADDED
Binary file (28.8 kB). View file
|
|
extensions/microsoftexcel-controlnet/scripts/__pycache__/controlnet_version.cpython-310.pyc
ADDED
Binary file (244 Bytes). View file
|
|
extensions/microsoftexcel-controlnet/scripts/__pycache__/external_code.cpython-310.pyc
ADDED
Binary file (10.4 kB). View file
|
|
extensions/microsoftexcel-controlnet/scripts/__pycache__/global_state.cpython-310.pyc
ADDED
Binary file (7.72 kB). View file
|
|