Upload folder using huggingface_hub
Browse files- controlnet/config.json +47 -0
- controlnet/diffusion_pytorch_model.bin +3 -0
- feature_extractor/preprocessor_config.json +28 -0
- log_loss.csv +1 -0
- logs/text2image-fine-tune/1723365390.529287/events.out.tfevents.1723365390.c3f27f3fcda3.14704.1 +3 -0
- logs/text2image-fine-tune/1723365390.5334532/hparams.yml +47 -0
- logs/text2image-fine-tune/1723366020.4606588/events.out.tfevents.1723366020.c3f27f3fcda3.17346.1 +3 -0
- logs/text2image-fine-tune/1723366020.465218/hparams.yml +47 -0
- logs/text2image-fine-tune/events.out.tfevents.1723365381.c3f27f3fcda3.14704.0 +3 -0
- logs/text2image-fine-tune/events.out.tfevents.1723366011.c3f27f3fcda3.17346.0 +3 -0
- model_index.json +37 -0
- scheduler/scheduler_config.json +14 -0
- text_encoder/config.json +25 -0
- text_encoder/pytorch_model.bin +3 -0
- tokenizer/merges.txt +0 -0
- tokenizer/special_tokens_map.json +24 -0
- tokenizer/tokenizer_config.json +33 -0
- tokenizer/vocab.json +0 -0
- unet/config.json +58 -0
- unet/diffusion_pytorch_model.bin +3 -0
- vae/config.json +31 -0
- vae/diffusion_pytorch_model.bin +3 -0
controlnet/config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "ControlNetModel",
|
3 |
+
"_diffusers_version": "0.15.0",
|
4 |
+
"_name_or_path": "thibaud/controlnet-sd21-depth-diffusers",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"attention_head_dim": [
|
7 |
+
5,
|
8 |
+
10,
|
9 |
+
20,
|
10 |
+
20
|
11 |
+
],
|
12 |
+
"block_out_channels": [
|
13 |
+
320,
|
14 |
+
640,
|
15 |
+
1280,
|
16 |
+
1280
|
17 |
+
],
|
18 |
+
"class_embed_type": null,
|
19 |
+
"conditioning_embedding_out_channels": [
|
20 |
+
16,
|
21 |
+
32,
|
22 |
+
96,
|
23 |
+
256
|
24 |
+
],
|
25 |
+
"controlnet_conditioning_channel_order": "rgb",
|
26 |
+
"cross_attention_dim": 1024,
|
27 |
+
"down_block_types": [
|
28 |
+
"CrossAttnDownBlock2D",
|
29 |
+
"CrossAttnDownBlock2D",
|
30 |
+
"CrossAttnDownBlock2D",
|
31 |
+
"DownBlock2D"
|
32 |
+
],
|
33 |
+
"downsample_padding": 1,
|
34 |
+
"flip_sin_to_cos": true,
|
35 |
+
"freq_shift": 0,
|
36 |
+
"in_channels": 4,
|
37 |
+
"layers_per_block": 2,
|
38 |
+
"mid_block_scale_factor": 1,
|
39 |
+
"norm_eps": 1e-05,
|
40 |
+
"norm_num_groups": 32,
|
41 |
+
"num_class_embeds": null,
|
42 |
+
"only_cross_attention": false,
|
43 |
+
"projection_class_embeddings_input_dim": null,
|
44 |
+
"resnet_time_scale_shift": "default",
|
45 |
+
"upcast_attention": true,
|
46 |
+
"use_linear_projection": true
|
47 |
+
}
|
controlnet/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:601f2cab03cac15d2a7f63f2c92a3f1fe3f1659016a89d028bf908c33ea2c454
|
3 |
+
size 728594745
|
feature_extractor/preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
12 |
+
"image_mean": [
|
13 |
+
0.48145466,
|
14 |
+
0.4578275,
|
15 |
+
0.40821073
|
16 |
+
],
|
17 |
+
"image_processor_type": "CLIPImageProcessor",
|
18 |
+
"image_std": [
|
19 |
+
0.26862954,
|
20 |
+
0.26130258,
|
21 |
+
0.27577711
|
22 |
+
],
|
23 |
+
"resample": 3,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"shortest_edge": 224
|
27 |
+
}
|
28 |
+
}
|
log_loss.csv
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
epoch,step,global_step,loss_total,loss_sd,loss_kd_output,loss_kd_feat,lr,lamb_sd,lamb_kd_output,lamb_kd_feat
|
logs/text2image-fine-tune/1723365390.529287/events.out.tfevents.1723365390.c3f27f3fcda3.14704.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14c0c0cadef788c82522b7e995241513c6352bd6320f4dd18ee868401ad2b98f
|
3 |
+
size 2463
|
logs/text2image-fine-tune/1723365390.5334532/hparams.yml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
adam_beta1: 0.9
|
2 |
+
adam_beta2: 0.999
|
3 |
+
adam_epsilon: 1.0e-08
|
4 |
+
adam_weight_decay: 0.01
|
5 |
+
allow_tf32: false
|
6 |
+
cache_dir: null
|
7 |
+
center_crop: true
|
8 |
+
checkpointing_steps: 5000
|
9 |
+
checkpoints_total_limit: null
|
10 |
+
dataloader_num_workers: 0
|
11 |
+
dataset_config_name: null
|
12 |
+
enable_xformers_memory_efficient_attention: false
|
13 |
+
gradient_accumulation_steps: 4
|
14 |
+
gradient_checkpointing: true
|
15 |
+
lambda_kd_feat: 1.0
|
16 |
+
lambda_kd_output: 1.0
|
17 |
+
lambda_sd: 1.0
|
18 |
+
learning_rate: 5.0e-05
|
19 |
+
local_rank: -1
|
20 |
+
logging_dir: logs
|
21 |
+
lr_scheduler: constant
|
22 |
+
lr_warmup_steps: 0
|
23 |
+
max_grad_norm: 1.0
|
24 |
+
max_train_samples: null
|
25 |
+
max_train_steps: 0
|
26 |
+
mixed_precision: fp16
|
27 |
+
non_ema_revision: null
|
28 |
+
num_train_epochs: 0
|
29 |
+
num_valid_images: 2
|
30 |
+
output_dir: ./results/v2-base_kd_bk_tiny
|
31 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1-base
|
32 |
+
random_flip: true
|
33 |
+
report_to: all
|
34 |
+
resolution: 512
|
35 |
+
resume_from_checkpoint: null
|
36 |
+
revision: null
|
37 |
+
scale_lr: false
|
38 |
+
seed: 1234
|
39 |
+
train_batch_size: 32
|
40 |
+
train_data_dir: ./data/laion_aes/preprocessed_11k/train
|
41 |
+
unet_config_name: bk_tiny
|
42 |
+
unet_config_path: ./src/unet_config_v2-base
|
43 |
+
use_8bit_adam: false
|
44 |
+
use_copy_weight_from_teacher: true
|
45 |
+
use_ema: true
|
46 |
+
valid_prompt: a golden vase with different flowers
|
47 |
+
valid_steps: 500
|
logs/text2image-fine-tune/1723366020.4606588/events.out.tfevents.1723366020.c3f27f3fcda3.17346.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0d2623bf2d945832aa053dfe8babf60b4d9cf3ab854ff3f796683debe90d9ed
|
3 |
+
size 2463
|
logs/text2image-fine-tune/1723366020.465218/hparams.yml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
adam_beta1: 0.9
|
2 |
+
adam_beta2: 0.999
|
3 |
+
adam_epsilon: 1.0e-08
|
4 |
+
adam_weight_decay: 0.01
|
5 |
+
allow_tf32: false
|
6 |
+
cache_dir: null
|
7 |
+
center_crop: true
|
8 |
+
checkpointing_steps: 5000
|
9 |
+
checkpoints_total_limit: null
|
10 |
+
dataloader_num_workers: 0
|
11 |
+
dataset_config_name: null
|
12 |
+
enable_xformers_memory_efficient_attention: false
|
13 |
+
gradient_accumulation_steps: 4
|
14 |
+
gradient_checkpointing: true
|
15 |
+
lambda_kd_feat: 1.0
|
16 |
+
lambda_kd_output: 1.0
|
17 |
+
lambda_sd: 1.0
|
18 |
+
learning_rate: 5.0e-05
|
19 |
+
local_rank: -1
|
20 |
+
logging_dir: logs
|
21 |
+
lr_scheduler: constant
|
22 |
+
lr_warmup_steps: 0
|
23 |
+
max_grad_norm: 1.0
|
24 |
+
max_train_samples: null
|
25 |
+
max_train_steps: 0
|
26 |
+
mixed_precision: fp16
|
27 |
+
non_ema_revision: null
|
28 |
+
num_train_epochs: 0
|
29 |
+
num_valid_images: 2
|
30 |
+
output_dir: ./results/v2-base_kd_bk_tiny
|
31 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1-base
|
32 |
+
random_flip: true
|
33 |
+
report_to: all
|
34 |
+
resolution: 512
|
35 |
+
resume_from_checkpoint: null
|
36 |
+
revision: null
|
37 |
+
scale_lr: false
|
38 |
+
seed: 1234
|
39 |
+
train_batch_size: 32
|
40 |
+
train_data_dir: ./data/laion_aes/preprocessed_11k/train
|
41 |
+
unet_config_name: bk_tiny
|
42 |
+
unet_config_path: ./src/unet_config_v2-base
|
43 |
+
use_8bit_adam: false
|
44 |
+
use_copy_weight_from_teacher: true
|
45 |
+
use_ema: true
|
46 |
+
valid_prompt: a golden vase with different flowers
|
47 |
+
valid_steps: 500
|
logs/text2image-fine-tune/events.out.tfevents.1723365381.c3f27f3fcda3.14704.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73394283442b68c035f71fa250471bbd2ac5752b7a90f583129e68e4ebda81ed
|
3 |
+
size 88
|
logs/text2image-fine-tune/events.out.tfevents.1723366011.c3f27f3fcda3.17346.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38896dc2d8882a9f419f685f8e32aea70bf3d9cd2026404bba90801b645508ef
|
3 |
+
size 88
|
model_index.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableDiffusionControlNetPipeline",
|
3 |
+
"_diffusers_version": "0.15.0",
|
4 |
+
"controlnet": [
|
5 |
+
"diffusers",
|
6 |
+
"ControlNetModel"
|
7 |
+
],
|
8 |
+
"feature_extractor": [
|
9 |
+
"transformers",
|
10 |
+
"CLIPImageProcessor"
|
11 |
+
],
|
12 |
+
"requires_safety_checker": false,
|
13 |
+
"safety_checker": [
|
14 |
+
null,
|
15 |
+
null
|
16 |
+
],
|
17 |
+
"scheduler": [
|
18 |
+
"diffusers",
|
19 |
+
"PNDMScheduler"
|
20 |
+
],
|
21 |
+
"text_encoder": [
|
22 |
+
"transformers",
|
23 |
+
"CLIPTextModel"
|
24 |
+
],
|
25 |
+
"tokenizer": [
|
26 |
+
"transformers",
|
27 |
+
"CLIPTokenizer"
|
28 |
+
],
|
29 |
+
"unet": [
|
30 |
+
"diffusers",
|
31 |
+
"UNet2DConditionModel"
|
32 |
+
],
|
33 |
+
"vae": [
|
34 |
+
"diffusers",
|
35 |
+
"AutoencoderKL"
|
36 |
+
]
|
37 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "PNDMScheduler",
|
3 |
+
"_diffusers_version": "0.15.0",
|
4 |
+
"beta_end": 0.012,
|
5 |
+
"beta_schedule": "scaled_linear",
|
6 |
+
"beta_start": 0.00085,
|
7 |
+
"clip_sample": false,
|
8 |
+
"num_train_timesteps": 1000,
|
9 |
+
"prediction_type": "epsilon",
|
10 |
+
"set_alpha_to_one": false,
|
11 |
+
"skip_prk_steps": true,
|
12 |
+
"steps_offset": 1,
|
13 |
+
"trained_betas": null
|
14 |
+
}
|
text_encoder/config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1-base",
|
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": "gelu",
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"initializer_factor": 1.0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 4096,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 77,
|
17 |
+
"model_type": "clip_text_model",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 23,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"projection_dim": 512,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.27.4",
|
24 |
+
"vocab_size": 49408
|
25 |
+
}
|
text_encoder/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ee67f13de719e6c72334b4a066852d43dde1b050b11b78983f12f5f8d5553d8
|
3 |
+
size 680898977
|
tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|startoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "!",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer/tokenizer_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"do_lower_case": true,
|
12 |
+
"eos_token": {
|
13 |
+
"__type": "AddedToken",
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"errors": "replace",
|
21 |
+
"model_max_length": 77,
|
22 |
+
"pad_token": "<|endoftext|>",
|
23 |
+
"special_tokens_map_file": "./special_tokens_map.json",
|
24 |
+
"tokenizer_class": "CLIPTokenizer",
|
25 |
+
"unk_token": {
|
26 |
+
"__type": "AddedToken",
|
27 |
+
"content": "<|endoftext|>",
|
28 |
+
"lstrip": false,
|
29 |
+
"normalized": true,
|
30 |
+
"rstrip": false,
|
31 |
+
"single_word": false
|
32 |
+
}
|
33 |
+
}
|
tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
unet/config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.15.0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"attention_head_dim": [
|
6 |
+
5,
|
7 |
+
10,
|
8 |
+
20
|
9 |
+
],
|
10 |
+
"block_out_channels": [
|
11 |
+
320,
|
12 |
+
640,
|
13 |
+
1280
|
14 |
+
],
|
15 |
+
"center_input_sample": false,
|
16 |
+
"class_embed_type": null,
|
17 |
+
"class_embeddings_concat": false,
|
18 |
+
"conv_in_kernel": 3,
|
19 |
+
"conv_out_kernel": 3,
|
20 |
+
"cross_attention_dim": 1024,
|
21 |
+
"cross_attention_norm": null,
|
22 |
+
"down_block_types": [
|
23 |
+
"CrossAttnDownBlock2D",
|
24 |
+
"CrossAttnDownBlock2D",
|
25 |
+
"CrossAttnDownBlock2D"
|
26 |
+
],
|
27 |
+
"downsample_padding": 1,
|
28 |
+
"dual_cross_attention": false,
|
29 |
+
"encoder_hid_dim": null,
|
30 |
+
"flip_sin_to_cos": true,
|
31 |
+
"freq_shift": 0,
|
32 |
+
"in_channels": 4,
|
33 |
+
"layers_per_block": 1,
|
34 |
+
"mid_block_only_cross_attention": null,
|
35 |
+
"mid_block_scale_factor": 1,
|
36 |
+
"mid_block_type": null,
|
37 |
+
"norm_eps": 1e-05,
|
38 |
+
"norm_num_groups": 32,
|
39 |
+
"num_class_embeds": null,
|
40 |
+
"only_cross_attention": false,
|
41 |
+
"out_channels": 4,
|
42 |
+
"projection_class_embeddings_input_dim": null,
|
43 |
+
"resnet_out_scale_factor": 1.0,
|
44 |
+
"resnet_skip_time_act": false,
|
45 |
+
"resnet_time_scale_shift": "default",
|
46 |
+
"sample_size": 64,
|
47 |
+
"time_cond_proj_dim": null,
|
48 |
+
"time_embedding_act_fn": null,
|
49 |
+
"time_embedding_type": "positional",
|
50 |
+
"timestep_post_act": null,
|
51 |
+
"up_block_types": [
|
52 |
+
"CrossAttnUpBlock2D",
|
53 |
+
"CrossAttnUpBlock2D",
|
54 |
+
"CrossAttnUpBlock2D"
|
55 |
+
],
|
56 |
+
"upcast_attention": false,
|
57 |
+
"use_linear_projection": true
|
58 |
+
}
|
unet/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:140a4d0f0758ee78b3b8de58eb522299462840c0c05b5ada968f844652347b1b
|
3 |
+
size 1307450869
|
vae/config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.15.0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1-base",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"block_out_channels": [
|
7 |
+
128,
|
8 |
+
256,
|
9 |
+
512,
|
10 |
+
512
|
11 |
+
],
|
12 |
+
"down_block_types": [
|
13 |
+
"DownEncoderBlock2D",
|
14 |
+
"DownEncoderBlock2D",
|
15 |
+
"DownEncoderBlock2D",
|
16 |
+
"DownEncoderBlock2D"
|
17 |
+
],
|
18 |
+
"in_channels": 3,
|
19 |
+
"latent_channels": 4,
|
20 |
+
"layers_per_block": 2,
|
21 |
+
"norm_num_groups": 32,
|
22 |
+
"out_channels": 3,
|
23 |
+
"sample_size": 768,
|
24 |
+
"scaling_factor": 0.18215,
|
25 |
+
"up_block_types": [
|
26 |
+
"UpDecoderBlock2D",
|
27 |
+
"UpDecoderBlock2D",
|
28 |
+
"UpDecoderBlock2D",
|
29 |
+
"UpDecoderBlock2D"
|
30 |
+
]
|
31 |
+
}
|
vae/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:354e94ceb8cebe720c40510b94599b388a8eda407e7694a4db1ed8dc4f678538
|
3 |
+
size 167404145
|