patrickvonplaten commited on
Commit
a4672d2
β€’
1 Parent(s): 16aa4b4

update config

Browse files
unet/config.json β†’ config.json RENAMED
@@ -1,40 +1,43 @@
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
  ],
16
  "center_input_sample": false,
17
- "conv_resample": true,
18
  "down_blocks": [
19
- "UNetResDownBlock2D",
20
- "UNetResAttnDownBlock2D"
21
  ],
22
  "downsample_padding": 0,
23
- "downscale_freq_shift": 1,
24
- "dropout": 0.0,
25
  "flip_sin_to_cos": false,
26
- "image_size": 32,
 
27
  "in_channels": 3,
 
28
  "mid_block_scale_factor": 1,
29
- "num_head_channels": 64,
30
- "num_res_blocks": 2,
 
 
31
  "out_channels": 3,
32
- "resnet_eps": 1e-06,
 
33
  "resnet_num_groups": 32,
34
- "sde": false,
35
  "time_embedding_type": "positional",
36
  "up_blocks": [
37
- "UNetResAttnUpBlock2D",
38
- "UNetResUpBlock2D"
39
  ]
40
  }
 
1
  {
2
+ "_class_name": "UNet2DModel",
3
  "_diffusers_version": "0.0.4",
4
+ "act_fn": "silu",
5
+ "attention_head_dim": 64,
 
 
 
 
 
 
6
  "block_channels": [
7
+ 224,
8
+ 448,
9
+ 672,
10
+ 896
11
+ ],
12
+ "block_out_channels": [
13
  32,
14
  64
15
  ],
16
  "center_input_sample": false,
 
17
  "down_blocks": [
18
+ "DownBlock2D",
19
+ "AttnDownBlock2D"
20
  ],
21
  "downsample_padding": 0,
22
+ "downscale_freq_shift": 0,
 
23
  "flip_sin_to_cos": false,
24
+ "freq_shift": 1,
25
+ "image_size": null,
26
  "in_channels": 3,
27
+ "layers_per_block": 2,
28
  "mid_block_scale_factor": 1,
29
+ "norm_eps": 1e-06,
30
+ "norm_num_groups": 32,
31
+ "num_head_channels": 32,
32
+ "num_res_blocks": null,
33
  "out_channels": 3,
34
+ "resnet_act_fn": "silu",
35
+ "resnet_eps": 1e-05,
36
  "resnet_num_groups": 32,
37
+ "sample_size": 32,
38
  "time_embedding_type": "positional",
39
  "up_blocks": [
40
+ "AttnUpBlock2D",
41
+ "UpBlock2D"
42
  ]
43
  }
unet/diffusion_model.pt β†’ diffusion_pytorch_model.bin RENAMED
File without changes
model_index.json CHANGED
@@ -7,6 +7,6 @@
7
  ],
8
  "unet": [
9
  "diffusers",
10
- "UNetUnconditionalModel"
11
  ]
12
  }
 
7
  ],
8
  "unet": [
9
  "diffusers",
10
+ "UNet2DModel"
11
  ]
12
  }
scheduler/scheduler_config.json β†’ scheduler_config.json RENAMED
File without changes