Update config.json
Browse files- config.json +38 -10
config.json
CHANGED
|
@@ -2,18 +2,46 @@
|
|
| 2 |
"_class_name": "UNet2DModel",
|
| 3 |
"_diffusers_version": "0.29.2",
|
| 4 |
"_name_or_path": "google/ddpm-cifar10-32",
|
| 5 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"in_channels": 3,
|
| 7 |
-
"out_channels": 3,
|
| 8 |
"layers_per_block": 2,
|
| 9 |
-
"block_out_channels": [128, 256, 256, 256],
|
| 10 |
-
"down_block_types": ["DownBlock2D", "AttnDownBlock2D", "DownBlock2D", "DownBlock2D"],
|
| 11 |
-
"up_block_types": ["UpBlock2D", "UpBlock2D", "AttnUpBlock2D", "UpBlock2D"],
|
| 12 |
-
"dropout": 0.0,
|
| 13 |
-
"act_fn": "silu",
|
| 14 |
-
"norm_num_groups": 32,
|
| 15 |
-
"norm_eps": 1e-06,
|
| 16 |
"mid_block_scale_factor": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
"time_embedding_type": "positional",
|
| 18 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
|
|
|
|
|
| 2 |
"_class_name": "UNet2DModel",
|
| 3 |
"_diffusers_version": "0.29.2",
|
| 4 |
"_name_or_path": "google/ddpm-cifar10-32",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"add_attention": true,
|
| 7 |
+
"attention_head_dim": null,
|
| 8 |
+
"attn_norm_num_groups": null,
|
| 9 |
+
"block_out_channels": [
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
],
|
| 15 |
+
"center_input_sample": false,
|
| 16 |
+
"class_embed_type": null,
|
| 17 |
+
"down_block_types": [
|
| 18 |
+
"DownBlock2D",
|
| 19 |
+
"AttnDownBlock2D",
|
| 20 |
+
"DownBlock2D",
|
| 21 |
+
"DownBlock2D"
|
| 22 |
+
],
|
| 23 |
+
"downsample_padding": 0,
|
| 24 |
+
"downsample_type": "conv",
|
| 25 |
+
"dropout": 0.0,
|
| 26 |
+
"flip_sin_to_cos": false,
|
| 27 |
+
"freq_shift": 1,
|
| 28 |
"in_channels": 3,
|
|
|
|
| 29 |
"layers_per_block": 2,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
"mid_block_scale_factor": 1,
|
| 31 |
+
"norm_eps": 1e-06,
|
| 32 |
+
"norm_num_groups": 32,
|
| 33 |
+
"num_class_embeds": null,
|
| 34 |
+
"num_train_timesteps": null,
|
| 35 |
+
"out_channels": 3,
|
| 36 |
+
"resnet_time_scale_shift": "default",
|
| 37 |
+
"sample_size": 32,
|
| 38 |
"time_embedding_type": "positional",
|
| 39 |
+
"up_block_types": [
|
| 40 |
+
"UpBlock2D",
|
| 41 |
+
"UpBlock2D",
|
| 42 |
+
"AttnUpBlock2D",
|
| 43 |
+
"UpBlock2D"
|
| 44 |
+
],
|
| 45 |
+
"upsample_type": "conv"
|
| 46 |
}
|
| 47 |
+
|