patrickvonplaten commited on
Commit
0dff2e1
·
1 Parent(s): 1fc704c

update config

Browse files
config.json CHANGED
@@ -1,48 +1,49 @@
1
  {
2
- "_class_name": "UNetUnconditionalModel",
3
  "_diffusers_version": "0.0.4",
4
- "attention_resolutions": [
5
- 8,
6
- 4,
7
- 2
8
- ],
9
- "attn_resolutions": [
10
- 16
11
- ],
12
  "block_channels": [
 
 
 
 
 
 
13
  32,
14
  64,
15
  64,
16
  64
17
  ],
18
  "center_input_sample": false,
19
- "conv_resample": true,
20
- "ddpm": false,
21
  "down_blocks": [
22
- "UNetResSkipDownBlock2D",
23
- "UNetResAttnSkipDownBlock2D",
24
- "UNetResSkipDownBlock2D",
25
- "UNetResSkipDownBlock2D"
26
  ],
27
  "downsample_padding": 1,
28
  "downscale_freq_shift": 0,
29
- "dropout": 0.0,
30
  "flip_sin_to_cos": true,
31
- "image_size": 32,
 
32
  "in_channels": 3,
33
- "ldm": false,
34
  "mid_block_scale_factor": 1.41421356237,
 
 
35
  "num_head_channels": 32,
36
- "num_res_blocks": 1,
37
  "out_channels": 3,
38
- "resnet_eps": 1e-06,
39
- "resnet_num_groups": null,
40
- "sde": false,
 
41
  "time_embedding_type": "fourier",
42
  "up_blocks": [
43
- "UNetResSkipUpBlock2D",
44
- "UNetResSkipUpBlock2D",
45
- "UNetResAttnSkipUpBlock2D",
46
- "UNetResSkipUpBlock2D"
47
  ]
48
  }
 
1
  {
2
+ "_class_name": "UNet2DModel",
3
  "_diffusers_version": "0.0.4",
4
+ "act_fn": "silu",
5
+ "attention_head_dim": 32,
 
 
 
 
 
 
6
  "block_channels": [
7
+ 224,
8
+ 448,
9
+ 672,
10
+ 896
11
+ ],
12
+ "block_out_channels": [
13
  32,
14
  64,
15
  64,
16
  64
17
  ],
18
  "center_input_sample": false,
 
 
19
  "down_blocks": [
20
+ "SkipDownBlock2D",
21
+ "AttnSkipDownBlock2D",
22
+ "SkipDownBlock2D",
23
+ "SkipDownBlock2D"
24
  ],
25
  "downsample_padding": 1,
26
  "downscale_freq_shift": 0,
 
27
  "flip_sin_to_cos": true,
28
+ "freq_shift": 0,
29
+ "image_size": null,
30
  "in_channels": 3,
31
+ "layers_per_block": 1,
32
  "mid_block_scale_factor": 1.41421356237,
33
+ "norm_eps": 1e-06,
34
+ "norm_num_groups": null,
35
  "num_head_channels": 32,
36
+ "num_res_blocks": null,
37
  "out_channels": 3,
38
+ "resnet_act_fn": "silu",
39
+ "resnet_eps": 1e-05,
40
+ "resnet_num_groups": 32,
41
+ "sample_size": 32,
42
  "time_embedding_type": "fourier",
43
  "up_blocks": [
44
+ "SkipUpBlock2D",
45
+ "SkipUpBlock2D",
46
+ "AttnSkipUpBlock2D",
47
+ "SkipUpBlock2D"
48
  ]
49
  }
diffusion_model.pt → diffusion_pytorch_model.bin RENAMED
File without changes