RajputVansh commited on
Commit
e6ea546
·
verified ·
1 Parent(s): 3dd3fdd

Update unet/config.json

Browse files
Files changed (1) hide show
  1. unet/config.json +10 -9
unet/config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.33.1",
4
- "_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
5
  "act_fn": "silu",
6
  "addition_embed_type": "text_time",
7
  "addition_embed_type_num_heads": 64,
@@ -11,7 +10,6 @@
11
  10,
12
  20
13
  ],
14
- "attention_type": "default",
15
  "block_out_channels": [
16
  320,
17
  640,
@@ -30,7 +28,6 @@
30
  "CrossAttnDownBlock2D"
31
  ],
32
  "downsample_padding": 1,
33
- "dropout": 0.0,
34
  "dual_cross_attention": false,
35
  "encoder_hid_dim": null,
36
  "encoder_hid_dim_type": null,
@@ -40,7 +37,7 @@
40
  "layers_per_block": 2,
41
  "mid_block_only_cross_attention": null,
42
  "mid_block_scale_factor": 1,
43
- "mid_block_type": "UNetMidBlock2DCrossAttn",
44
  "norm_eps": 1e-05,
45
  "norm_num_groups": 32,
46
  "num_attention_heads": null,
@@ -51,7 +48,6 @@
51
  "resnet_out_scale_factor": 1.0,
52
  "resnet_skip_time_act": false,
53
  "resnet_time_scale_shift": "default",
54
- "reverse_transformer_layers_per_block": null,
55
  "sample_size": 128,
56
  "time_cond_proj_dim": null,
57
  "time_embedding_act_fn": null,
@@ -59,9 +55,14 @@
59
  "time_embedding_type": "positional",
60
  "timestep_post_act": null,
61
  "transformer_layers_per_block": [
62
- 1,
63
- 2,
64
- 10
 
 
 
 
 
65
  ],
66
  "up_block_types": [
67
  "CrossAttnUpBlock2D",
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.19.0.dev0",
 
4
  "act_fn": "silu",
5
  "addition_embed_type": "text_time",
6
  "addition_embed_type_num_heads": 64,
 
10
  10,
11
  20
12
  ],
 
13
  "block_out_channels": [
14
  320,
15
  640,
 
28
  "CrossAttnDownBlock2D"
29
  ],
30
  "downsample_padding": 1,
 
31
  "dual_cross_attention": false,
32
  "encoder_hid_dim": null,
33
  "encoder_hid_dim_type": null,
 
37
  "layers_per_block": 2,
38
  "mid_block_only_cross_attention": null,
39
  "mid_block_scale_factor": 1,
40
+ "mid_block_type": "UNetMidBlock2D",
41
  "norm_eps": 1e-05,
42
  "norm_num_groups": 32,
43
  "num_attention_heads": null,
 
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,
 
55
  "time_embedding_type": "positional",
56
  "timestep_post_act": null,
57
  "transformer_layers_per_block": [
58
+ [1],
59
+ [2,2],
60
+ [4,4]
61
+ ],
62
+ "reverse_transformer_layers_per_block": [
63
+ [4,4,10],
64
+ [2,1,1],
65
+ 1
66
  ],
67
  "up_block_types": [
68
  "CrossAttnUpBlock2D",