Upload ./unet/config.json with huggingface_hub
Browse files- unet/config.json +62 -0
unet/config.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DModel",
|
| 3 |
+
"_diffusers_version": "0.27.2",
|
| 4 |
+
"act_fn": "silu",
|
| 5 |
+
"add_attention": true,
|
| 6 |
+
"attention_head_dim": null,
|
| 7 |
+
"attn_norm_num_groups": null,
|
| 8 |
+
"block_out_channels": [
|
| 9 |
+
128,
|
| 10 |
+
128,
|
| 11 |
+
256,
|
| 12 |
+
256,
|
| 13 |
+
256,
|
| 14 |
+
256,
|
| 15 |
+
256
|
| 16 |
+
],
|
| 17 |
+
"center_input_sample": true,
|
| 18 |
+
"class_embed_type": null,
|
| 19 |
+
"decay": 0.9999,
|
| 20 |
+
"down_block_types": [
|
| 21 |
+
"SkipDownBlock2D",
|
| 22 |
+
"SkipDownBlock2D",
|
| 23 |
+
"SkipDownBlock2D",
|
| 24 |
+
"SkipDownBlock2D",
|
| 25 |
+
"AttnSkipDownBlock2D",
|
| 26 |
+
"SkipDownBlock2D",
|
| 27 |
+
"SkipDownBlock2D"
|
| 28 |
+
],
|
| 29 |
+
"downsample_padding": 1,
|
| 30 |
+
"downsample_type": "conv",
|
| 31 |
+
"dropout": 0.0,
|
| 32 |
+
"flip_sin_to_cos": true,
|
| 33 |
+
"freq_shift": 0,
|
| 34 |
+
"in_channels": 3,
|
| 35 |
+
"inv_gamma": 1.0,
|
| 36 |
+
"layers_per_block": 2,
|
| 37 |
+
"mid_block_scale_factor": 1.41421356237,
|
| 38 |
+
"min_decay": 0.0,
|
| 39 |
+
"norm_eps": 1e-06,
|
| 40 |
+
"norm_num_groups": null,
|
| 41 |
+
"num_class_embeds": null,
|
| 42 |
+
"num_train_timesteps": null,
|
| 43 |
+
"optimization_step": 180000,
|
| 44 |
+
"out_channels": 3,
|
| 45 |
+
"power": 0.75,
|
| 46 |
+
"resnet_time_scale_shift": "default",
|
| 47 |
+
"sample_size": 64,
|
| 48 |
+
"set_W_to_weight": false,
|
| 49 |
+
"time_embedding_type": "fourier",
|
| 50 |
+
"up_block_types": [
|
| 51 |
+
"SkipUpBlock2D",
|
| 52 |
+
"SkipUpBlock2D",
|
| 53 |
+
"AttnSkipUpBlock2D",
|
| 54 |
+
"SkipUpBlock2D",
|
| 55 |
+
"SkipUpBlock2D",
|
| 56 |
+
"SkipUpBlock2D",
|
| 57 |
+
"SkipUpBlock2D"
|
| 58 |
+
],
|
| 59 |
+
"update_after_step": 0,
|
| 60 |
+
"upsample_type": "conv",
|
| 61 |
+
"use_ema_warmup": true
|
| 62 |
+
}
|