colt12 commited on
Commit
b2a291a
·
verified ·
1 Parent(s): 5545537

Create unet/config.json

Browse files
Files changed (1) hide show
  1. unet/config.json +37 -0
unet/config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.26.0",
4
+ "act_fn": "silu",
5
+ "attention_head_dim": 64,
6
+ "block_out_channels": [320, 640, 1280, 1280],
7
+ "center_input_sample": false,
8
+ "class_embed_type": null,
9
+ "conv_in_kernel": 3,
10
+ "conv_out_kernel": 3,
11
+ "cross_attention_dim": 2048,
12
+ "down_block_types": [
13
+ "CrossAttnDownBlock2D",
14
+ "CrossAttnDownBlock2D",
15
+ "CrossAttnDownBlock2D",
16
+ "DownBlock2D"
17
+ ],
18
+ "dropout": 0.0,
19
+ "flip_sin_to_cos": true,
20
+ "freq_shift": 0,
21
+ "in_channels": 4,
22
+ "layers_per_block": 2,
23
+ "mid_block_scale_factor": 1,
24
+ "model_type": "UNet2DConditionModel",
25
+ "norm_eps": 1e-05,
26
+ "norm_num_groups": 32,
27
+ "out_channels": 4,
28
+ "sample_size": 64,
29
+ "up_block_types": [
30
+ "UpBlock2D",
31
+ "CrossAttnUpBlock2D",
32
+ "CrossAttnUpBlock2D",
33
+ "CrossAttnUpBlock2D"
34
+ ],
35
+ "use_linear_projection": true,
36
+ "use_memory_efficient_attention": false
37
+ }