hosnasn commited on
Commit
33882fd
1 Parent(s): cf967e3

Update unet/config.json

Browse files
Files changed (1) hide show
  1. unet/config.json +4 -39
unet/config.json CHANGED
@@ -1,18 +1,9 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.21.1",
4
  "_name_or_path": "dreambooth-concept/unet",
5
  "act_fn": "silu",
6
- "addition_embed_type": null,
7
- "addition_embed_type_num_heads": 64,
8
- "addition_time_embed_dim": null,
9
- "attention_head_dim": [
10
- 5,
11
- 10,
12
- 20,
13
- 20
14
- ],
15
- "attention_type": "default",
16
  "block_out_channels": [
17
  320,
18
  640,
@@ -20,12 +11,7 @@
20
  1280
21
  ],
22
  "center_input_sample": false,
23
- "class_embed_type": null,
24
- "class_embeddings_concat": false,
25
- "conv_in_kernel": 3,
26
- "conv_out_kernel": 3,
27
- "cross_attention_dim": 1024,
28
- "cross_attention_norm": null,
29
  "down_block_types": [
30
  "CrossAttnDownBlock2D",
31
  "CrossAttnDownBlock2D",
@@ -33,40 +19,19 @@
33
  "DownBlock2D"
34
  ],
35
  "downsample_padding": 1,
36
- "dropout": 0.0,
37
- "dual_cross_attention": false,
38
- "encoder_hid_dim": null,
39
- "encoder_hid_dim_type": null,
40
  "flip_sin_to_cos": true,
41
  "freq_shift": 0,
42
  "in_channels": 4,
43
  "layers_per_block": 2,
44
- "mid_block_only_cross_attention": null,
45
  "mid_block_scale_factor": 1,
46
- "mid_block_type": "UNetMidBlock2DCrossAttn",
47
  "norm_eps": 1e-05,
48
  "norm_num_groups": 32,
49
- "num_attention_heads": null,
50
- "num_class_embeds": null,
51
- "only_cross_attention": false,
52
  "out_channels": 4,
53
- "projection_class_embeddings_input_dim": null,
54
- "resnet_out_scale_factor": 1.0,
55
- "resnet_skip_time_act": false,
56
- "resnet_time_scale_shift": "default",
57
  "sample_size": 64,
58
- "time_cond_proj_dim": null,
59
- "time_embedding_act_fn": null,
60
- "time_embedding_dim": null,
61
- "time_embedding_type": "positional",
62
- "timestep_post_act": null,
63
- "transformer_layers_per_block": 1,
64
  "up_block_types": [
65
  "UpBlock2D",
66
  "CrossAttnUpBlock2D",
67
  "CrossAttnUpBlock2D",
68
  "CrossAttnUpBlock2D"
69
- ],
70
- "upcast_attention": false,
71
- "use_linear_projection": true
72
  }
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.4.0.dev0",
4
  "_name_or_path": "dreambooth-concept/unet",
5
  "act_fn": "silu",
6
+ "attention_head_dim": 8,
 
 
 
 
 
 
 
 
 
7
  "block_out_channels": [
8
  320,
9
  640,
 
11
  1280
12
  ],
13
  "center_input_sample": false,
14
+ "cross_attention_dim": 768,
 
 
 
 
 
15
  "down_block_types": [
16
  "CrossAttnDownBlock2D",
17
  "CrossAttnDownBlock2D",
 
19
  "DownBlock2D"
20
  ],
21
  "downsample_padding": 1,
 
 
 
 
22
  "flip_sin_to_cos": true,
23
  "freq_shift": 0,
24
  "in_channels": 4,
25
  "layers_per_block": 2,
 
26
  "mid_block_scale_factor": 1,
 
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
 
 
 
29
  "out_channels": 4,
 
 
 
 
30
  "sample_size": 64,
 
 
 
 
 
 
31
  "up_block_types": [
32
  "UpBlock2D",
33
  "CrossAttnUpBlock2D",
34
  "CrossAttnUpBlock2D",
35
  "CrossAttnUpBlock2D"
36
+ ]
 
 
37
  }