patrickvonplaten commited on
Commit
7a4db4c
1 Parent(s): 6be910c

update config

Browse files
config.json CHANGED
@@ -1 +1,49 @@
1
- {"_class_name": "UNetModel", "attn_resolutions": [16], "down_blocks": ["UNetResDownBlock2D", "UNetResAttnDownBlock2D", "UNetResDownBlock2D", "UNetResDownBlock2D"], "up_blocks": ["UNetResUpBlock2D", "UNetResUpBlock2D", "UNetResAttnUpBlock2D", "UNetResUpBlock2D"], "conv_resample": true, "downsample_padding": 0, "num_head_channels": null, "ch": 128, "ch_mult": [1, 2, 2, 2], "block_channels": [128, 256, 256, 256], "resnet_eps": 1e-06, "flip_sin_to_cos": false, "downscale_freq_shift": 1, "dropout": 0.1, "in_channels": 3, "out_channels": 3, "name_or_path": "./ddpm-cifar10/", "num_res_blocks": 2, "out_ch": 3, "resamp_with_conv": true, "resolution": 32, "image_size": 32}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DModel",
3
+ "_diffusers_version": "0.0.4",
4
+ "act_fn": "silu",
5
+ "attention_head_dim": null,
6
+ "block_channels": [
7
+ 224,
8
+ 448,
9
+ 672,
10
+ 896
11
+ ],
12
+ "block_out_channels": [
13
+ 128,
14
+ 256,
15
+ 256,
16
+ 256
17
+ ],
18
+ "center_input_sample": false,
19
+ "down_blocks": [
20
+ "DownBlock2D",
21
+ "AttnDownBlock2D",
22
+ "DownBlock2D",
23
+ "DownBlock2D"
24
+ ],
25
+ "downsample_padding": 0,
26
+ "downscale_freq_shift": 0,
27
+ "flip_sin_to_cos": false,
28
+ "freq_shift": 1,
29
+ "image_size": null,
30
+ "in_channels": 3,
31
+ "layers_per_block": 2,
32
+ "mid_block_scale_factor": 1,
33
+ "norm_eps": 1e-06,
34
+ "norm_num_groups": 32,
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": "positional",
43
+ "up_blocks": [
44
+ "UpBlock2D",
45
+ "UpBlock2D",
46
+ "AttnUpBlock2D",
47
+ "UpBlock2D"
48
+ ]
49
+ }
diffusion_model.pt → diffusion_pytorch_model.bin RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fe8dcda65d22ce50ed1087cc4db2e7369db3c519f8e6db1ee72491efd63c5dd1
3
- size 148401637
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47776d2547f63c91883ce5658f0b04833302fcb47b99bfec450d7ee046395c0b
3
+ size 143105265
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
  }