wdcqc commited on
Commit
9737116
1 Parent(s): 4716e99

Upload config.json

Browse files
Files changed (1) hide show
  1. unet/config.json +45 -0
unet/config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.12.0.dev0",
4
+ "_name_or_path": "runwayml/stable-diffusion-v1-5\\unet",
5
+ "act_fn": "silu",
6
+ "attention_head_dim": 8,
7
+ "block_out_channels": [
8
+ 320,
9
+ 640,
10
+ 1280,
11
+ 1280
12
+ ],
13
+ "center_input_sample": false,
14
+ "class_embed_type": null,
15
+ "cross_attention_dim": 768,
16
+ "down_block_types": [
17
+ "CrossAttnDownBlock2D",
18
+ "CrossAttnDownBlock2D",
19
+ "CrossAttnDownBlock2D",
20
+ "DownBlock2D"
21
+ ],
22
+ "downsample_padding": 1,
23
+ "dual_cross_attention": false,
24
+ "flip_sin_to_cos": true,
25
+ "freq_shift": 0,
26
+ "in_channels": 4,
27
+ "layers_per_block": 2,
28
+ "mid_block_scale_factor": 1,
29
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
30
+ "norm_eps": 1e-05,
31
+ "norm_num_groups": 32,
32
+ "num_class_embeds": null,
33
+ "only_cross_attention": false,
34
+ "out_channels": 4,
35
+ "resnet_time_scale_shift": "default",
36
+ "sample_size": 64,
37
+ "up_block_types": [
38
+ "UpBlock2D",
39
+ "CrossAttnUpBlock2D",
40
+ "CrossAttnUpBlock2D",
41
+ "CrossAttnUpBlock2D"
42
+ ],
43
+ "upcast_attention": false,
44
+ "use_linear_projection": false
45
+ }