ehristoforu commited on
Commit
899ac15
·
verified ·
1 Parent(s): 1bf1d0c

Update unet/config.json

Browse files
Files changed (1) hide show
  1. unet/config.json +18 -20
unet/config.json CHANGED
@@ -2,17 +2,15 @@
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.19.0",
4
  "act_fn": "silu",
5
- "addition_embed_type": "text_time",
6
  "addition_embed_type_num_heads": 64,
7
- "addition_time_embed_dim": 256,
8
- "attention_head_dim": [
9
- 5,
10
- 10,
11
- 20
12
- ],
13
  "block_out_channels": [
14
  320,
15
  640,
 
16
  1280
17
  ],
18
  "center_input_sample": false,
@@ -20,14 +18,16 @@
20
  "class_embeddings_concat": false,
21
  "conv_in_kernel": 3,
22
  "conv_out_kernel": 3,
23
- "cross_attention_dim": 2048,
24
  "cross_attention_norm": null,
25
  "down_block_types": [
26
- "DownBlock2D",
27
  "CrossAttnDownBlock2D",
28
- "CrossAttnDownBlock2D"
 
 
29
  ],
30
  "downsample_padding": 1,
 
31
  "dual_cross_attention": false,
32
  "encoder_hid_dim": null,
33
  "encoder_hid_dim_type": null,
@@ -44,26 +44,24 @@
44
  "num_class_embeds": null,
45
  "only_cross_attention": false,
46
  "out_channels": 4,
47
- "projection_class_embeddings_input_dim": 2816,
48
  "resnet_out_scale_factor": 1.0,
49
  "resnet_skip_time_act": false,
50
  "resnet_time_scale_shift": "default",
51
- "sample_size": 128,
 
52
  "time_cond_proj_dim": null,
53
  "time_embedding_act_fn": null,
54
  "time_embedding_dim": null,
55
  "time_embedding_type": "positional",
56
  "timestep_post_act": null,
57
- "transformer_layers_per_block": [
58
- 1,
59
- 2,
60
- 10
61
- ],
62
  "up_block_types": [
 
63
  "CrossAttnUpBlock2D",
64
  "CrossAttnUpBlock2D",
65
- "UpBlock2D"
66
  ],
67
- "upcast_attention": null,
68
- "use_linear_projection": true
69
  }
 
2
  "_class_name": "UNet2DConditionModel",
3
  "_diffusers_version": "0.19.0",
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
+ "attention_type": "default",
 
 
 
10
  "block_out_channels": [
11
  320,
12
  640,
13
+ 1280,
14
  1280
15
  ],
16
  "center_input_sample": false,
 
18
  "class_embeddings_concat": false,
19
  "conv_in_kernel": 3,
20
  "conv_out_kernel": 3,
21
+ "cross_attention_dim": 768,
22
  "cross_attention_norm": null,
23
  "down_block_types": [
 
24
  "CrossAttnDownBlock2D",
25
+ "CrossAttnDownBlock2D",
26
+ "CrossAttnDownBlock2D",
27
+ "DownBlock2D"
28
  ],
29
  "downsample_padding": 1,
30
+ "dropout": 0.0,
31
  "dual_cross_attention": false,
32
  "encoder_hid_dim": null,
33
  "encoder_hid_dim_type": null,
 
44
  "num_class_embeds": null,
45
  "only_cross_attention": false,
46
  "out_channels": 4,
47
+ "projection_class_embeddings_input_dim": null,
48
  "resnet_out_scale_factor": 1.0,
49
  "resnet_skip_time_act": false,
50
  "resnet_time_scale_shift": "default",
51
+ "reverse_transformer_layers_per_block": null,
52
+ "sample_size": 64,
53
  "time_cond_proj_dim": null,
54
  "time_embedding_act_fn": null,
55
  "time_embedding_dim": null,
56
  "time_embedding_type": "positional",
57
  "timestep_post_act": null,
58
+ "transformer_layers_per_block": 1,
 
 
 
 
59
  "up_block_types": [
60
+ "UpBlock2D",
61
  "CrossAttnUpBlock2D",
62
  "CrossAttnUpBlock2D",
63
+ "CrossAttnUpBlock2D"
64
  ],
65
+ "upcast_attention": false,
66
+ "use_linear_projection": false
67
  }