Kpenciler commited on
Commit
c1a9bce
1 Parent(s): 5acf4a0
model_index.json CHANGED
@@ -3,6 +3,6 @@
3
  "_diffusers_version": "0.16.1",
4
  "unet": [
5
  "diffusers",
6
- "UNet2DModel"
7
  ]
8
  }
 
3
  "_diffusers_version": "0.16.1",
4
  "unet": [
5
  "diffusers",
6
+ "UNet2DConditionModel"
7
  ]
8
  }
unet/config.json CHANGED
@@ -1,8 +1,9 @@
1
  {
2
- "_class_name": "UNet2DModel",
3
  "_diffusers_version": "0.16.1",
4
  "act_fn": "silu",
5
- "add_attention": true,
 
6
  "attention_head_dim": 8,
7
  "block_out_channels": [
8
  128,
@@ -12,29 +13,48 @@
12
  ],
13
  "center_input_sample": false,
14
  "class_embed_type": null,
 
 
 
 
 
15
  "down_block_types": [
16
- "DownBlock2D",
17
- "AttnDownBlock2D",
18
- "DownBlock2D",
19
  "DownBlock2D"
20
  ],
21
  "downsample_padding": 1,
 
 
22
  "flip_sin_to_cos": true,
23
  "freq_shift": 0,
24
  "in_channels": 3,
25
  "layers_per_block": 1,
 
26
  "mid_block_scale_factor": 1,
 
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
29
  "num_class_embeds": null,
 
30
  "out_channels": 3,
 
 
 
31
  "resnet_time_scale_shift": "default",
32
  "sample_size": 32,
 
 
 
33
  "time_embedding_type": "positional",
 
34
  "up_block_types": [
35
  "UpBlock2D",
36
- "UpBlock2D",
37
- "AttnUpBlock2D",
38
- "UpBlock2D"
39
- ]
 
 
40
  }
 
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
  128,
 
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",
24
+ "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": 3,
33
  "layers_per_block": 1,
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": 3,
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": 32,
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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c052dc1ed5a97f05438851c59b95f577f47037af0ef16f0f65fc6396d06e44c3
3
- size 75536489
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a06db737098c803e7c38b601ab2f4d2d78155f34d1426a84902fb1dbfd980e61
3
+ size 113783985