Remove old-layout metadata orphaned by MODEL_SPEC.md restructure
Browse files- config.json +0 -33
- text_encoder/config.json +0 -24
- unet/config.json +0 -70
- vae/config.json +0 -29
config.json
DELETED
|
@@ -1,33 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_class_name": "StableDiffusionPipeline",
|
| 3 |
-
"_diffusers_version": "0.20.2",
|
| 4 |
-
"feature_extractor": [
|
| 5 |
-
"transformers",
|
| 6 |
-
"CLIPImageProcessor"
|
| 7 |
-
],
|
| 8 |
-
"safety_checker": [
|
| 9 |
-
"stable_diffusion",
|
| 10 |
-
"StableDiffusionSafetyChecker"
|
| 11 |
-
],
|
| 12 |
-
"scheduler": [
|
| 13 |
-
"diffusers",
|
| 14 |
-
"PNDMScheduler"
|
| 15 |
-
],
|
| 16 |
-
"text_encoder": [
|
| 17 |
-
"transformers",
|
| 18 |
-
"CLIPTextModel"
|
| 19 |
-
],
|
| 20 |
-
"tokenizer": [
|
| 21 |
-
"transformers",
|
| 22 |
-
"CLIPTokenizer"
|
| 23 |
-
],
|
| 24 |
-
"unet": [
|
| 25 |
-
"diffusers",
|
| 26 |
-
"UNet2DConditionModel"
|
| 27 |
-
],
|
| 28 |
-
"vae": [
|
| 29 |
-
"diffusers",
|
| 30 |
-
"AutoencoderKL"
|
| 31 |
-
]
|
| 32 |
-
}
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
text_encoder/config.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_name_or_path": "openai/clip-vit-large-patch14",
|
| 3 |
-
"architectures": [
|
| 4 |
-
"CLIPTextModel"
|
| 5 |
-
],
|
| 6 |
-
"attention_dropout": 0.0,
|
| 7 |
-
"bos_token_id": 0,
|
| 8 |
-
"dropout": 0.0,
|
| 9 |
-
"eos_token_id": 2,
|
| 10 |
-
"hidden_act": "quick_gelu",
|
| 11 |
-
"hidden_size": 768,
|
| 12 |
-
"initializer_factor": 1.0,
|
| 13 |
-
"initializer_range": 0.02,
|
| 14 |
-
"intermediate_size": 3072,
|
| 15 |
-
"layer_norm_eps": 1e-05,
|
| 16 |
-
"max_position_embeddings": 77,
|
| 17 |
-
"model_type": "clip_text_model",
|
| 18 |
-
"num_attention_heads": 12,
|
| 19 |
-
"num_hidden_layers": 12,
|
| 20 |
-
"pad_token_id": 1,
|
| 21 |
-
"torch_dtype": "float32",
|
| 22 |
-
"transformers_version": "4.21.0.dev0",
|
| 23 |
-
"vocab_size": 49408
|
| 24 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unet/config.json
DELETED
|
@@ -1,70 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_class_name": "UNet2DConditionModel",
|
| 3 |
-
"_diffusers_version": "0.20.2",
|
| 4 |
-
"_name_or_path": "nota-ai/bk-sdm-tiny",
|
| 5 |
-
"act_fn": "silu",
|
| 6 |
-
"addition_embed_type": null,
|
| 7 |
-
"addition_embed_type_num_heads": 64,
|
| 8 |
-
"addition_time_embed_dim": null,
|
| 9 |
-
"attention_head_dim": 8,
|
| 10 |
-
"attention_type": "default",
|
| 11 |
-
"block_out_channels": [
|
| 12 |
-
320,
|
| 13 |
-
640,
|
| 14 |
-
1280
|
| 15 |
-
],
|
| 16 |
-
"center_input_sample": false,
|
| 17 |
-
"class_embed_type": null,
|
| 18 |
-
"class_embeddings_concat": false,
|
| 19 |
-
"conv_in_kernel": 3,
|
| 20 |
-
"conv_out_kernel": 3,
|
| 21 |
-
"cross_attention_dim": 768,
|
| 22 |
-
"cross_attention_norm": null,
|
| 23 |
-
"decay": 0.9999,
|
| 24 |
-
"down_block_types": [
|
| 25 |
-
"CrossAttnDownBlock2D",
|
| 26 |
-
"CrossAttnDownBlock2D",
|
| 27 |
-
"CrossAttnDownBlock2D"
|
| 28 |
-
],
|
| 29 |
-
"downsample_padding": 1,
|
| 30 |
-
"dual_cross_attention": false,
|
| 31 |
-
"encoder_hid_dim": null,
|
| 32 |
-
"encoder_hid_dim_type": null,
|
| 33 |
-
"flip_sin_to_cos": true,
|
| 34 |
-
"freq_shift": 0,
|
| 35 |
-
"in_channels": 4,
|
| 36 |
-
"inv_gamma": 1.0,
|
| 37 |
-
"layers_per_block": 1,
|
| 38 |
-
"mid_block_only_cross_attention": null,
|
| 39 |
-
"mid_block_scale_factor": 1,
|
| 40 |
-
"mid_block_type": null,
|
| 41 |
-
"min_decay": 0.0,
|
| 42 |
-
"norm_eps": 1e-05,
|
| 43 |
-
"norm_num_groups": 32,
|
| 44 |
-
"num_attention_heads": null,
|
| 45 |
-
"num_class_embeds": null,
|
| 46 |
-
"only_cross_attention": false,
|
| 47 |
-
"optimization_step": 8000,
|
| 48 |
-
"out_channels": 4,
|
| 49 |
-
"power": 0.6666666666666666,
|
| 50 |
-
"projection_class_embeddings_input_dim": null,
|
| 51 |
-
"resnet_out_scale_factor": 1.0,
|
| 52 |
-
"resnet_skip_time_act": false,
|
| 53 |
-
"resnet_time_scale_shift": "default",
|
| 54 |
-
"sample_size": 64,
|
| 55 |
-
"time_cond_proj_dim": null,
|
| 56 |
-
"time_embedding_act_fn": null,
|
| 57 |
-
"time_embedding_dim": null,
|
| 58 |
-
"time_embedding_type": "positional",
|
| 59 |
-
"timestep_post_act": null,
|
| 60 |
-
"transformer_layers_per_block": 1,
|
| 61 |
-
"up_block_types": [
|
| 62 |
-
"CrossAttnUpBlock2D",
|
| 63 |
-
"CrossAttnUpBlock2D",
|
| 64 |
-
"CrossAttnUpBlock2D"
|
| 65 |
-
],
|
| 66 |
-
"upcast_attention": false,
|
| 67 |
-
"update_after_step": 0,
|
| 68 |
-
"use_ema_warmup": false,
|
| 69 |
-
"use_linear_projection": false
|
| 70 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vae/config.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_class_name": "AutoencoderKL",
|
| 3 |
-
"_diffusers_version": "0.20.2",
|
| 4 |
-
"act_fn": "silu",
|
| 5 |
-
"block_out_channels": [
|
| 6 |
-
128,
|
| 7 |
-
256,
|
| 8 |
-
512,
|
| 9 |
-
512
|
| 10 |
-
],
|
| 11 |
-
"down_block_types": [
|
| 12 |
-
"DownEncoderBlock2D",
|
| 13 |
-
"DownEncoderBlock2D",
|
| 14 |
-
"DownEncoderBlock2D",
|
| 15 |
-
"DownEncoderBlock2D"
|
| 16 |
-
],
|
| 17 |
-
"in_channels": 3,
|
| 18 |
-
"latent_channels": 4,
|
| 19 |
-
"layers_per_block": 2,
|
| 20 |
-
"out_channels": 3,
|
| 21 |
-
"sample_size": 512,
|
| 22 |
-
"scaling_factor": 0.18215,
|
| 23 |
-
"up_block_types": [
|
| 24 |
-
"UpDecoderBlock2D",
|
| 25 |
-
"UpDecoderBlock2D",
|
| 26 |
-
"UpDecoderBlock2D",
|
| 27 |
-
"UpDecoderBlock2D"
|
| 28 |
-
]
|
| 29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|