andregn commited on
Commit
5fc991b
1 Parent(s): fdf5064

unet improve

Browse files
unet/config.json CHANGED
@@ -1,7 +1,9 @@
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
- "_diffusers_version": "0.6.0.dev0",
4
  "act_fn": "silu",
 
 
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
7
  320,
@@ -10,7 +12,12 @@
10
  1280
11
  ],
12
  "center_input_sample": false,
 
 
 
 
13
  "cross_attention_dim": 768,
 
14
  "down_block_types": [
15
  "CrossAttnDownBlock2D",
16
  "CrossAttnDownBlock2D",
@@ -18,19 +25,36 @@
18
  "DownBlock2D"
19
  ],
20
  "downsample_padding": 1,
 
 
21
  "flip_sin_to_cos": true,
22
  "freq_shift": 0,
23
  "in_channels": 9,
24
  "layers_per_block": 2,
 
25
  "mid_block_scale_factor": 1,
 
26
  "norm_eps": 1e-05,
27
  "norm_num_groups": 32,
 
 
28
  "out_channels": 4,
 
 
 
 
29
  "sample_size": 64,
 
 
 
 
 
30
  "up_block_types": [
31
  "UpBlock2D",
32
  "CrossAttnUpBlock2D",
33
  "CrossAttnUpBlock2D",
34
  "CrossAttnUpBlock2D"
35
- ]
 
 
36
  }
 
1
  {
2
  "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.16.1",
4
  "act_fn": "silu",
5
+ "addition_embed_type": null,
6
+ "addition_embed_type_num_heads": 64,
7
  "attention_head_dim": 8,
8
  "block_out_channels": [
9
  320,
 
12
  1280
13
  ],
14
  "center_input_sample": false,
15
+ "class_embed_type": null,
16
+ "class_embeddings_concat": false,
17
+ "conv_in_kernel": 3,
18
+ "conv_out_kernel": 3,
19
  "cross_attention_dim": 768,
20
+ "cross_attention_norm": null,
21
  "down_block_types": [
22
  "CrossAttnDownBlock2D",
23
  "CrossAttnDownBlock2D",
 
25
  "DownBlock2D"
26
  ],
27
  "downsample_padding": 1,
28
+ "dual_cross_attention": false,
29
+ "encoder_hid_dim": null,
30
  "flip_sin_to_cos": true,
31
  "freq_shift": 0,
32
  "in_channels": 9,
33
  "layers_per_block": 2,
34
+ "mid_block_only_cross_attention": null,
35
  "mid_block_scale_factor": 1,
36
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
37
  "norm_eps": 1e-05,
38
  "norm_num_groups": 32,
39
+ "num_class_embeds": null,
40
+ "only_cross_attention": false,
41
  "out_channels": 4,
42
+ "projection_class_embeddings_input_dim": null,
43
+ "resnet_out_scale_factor": 1.0,
44
+ "resnet_skip_time_act": false,
45
+ "resnet_time_scale_shift": "default",
46
  "sample_size": 64,
47
+ "time_cond_proj_dim": null,
48
+ "time_embedding_act_fn": null,
49
+ "time_embedding_dim": null,
50
+ "time_embedding_type": "positional",
51
+ "timestep_post_act": null,
52
  "up_block_types": [
53
  "UpBlock2D",
54
  "CrossAttnUpBlock2D",
55
  "CrossAttnUpBlock2D",
56
  "CrossAttnUpBlock2D"
57
+ ],
58
+ "upcast_attention": false,
59
+ "use_linear_projection": false
60
  }
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63692153675d112389b4ad7adc3b8cebab20902dfaa942bc3eef16a6489bab0f
3
+ size 1719353253
unet/{diffusion_pytorch_model.fp16.safetensors → diffusion_pytorch_model_old.fp16.safetensors} RENAMED
File without changes