Commit
·
56aae09
1
Parent(s):
a6eaa35
up
Browse files- unet/config.json +33 -3
- unet/diffusion_pytorch_model.bin +2 -2
unet/config.json
CHANGED
|
@@ -1,23 +1,53 @@
|
|
| 1 |
{
|
| 2 |
-
"_class_name": "
|
| 3 |
-
"_diffusers_version": "0.
|
|
|
|
|
|
|
| 4 |
"attention_head_dim": 8,
|
| 5 |
"block_out_channels": [
|
| 6 |
32,
|
| 7 |
64
|
| 8 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"cross_attention_dim": 32,
|
|
|
|
| 10 |
"down_block_types": [
|
| 11 |
"DownBlock2D",
|
| 12 |
"CrossAttnDownBlock2D"
|
| 13 |
],
|
|
|
|
| 14 |
"dropout": 0.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
"in_channels": 8,
|
| 16 |
"layers_per_block": 2,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
"out_channels": 4,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
"sample_size": 32,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
"up_block_types": [
|
| 20 |
"CrossAttnUpBlock2D",
|
| 21 |
"UpBlock2D"
|
| 22 |
-
]
|
|
|
|
|
|
|
| 23 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.16.0.dev0",
|
| 4 |
+
"_name_or_path": "/home/patrick/tiny-stable-diffusion-pix2pix/unet/",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
"attention_head_dim": 8,
|
| 7 |
"block_out_channels": [
|
| 8 |
32,
|
| 9 |
64
|
| 10 |
],
|
| 11 |
+
"center_input_sample": false,
|
| 12 |
+
"class_embed_type": null,
|
| 13 |
+
"class_embeddings_concat": false,
|
| 14 |
+
"conv_in_kernel": 3,
|
| 15 |
+
"conv_out_kernel": 3,
|
| 16 |
"cross_attention_dim": 32,
|
| 17 |
+
"cross_attention_norm": null,
|
| 18 |
"down_block_types": [
|
| 19 |
"DownBlock2D",
|
| 20 |
"CrossAttnDownBlock2D"
|
| 21 |
],
|
| 22 |
+
"downsample_padding": 1,
|
| 23 |
"dropout": 0.0,
|
| 24 |
+
"dual_cross_attention": false,
|
| 25 |
+
"encoder_hid_dim": null,
|
| 26 |
+
"flip_sin_to_cos": true,
|
| 27 |
+
"freq_shift": 0,
|
| 28 |
"in_channels": 8,
|
| 29 |
"layers_per_block": 2,
|
| 30 |
+
"mid_block_only_cross_attention": null,
|
| 31 |
+
"mid_block_scale_factor": 1,
|
| 32 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
| 33 |
+
"norm_eps": 1e-05,
|
| 34 |
+
"norm_num_groups": 32,
|
| 35 |
+
"num_class_embeds": null,
|
| 36 |
+
"only_cross_attention": false,
|
| 37 |
"out_channels": 4,
|
| 38 |
+
"projection_class_embeddings_input_dim": null,
|
| 39 |
+
"resnet_out_scale_factor": 1.0,
|
| 40 |
+
"resnet_skip_time_act": false,
|
| 41 |
+
"resnet_time_scale_shift": "default",
|
| 42 |
"sample_size": 32,
|
| 43 |
+
"time_cond_proj_dim": null,
|
| 44 |
+
"time_embedding_act_fn": null,
|
| 45 |
+
"time_embedding_type": "positional",
|
| 46 |
+
"timestep_post_act": null,
|
| 47 |
"up_block_types": [
|
| 48 |
"CrossAttnUpBlock2D",
|
| 49 |
"UpBlock2D"
|
| 50 |
+
],
|
| 51 |
+
"upcast_attention": false,
|
| 52 |
+
"use_linear_projection": false
|
| 53 |
}
|
unet/diffusion_pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc95d2967ea57a11e0975646aca6ff2cc36a906ff60b4cfdb4388b5b2beea6f6
|
| 3 |
+
size 5834753
|