End of training
Browse files- checkpoint-1000/optimizer.bin +3 -0
- checkpoint-1000/random_states_0.pkl +3 -0
- checkpoint-1000/scheduler.bin +3 -0
- checkpoint-1000/unet/config.json +73 -0
- checkpoint-1000/unet/diffusion_pytorch_model-00001-of-00002.safetensors +3 -0
- checkpoint-1000/unet/diffusion_pytorch_model-00002-of-00002.safetensors +3 -0
- checkpoint-1000/unet/diffusion_pytorch_model.safetensors.index.json +0 -0
- logs/instruct-pix2pix-xl/1736095241.9403296/events.out.tfevents.1736095241.DESKTOP-FG95EGE.19476.1 +3 -0
- logs/instruct-pix2pix-xl/1736095241.9448347/hparams.yml +55 -0
- logs/instruct-pix2pix-xl/events.out.tfevents.1736095241.DESKTOP-FG95EGE.19476.0 +3 -0
- model_index.json +12 -16
- scheduler/scheduler_config.json +12 -2
- text_encoder/config.json +2 -2
- text_encoder/model.safetensors +2 -2
- text_encoder_2/config.json +25 -0
- text_encoder_2/model.safetensors +3 -0
- tokenizer/tokenizer_config.json +1 -1
- tokenizer_2/merges.txt +0 -0
- tokenizer_2/special_tokens_map.json +24 -0
- tokenizer_2/tokenizer_config.json +38 -0
- tokenizer_2/vocab.json +0 -0
- unet/config.json +21 -16
- unet/diffusion_pytorch_model-00001-of-00002.safetensors +3 -0
- unet/diffusion_pytorch_model-00002-of-00002.safetensors +3 -0
- unet/diffusion_pytorch_model.safetensors.index.json +0 -0
- vae/config.json +3 -3
- vae/diffusion_pytorch_model.safetensors +2 -2
checkpoint-1000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2837b44ae569e1ec810f422b6f007ae6e9eff8b7b067c1c68026a91b9f5718a2
|
3 |
+
size 20541266058
|
checkpoint-1000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:970f6a0ac0186a1b1670a17014c8a04aa2b49f7e483c7039d281803985cf0540
|
3 |
+
size 14408
|
checkpoint-1000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1cce50ed778d5738b3afa3503cdb404ebe08bd37f51cf090b758c61cf8e876d8
|
3 |
+
size 1000
|
checkpoint-1000/unet/config.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.33.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"addition_embed_type": "text_time",
|
7 |
+
"addition_embed_type_num_heads": 64,
|
8 |
+
"addition_time_embed_dim": 256,
|
9 |
+
"attention_head_dim": [
|
10 |
+
5,
|
11 |
+
10,
|
12 |
+
20
|
13 |
+
],
|
14 |
+
"attention_type": "default",
|
15 |
+
"block_out_channels": [
|
16 |
+
320,
|
17 |
+
640,
|
18 |
+
1280
|
19 |
+
],
|
20 |
+
"center_input_sample": false,
|
21 |
+
"class_embed_type": null,
|
22 |
+
"class_embeddings_concat": false,
|
23 |
+
"conv_in_kernel": 3,
|
24 |
+
"conv_out_kernel": 3,
|
25 |
+
"cross_attention_dim": 2048,
|
26 |
+
"cross_attention_norm": null,
|
27 |
+
"down_block_types": [
|
28 |
+
"DownBlock2D",
|
29 |
+
"CrossAttnDownBlock2D",
|
30 |
+
"CrossAttnDownBlock2D"
|
31 |
+
],
|
32 |
+
"downsample_padding": 1,
|
33 |
+
"dropout": 0.0,
|
34 |
+
"dual_cross_attention": false,
|
35 |
+
"encoder_hid_dim": null,
|
36 |
+
"encoder_hid_dim_type": null,
|
37 |
+
"flip_sin_to_cos": true,
|
38 |
+
"freq_shift": 0,
|
39 |
+
"in_channels": 8,
|
40 |
+
"layers_per_block": 2,
|
41 |
+
"mid_block_only_cross_attention": null,
|
42 |
+
"mid_block_scale_factor": 1,
|
43 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
44 |
+
"norm_eps": 1e-05,
|
45 |
+
"norm_num_groups": 32,
|
46 |
+
"num_attention_heads": null,
|
47 |
+
"num_class_embeds": null,
|
48 |
+
"only_cross_attention": false,
|
49 |
+
"out_channels": 4,
|
50 |
+
"projection_class_embeddings_input_dim": 2816,
|
51 |
+
"resnet_out_scale_factor": 1.0,
|
52 |
+
"resnet_skip_time_act": false,
|
53 |
+
"resnet_time_scale_shift": "default",
|
54 |
+
"reverse_transformer_layers_per_block": null,
|
55 |
+
"sample_size": 128,
|
56 |
+
"time_cond_proj_dim": null,
|
57 |
+
"time_embedding_act_fn": null,
|
58 |
+
"time_embedding_dim": null,
|
59 |
+
"time_embedding_type": "positional",
|
60 |
+
"timestep_post_act": null,
|
61 |
+
"transformer_layers_per_block": [
|
62 |
+
1,
|
63 |
+
2,
|
64 |
+
10
|
65 |
+
],
|
66 |
+
"up_block_types": [
|
67 |
+
"CrossAttnUpBlock2D",
|
68 |
+
"CrossAttnUpBlock2D",
|
69 |
+
"UpBlock2D"
|
70 |
+
],
|
71 |
+
"upcast_attention": null,
|
72 |
+
"use_linear_projection": true
|
73 |
+
}
|
checkpoint-1000/unet/diffusion_pytorch_model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:551cc57557101aa2fa272d1e7ccf769df8ef32381e24f279e111f74f94ca2aae
|
3 |
+
size 9988185240
|
checkpoint-1000/unet/diffusion_pytorch_model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4bbfe671d5bc7b9d9307757545a059d66171d3354a4ec981e44264bd3f5bae8d
|
3 |
+
size 281938304
|
checkpoint-1000/unet/diffusion_pytorch_model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
logs/instruct-pix2pix-xl/1736095241.9403296/events.out.tfevents.1736095241.DESKTOP-FG95EGE.19476.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17e96c7a5e11ebe09b658389af8cd6bde3b3725b1f4c5a23ccc3dc2d35e2264a
|
3 |
+
size 2552
|
logs/instruct-pix2pix-xl/1736095241.9448347/hparams.yml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: false
|
8 |
+
checkpointing_steps: 1000
|
9 |
+
checkpoints_total_limit: 1
|
10 |
+
conditioning_dropout_prob: 0.05
|
11 |
+
crops_coords_top_left_h: 0
|
12 |
+
crops_coords_top_left_w: 0
|
13 |
+
dataloader_num_workers: 0
|
14 |
+
dataset_config_name: null
|
15 |
+
dataset_name: dataset/metadata.csv
|
16 |
+
edit_prompt_column: edit_prompt
|
17 |
+
edited_image_column: edited_image
|
18 |
+
enable_xformers_memory_efficient_attention: true
|
19 |
+
gradient_accumulation_steps: 4
|
20 |
+
gradient_checkpointing: true
|
21 |
+
hub_model_id: null
|
22 |
+
hub_token: null
|
23 |
+
learning_rate: 5.0e-05
|
24 |
+
local_rank: -1
|
25 |
+
logging_dir: logs
|
26 |
+
lr_scheduler: constant
|
27 |
+
lr_warmup_steps: 0
|
28 |
+
max_grad_norm: 1.0
|
29 |
+
max_train_samples: null
|
30 |
+
max_train_steps: 1000
|
31 |
+
mixed_precision: null
|
32 |
+
non_ema_revision: null
|
33 |
+
num_train_epochs: 53
|
34 |
+
num_validation_images: 4
|
35 |
+
original_image_column: input_image
|
36 |
+
output_dir: instruct-pix2pix-model
|
37 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-xl-base-1.0
|
38 |
+
pretrained_vae_model_name_or_path: null
|
39 |
+
push_to_hub: true
|
40 |
+
random_flip: true
|
41 |
+
report_to: tensorboard
|
42 |
+
resolution: 256
|
43 |
+
resume_from_checkpoint: null
|
44 |
+
revision: null
|
45 |
+
scale_lr: false
|
46 |
+
seed: 42
|
47 |
+
train_batch_size: 4
|
48 |
+
train_data_dir: null
|
49 |
+
use_8bit_adam: false
|
50 |
+
use_ema: false
|
51 |
+
vae_precision: fp32
|
52 |
+
val_image_url_or_path: null
|
53 |
+
validation_prompt: null
|
54 |
+
validation_steps: 100
|
55 |
+
variant: null
|
logs/instruct-pix2pix-xl/events.out.tfevents.1736095241.DESKTOP-FG95EGE.19476.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ca0b6000528e701cc0a3de3a8b1a0d2bdf0fbdee7ac94619dc42edbf242109b
|
3 |
+
size 48961
|
model_index.json
CHANGED
@@ -1,32 +1,28 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.33.0.dev0",
|
4 |
-
"_name_or_path": "stable-diffusion-
|
5 |
-
"
|
6 |
-
"transformers",
|
7 |
-
"CLIPImageProcessor"
|
8 |
-
],
|
9 |
-
"image_encoder": [
|
10 |
-
null,
|
11 |
-
null
|
12 |
-
],
|
13 |
-
"requires_safety_checker": true,
|
14 |
-
"safety_checker": [
|
15 |
-
"stable_diffusion",
|
16 |
-
"StableDiffusionSafetyChecker"
|
17 |
-
],
|
18 |
"scheduler": [
|
19 |
"diffusers",
|
20 |
-
"
|
21 |
],
|
22 |
"text_encoder": [
|
23 |
"transformers",
|
24 |
"CLIPTextModel"
|
25 |
],
|
|
|
|
|
|
|
|
|
26 |
"tokenizer": [
|
27 |
"transformers",
|
28 |
"CLIPTokenizer"
|
29 |
],
|
|
|
|
|
|
|
|
|
30 |
"unet": [
|
31 |
"diffusers",
|
32 |
"UNet2DConditionModel"
|
|
|
1 |
{
|
2 |
+
"_class_name": "StableDiffusionXLInstructPix2PixPipeline",
|
3 |
"_diffusers_version": "0.33.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
|
5 |
+
"force_zeros_for_empty_prompt": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"scheduler": [
|
7 |
"diffusers",
|
8 |
+
"EulerDiscreteScheduler"
|
9 |
],
|
10 |
"text_encoder": [
|
11 |
"transformers",
|
12 |
"CLIPTextModel"
|
13 |
],
|
14 |
+
"text_encoder_2": [
|
15 |
+
"transformers",
|
16 |
+
"CLIPTextModelWithProjection"
|
17 |
+
],
|
18 |
"tokenizer": [
|
19 |
"transformers",
|
20 |
"CLIPTokenizer"
|
21 |
],
|
22 |
+
"tokenizer_2": [
|
23 |
+
"transformers",
|
24 |
+
"CLIPTokenizer"
|
25 |
+
],
|
26 |
"unet": [
|
27 |
"diffusers",
|
28 |
"UNet2DConditionModel"
|
scheduler/scheduler_config.json
CHANGED
@@ -1,15 +1,25 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.33.0.dev0",
|
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 |
"timestep_spacing": "leading",
|
14 |
-
"
|
|
|
|
|
|
|
|
|
15 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "EulerDiscreteScheduler",
|
3 |
"_diffusers_version": "0.33.0.dev0",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
8 |
+
"final_sigmas_type": "zero",
|
9 |
+
"interpolation_type": "linear",
|
10 |
"num_train_timesteps": 1000,
|
11 |
"prediction_type": "epsilon",
|
12 |
+
"rescale_betas_zero_snr": false,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
"set_alpha_to_one": false,
|
15 |
+
"sigma_max": null,
|
16 |
+
"sigma_min": null,
|
17 |
"skip_prk_steps": true,
|
18 |
"steps_offset": 1,
|
19 |
"timestep_spacing": "leading",
|
20 |
+
"timestep_type": "discrete",
|
21 |
+
"trained_betas": null,
|
22 |
+
"use_beta_sigmas": false,
|
23 |
+
"use_exponential_sigmas": false,
|
24 |
+
"use_karras_sigmas": false
|
25 |
}
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "stable-diffusion-
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
@@ -19,7 +19,7 @@
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
-
"torch_dtype": "
|
23 |
"transformers_version": "4.46.3",
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
+
"torch_dtype": "bfloat16",
|
23 |
"transformers_version": "4.46.3",
|
24 |
"vocab_size": 49408
|
25 |
}
|
text_encoder/model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03532a1b8bb2f02b16b9b290273caf9c8793a0a268517c104eee30f7d1829120
|
3 |
+
size 246144352
|
text_encoder_2/config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPTextModelWithProjection"
|
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": 1280,
|
12 |
+
"initializer_factor": 1.0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 5120,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 77,
|
17 |
+
"model_type": "clip_text_model",
|
18 |
+
"num_attention_heads": 20,
|
19 |
+
"num_hidden_layers": 32,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"projection_dim": 1280,
|
22 |
+
"torch_dtype": "bfloat16",
|
23 |
+
"transformers_version": "4.46.3",
|
24 |
+
"vocab_size": 49408
|
25 |
+
}
|
text_encoder_2/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4ba596d8c78b5509aafd523f619e13aa129ae1a886a1e92766d7cddd9706f3c
|
3 |
+
size 1389382688
|
tokenizer/tokenizer_config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
}
|
20 |
},
|
21 |
"bos_token": "<|startoftext|>",
|
22 |
-
"clean_up_tokenization_spaces":
|
23 |
"do_lower_case": true,
|
24 |
"eos_token": "<|endoftext|>",
|
25 |
"errors": "replace",
|
|
|
19 |
}
|
20 |
},
|
21 |
"bos_token": "<|startoftext|>",
|
22 |
+
"clean_up_tokenization_spaces": true,
|
23 |
"do_lower_case": true,
|
24 |
"eos_token": "<|endoftext|>",
|
25 |
"errors": "replace",
|
tokenizer_2/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_2/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_2/tokenizer_config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "!",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"49406": {
|
13 |
+
"content": "<|startoftext|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"49407": {
|
21 |
+
"content": "<|endoftext|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"bos_token": "<|startoftext|>",
|
30 |
+
"clean_up_tokenization_spaces": true,
|
31 |
+
"do_lower_case": true,
|
32 |
+
"eos_token": "<|endoftext|>",
|
33 |
+
"errors": "replace",
|
34 |
+
"model_max_length": 77,
|
35 |
+
"pad_token": "!",
|
36 |
+
"tokenizer_class": "CLIPTokenizer",
|
37 |
+
"unk_token": "<|endoftext|>"
|
38 |
+
}
|
tokenizer_2/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
unet/config.json
CHANGED
@@ -1,17 +1,20 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.33.0.dev0",
|
4 |
-
"_name_or_path": "stable-diffusion-
|
5 |
"act_fn": "silu",
|
6 |
-
"addition_embed_type":
|
7 |
"addition_embed_type_num_heads": 64,
|
8 |
-
"addition_time_embed_dim":
|
9 |
-
"attention_head_dim":
|
|
|
|
|
|
|
|
|
10 |
"attention_type": "default",
|
11 |
"block_out_channels": [
|
12 |
320,
|
13 |
640,
|
14 |
-
1280,
|
15 |
1280
|
16 |
],
|
17 |
"center_input_sample": false,
|
@@ -19,13 +22,12 @@
|
|
19 |
"class_embeddings_concat": false,
|
20 |
"conv_in_kernel": 3,
|
21 |
"conv_out_kernel": 3,
|
22 |
-
"cross_attention_dim":
|
23 |
"cross_attention_norm": null,
|
24 |
"down_block_types": [
|
|
|
25 |
"CrossAttnDownBlock2D",
|
26 |
-
"CrossAttnDownBlock2D"
|
27 |
-
"CrossAttnDownBlock2D",
|
28 |
-
"DownBlock2D"
|
29 |
],
|
30 |
"downsample_padding": 1,
|
31 |
"dropout": 0.0,
|
@@ -45,24 +47,27 @@
|
|
45 |
"num_class_embeds": null,
|
46 |
"only_cross_attention": false,
|
47 |
"out_channels": 4,
|
48 |
-
"projection_class_embeddings_input_dim":
|
49 |
"resnet_out_scale_factor": 1.0,
|
50 |
"resnet_skip_time_act": false,
|
51 |
"resnet_time_scale_shift": "default",
|
52 |
"reverse_transformer_layers_per_block": null,
|
53 |
-
"sample_size":
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
56 |
"time_embedding_dim": null,
|
57 |
"time_embedding_type": "positional",
|
58 |
"timestep_post_act": null,
|
59 |
-
"transformer_layers_per_block":
|
|
|
|
|
|
|
|
|
60 |
"up_block_types": [
|
61 |
-
"UpBlock2D",
|
62 |
"CrossAttnUpBlock2D",
|
63 |
"CrossAttnUpBlock2D",
|
64 |
-
"
|
65 |
],
|
66 |
-
"upcast_attention":
|
67 |
-
"use_linear_projection":
|
68 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.33.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
|
5 |
"act_fn": "silu",
|
6 |
+
"addition_embed_type": "text_time",
|
7 |
"addition_embed_type_num_heads": 64,
|
8 |
+
"addition_time_embed_dim": 256,
|
9 |
+
"attention_head_dim": [
|
10 |
+
5,
|
11 |
+
10,
|
12 |
+
20
|
13 |
+
],
|
14 |
"attention_type": "default",
|
15 |
"block_out_channels": [
|
16 |
320,
|
17 |
640,
|
|
|
18 |
1280
|
19 |
],
|
20 |
"center_input_sample": false,
|
|
|
22 |
"class_embeddings_concat": false,
|
23 |
"conv_in_kernel": 3,
|
24 |
"conv_out_kernel": 3,
|
25 |
+
"cross_attention_dim": 2048,
|
26 |
"cross_attention_norm": null,
|
27 |
"down_block_types": [
|
28 |
+
"DownBlock2D",
|
29 |
"CrossAttnDownBlock2D",
|
30 |
+
"CrossAttnDownBlock2D"
|
|
|
|
|
31 |
],
|
32 |
"downsample_padding": 1,
|
33 |
"dropout": 0.0,
|
|
|
47 |
"num_class_embeds": null,
|
48 |
"only_cross_attention": false,
|
49 |
"out_channels": 4,
|
50 |
+
"projection_class_embeddings_input_dim": 2816,
|
51 |
"resnet_out_scale_factor": 1.0,
|
52 |
"resnet_skip_time_act": false,
|
53 |
"resnet_time_scale_shift": "default",
|
54 |
"reverse_transformer_layers_per_block": null,
|
55 |
+
"sample_size": 128,
|
56 |
"time_cond_proj_dim": null,
|
57 |
"time_embedding_act_fn": null,
|
58 |
"time_embedding_dim": null,
|
59 |
"time_embedding_type": "positional",
|
60 |
"timestep_post_act": null,
|
61 |
+
"transformer_layers_per_block": [
|
62 |
+
1,
|
63 |
+
2,
|
64 |
+
10
|
65 |
+
],
|
66 |
"up_block_types": [
|
|
|
67 |
"CrossAttnUpBlock2D",
|
68 |
"CrossAttnUpBlock2D",
|
69 |
+
"UpBlock2D"
|
70 |
],
|
71 |
+
"upcast_attention": null,
|
72 |
+
"use_linear_projection": true
|
73 |
}
|
unet/diffusion_pytorch_model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:551cc57557101aa2fa272d1e7ccf769df8ef32381e24f279e111f74f94ca2aae
|
3 |
+
size 9988185240
|
unet/diffusion_pytorch_model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4bbfe671d5bc7b9d9307757545a059d66171d3354a4ec981e44264bd3f5bae8d
|
3 |
+
size 281938304
|
unet/diffusion_pytorch_model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.33.0.dev0",
|
4 |
-
"_name_or_path": "stable-diffusion-
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -24,8 +24,8 @@
|
|
24 |
"mid_block_add_attention": true,
|
25 |
"norm_num_groups": 32,
|
26 |
"out_channels": 3,
|
27 |
-
"sample_size":
|
28 |
-
"scaling_factor": 0.
|
29 |
"shift_factor": null,
|
30 |
"up_block_types": [
|
31 |
"UpDecoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.33.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
24 |
"mid_block_add_attention": true,
|
25 |
"norm_num_groups": 32,
|
26 |
"out_channels": 3,
|
27 |
+
"sample_size": 1024,
|
28 |
+
"scaling_factor": 0.13025,
|
29 |
"shift_factor": null,
|
30 |
"up_block_types": [
|
31 |
"UpDecoderBlock2D",
|
vae/diffusion_pytorch_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1598f3d24932bcfe6634e8b618ea1e30ab1d57f5aad13a6d2de446d2199f2341
|
3 |
+
size 334643268
|