Upload folder using huggingface_hub
Browse files- .gitattributes +3 -0
- README.md +47 -0
- checkpoint-10000/controlnet/config.json +51 -0
- checkpoint-10000/controlnet/diffusion_pytorch_model.safetensors +3 -0
- checkpoint-10000/optimizer.bin +3 -0
- checkpoint-10000/random_states_0.pkl +3 -0
- checkpoint-10000/scheduler.bin +3 -0
- checkpoint-20000/controlnet/config.json +51 -0
- checkpoint-20000/controlnet/diffusion_pytorch_model.safetensors +3 -0
- checkpoint-20000/optimizer.bin +3 -0
- checkpoint-20000/random_states_0.pkl +3 -0
- checkpoint-20000/scheduler.bin +3 -0
- config.json +51 -0
- diffusion_pytorch_model.safetensors +3 -0
- image_control.png +0 -0
- images_0.png +3 -0
- images_1.png +3 -0
- images_2.png +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
images_0.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images_1.png filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images_2.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: creativeml-openrail-m
|
3 |
+
library_name: diffusers
|
4 |
+
tags:
|
5 |
+
- stable-diffusion
|
6 |
+
- stable-diffusion-diffusers
|
7 |
+
- text-to-image
|
8 |
+
- diffusers
|
9 |
+
- controlnet
|
10 |
+
- diffusers-training
|
11 |
+
base_model: runwayml/stable-diffusion-v1-5
|
12 |
+
inference: true
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
|
19 |
+
# controlnet-AmritaBha/sd15_mscoco
|
20 |
+
|
21 |
+
These are controlnet weights trained on runwayml/stable-diffusion-v1-5 with new type of conditioning.
|
22 |
+
You can find some example images below.
|
23 |
+
|
24 |
+
prompt: Create an image where the objects of each category have the corresponding colors:\nCategory: bowl, Colors: midnightblue (2,24,109), black (21,25,7), goldenrod (226,164,6), gold (246,225,13), sienna (161,90,20)\nCategory: broccoli, Colors: midnightblue (2,24,109), black (20,25,7), darkgreen (39,86,23), olivedrab (87,159,37), mediumseagreen (97,158,93)\nCategory: bowl, Colors: midnightblue (2,24,109), firebrick (172,17,30), mediumvioletred (202,49,114), khaki (248,240,161), gold (249,211,19)\nCategory: bowl, Colors: midnightblue (2,24,109), palevioletred (228,89,152), indianred (225,81,113), hotpink (242,115,200), maroon (110,30,29)\nCategory: orange, Colors: midnightblue (2,24,109), gold (252,213,8), orange (248,173,13), yellow (252,239,95), khaki (252,245,153)\n
|
25 |
+
![images_0)](./images_0.png)
|
26 |
+
prompt: Create an image where the objects of each category have the corresponding colors:\nCategory: giraffe, Colors: black (8,9,4), sandybrown (224,147,97), beige (250,247,226), navajowhite (246,212,168), sienna (158,92,46)\nCategory: giraffe, Colors: black (8,9,4), cornsilk (250,243,220), sienna (160,95,46), sienna (163,109,80), black (35,23,9)\n
|
27 |
+
![images_1)](./images_1.png)
|
28 |
+
prompt: Create an image where the objects of each category have the corresponding colors:\nCategory: potted plant, Colors: black (27,32,28), darkgray (173,177,167), lightgray (209,209,205), darkkhaki (152,152,104), silver (197,196,184)\nCategory: vase, Colors: black (27,32,28), darkgray (177,180,177), silver (202,201,197), silver (194,194,188), silver (188,194,184)\n
|
29 |
+
![images_2)](./images_2.png)
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
#### How to use
|
36 |
+
|
37 |
+
```python
|
38 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
39 |
+
```
|
40 |
+
|
41 |
+
#### Limitations and bias
|
42 |
+
|
43 |
+
[TODO: provide examples of latent issues and potential remediations]
|
44 |
+
|
45 |
+
## Training details
|
46 |
+
|
47 |
+
[TODO: describe the data used to train the model]
|
checkpoint-10000/controlnet/config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "ControlNetModel",
|
3 |
+
"_diffusers_version": "0.29.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"addition_embed_type": null,
|
6 |
+
"addition_embed_type_num_heads": 64,
|
7 |
+
"addition_time_embed_dim": null,
|
8 |
+
"attention_head_dim": 8,
|
9 |
+
"block_out_channels": [
|
10 |
+
320,
|
11 |
+
640,
|
12 |
+
1280,
|
13 |
+
1280
|
14 |
+
],
|
15 |
+
"class_embed_type": null,
|
16 |
+
"conditioning_channels": 3,
|
17 |
+
"conditioning_embedding_out_channels": [
|
18 |
+
16,
|
19 |
+
32,
|
20 |
+
96,
|
21 |
+
256
|
22 |
+
],
|
23 |
+
"controlnet_conditioning_channel_order": "rgb",
|
24 |
+
"cross_attention_dim": 768,
|
25 |
+
"down_block_types": [
|
26 |
+
"CrossAttnDownBlock2D",
|
27 |
+
"CrossAttnDownBlock2D",
|
28 |
+
"CrossAttnDownBlock2D",
|
29 |
+
"DownBlock2D"
|
30 |
+
],
|
31 |
+
"downsample_padding": 1,
|
32 |
+
"encoder_hid_dim": null,
|
33 |
+
"encoder_hid_dim_type": null,
|
34 |
+
"flip_sin_to_cos": true,
|
35 |
+
"freq_shift": 0,
|
36 |
+
"global_pool_conditions": false,
|
37 |
+
"in_channels": 4,
|
38 |
+
"layers_per_block": 2,
|
39 |
+
"mid_block_scale_factor": 1,
|
40 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
41 |
+
"norm_eps": 1e-05,
|
42 |
+
"norm_num_groups": 32,
|
43 |
+
"num_attention_heads": null,
|
44 |
+
"num_class_embeds": null,
|
45 |
+
"only_cross_attention": false,
|
46 |
+
"projection_class_embeddings_input_dim": null,
|
47 |
+
"resnet_time_scale_shift": "default",
|
48 |
+
"transformer_layers_per_block": 1,
|
49 |
+
"upcast_attention": false,
|
50 |
+
"use_linear_projection": false
|
51 |
+
}
|
checkpoint-10000/controlnet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd8317968d56f5a2e39da7a228d5da463d344bbbc5c577285ecda5d7f7b9078b
|
3 |
+
size 1445157120
|
checkpoint-10000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21c2e565c2e7c743a8b6392c33c278db3be958097e24dd75cdd835d43b8b9175
|
3 |
+
size 2890518478
|
checkpoint-10000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c38b106d2d2cc0ecee327e912e3ed31c86655abb01ff3653ce62087e6b7d51a4
|
3 |
+
size 15060
|
checkpoint-10000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c3545acd782fef9a3052d35e8588ad863cba8df6191a8d8b91634d123b7bb20e
|
3 |
+
size 1000
|
checkpoint-20000/controlnet/config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "ControlNetModel",
|
3 |
+
"_diffusers_version": "0.29.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"addition_embed_type": null,
|
6 |
+
"addition_embed_type_num_heads": 64,
|
7 |
+
"addition_time_embed_dim": null,
|
8 |
+
"attention_head_dim": 8,
|
9 |
+
"block_out_channels": [
|
10 |
+
320,
|
11 |
+
640,
|
12 |
+
1280,
|
13 |
+
1280
|
14 |
+
],
|
15 |
+
"class_embed_type": null,
|
16 |
+
"conditioning_channels": 3,
|
17 |
+
"conditioning_embedding_out_channels": [
|
18 |
+
16,
|
19 |
+
32,
|
20 |
+
96,
|
21 |
+
256
|
22 |
+
],
|
23 |
+
"controlnet_conditioning_channel_order": "rgb",
|
24 |
+
"cross_attention_dim": 768,
|
25 |
+
"down_block_types": [
|
26 |
+
"CrossAttnDownBlock2D",
|
27 |
+
"CrossAttnDownBlock2D",
|
28 |
+
"CrossAttnDownBlock2D",
|
29 |
+
"DownBlock2D"
|
30 |
+
],
|
31 |
+
"downsample_padding": 1,
|
32 |
+
"encoder_hid_dim": null,
|
33 |
+
"encoder_hid_dim_type": null,
|
34 |
+
"flip_sin_to_cos": true,
|
35 |
+
"freq_shift": 0,
|
36 |
+
"global_pool_conditions": false,
|
37 |
+
"in_channels": 4,
|
38 |
+
"layers_per_block": 2,
|
39 |
+
"mid_block_scale_factor": 1,
|
40 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
41 |
+
"norm_eps": 1e-05,
|
42 |
+
"norm_num_groups": 32,
|
43 |
+
"num_attention_heads": null,
|
44 |
+
"num_class_embeds": null,
|
45 |
+
"only_cross_attention": false,
|
46 |
+
"projection_class_embeddings_input_dim": null,
|
47 |
+
"resnet_time_scale_shift": "default",
|
48 |
+
"transformer_layers_per_block": 1,
|
49 |
+
"upcast_attention": false,
|
50 |
+
"use_linear_projection": false
|
51 |
+
}
|
checkpoint-20000/controlnet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f421ee5053536f0f082f4cd58bae313d3d5feaf590ad1a64b708de13ea440b63
|
3 |
+
size 1445157120
|
checkpoint-20000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4baa55316e57257ab7779c70b022ceda8a5a5d92597f28de528dd3392f0dc4cd
|
3 |
+
size 2890518478
|
checkpoint-20000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8150b4c5ef71a7745e97a232b3e76c4457a934dd4f155e1741d02fa1466f203
|
3 |
+
size 15060
|
checkpoint-20000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1aec95a32b0f0aabe00b8a456a9e94e8776824c7ecaab508b2923064e1ee18fb
|
3 |
+
size 1000
|
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "ControlNetModel",
|
3 |
+
"_diffusers_version": "0.29.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"addition_embed_type": null,
|
6 |
+
"addition_embed_type_num_heads": 64,
|
7 |
+
"addition_time_embed_dim": null,
|
8 |
+
"attention_head_dim": 8,
|
9 |
+
"block_out_channels": [
|
10 |
+
320,
|
11 |
+
640,
|
12 |
+
1280,
|
13 |
+
1280
|
14 |
+
],
|
15 |
+
"class_embed_type": null,
|
16 |
+
"conditioning_channels": 3,
|
17 |
+
"conditioning_embedding_out_channels": [
|
18 |
+
16,
|
19 |
+
32,
|
20 |
+
96,
|
21 |
+
256
|
22 |
+
],
|
23 |
+
"controlnet_conditioning_channel_order": "rgb",
|
24 |
+
"cross_attention_dim": 768,
|
25 |
+
"down_block_types": [
|
26 |
+
"CrossAttnDownBlock2D",
|
27 |
+
"CrossAttnDownBlock2D",
|
28 |
+
"CrossAttnDownBlock2D",
|
29 |
+
"DownBlock2D"
|
30 |
+
],
|
31 |
+
"downsample_padding": 1,
|
32 |
+
"encoder_hid_dim": null,
|
33 |
+
"encoder_hid_dim_type": null,
|
34 |
+
"flip_sin_to_cos": true,
|
35 |
+
"freq_shift": 0,
|
36 |
+
"global_pool_conditions": false,
|
37 |
+
"in_channels": 4,
|
38 |
+
"layers_per_block": 2,
|
39 |
+
"mid_block_scale_factor": 1,
|
40 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
41 |
+
"norm_eps": 1e-05,
|
42 |
+
"norm_num_groups": 32,
|
43 |
+
"num_attention_heads": null,
|
44 |
+
"num_class_embeds": null,
|
45 |
+
"only_cross_attention": false,
|
46 |
+
"projection_class_embeddings_input_dim": null,
|
47 |
+
"resnet_time_scale_shift": "default",
|
48 |
+
"transformer_layers_per_block": 1,
|
49 |
+
"upcast_attention": false,
|
50 |
+
"use_linear_projection": false
|
51 |
+
}
|
diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9b48e0064c7bbfdbbd32a00ed7824de1866bd3048ff07459ec527f153ab0643
|
3 |
+
size 1445157120
|
image_control.png
ADDED
images_0.png
ADDED
Git LFS Details
|
images_1.png
ADDED
Git LFS Details
|
images_2.png
ADDED
Git LFS Details
|