End of training
Browse files- checkpoint-8000/optimizer.bin +3 -0
- checkpoint-8000/random_states_0.pkl +3 -0
- checkpoint-8000/scaler.pt +3 -0
- checkpoint-8000/scheduler.bin +3 -0
- checkpoint-8000/text_encoder/config.json +25 -0
- checkpoint-8000/text_encoder/model.safetensors +3 -0
- checkpoint-8000/unet/config.json +73 -0
- checkpoint-8000/unet/diffusion_pytorch_model.safetensors +3 -0
- model_index.json +5 -1
- scheduler/scheduler_config.json +1 -1
- text_encoder/config.json +2 -2
- text_encoder/model.safetensors +2 -2
- tokenizer/tokenizer_config.json +30 -25
- unet/config.json +3 -2
- unet/diffusion_pytorch_model.safetensors +1 -1
- vae/config.json +7 -2
checkpoint-8000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba3023889b16f442027e00b953815bb310d2bd985ec7f3c98aad988e22e849f2
|
3 |
+
size 2422804150
|
checkpoint-8000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41d2ddcb38420f097322cd1e6a824ae66146edd733f7947abd7beb64b6b1e399
|
3 |
+
size 14408
|
checkpoint-8000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:277aa13cb2ec6fbc8e4950a74aadb07696752963130be9aa03b65700e040b1b0
|
3 |
+
size 988
|
checkpoint-8000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:efff19450f55a9358b76f3e5170171942761d1c5b9128683028d0c09b8a24573
|
3 |
+
size 1000
|
checkpoint-8000/text_encoder/config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ricardo/Documents/PhD/fixed/diffusion-models_master/results/fusion_2-1-base/checkpoint-4000",
|
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": "float32",
|
23 |
+
"transformers_version": "4.41.0",
|
24 |
+
"vocab_size": 49408
|
25 |
+
}
|
checkpoint-8000/text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f11af7ac76b00694e46def1aa36c6533900fdf64035820d21eed35bac86f833c
|
3 |
+
size 1361596304
|
checkpoint-8000/unet/config.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.29.0",
|
4 |
+
"_name_or_path": "/home/ricardo/Documents/PhD/fixed/diffusion-models_master/results/fusion_2-1-base/checkpoint-4000",
|
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": [
|
10 |
+
5,
|
11 |
+
10,
|
12 |
+
20,
|
13 |
+
20
|
14 |
+
],
|
15 |
+
"attention_type": "default",
|
16 |
+
"block_out_channels": [
|
17 |
+
320,
|
18 |
+
640,
|
19 |
+
1280,
|
20 |
+
1280
|
21 |
+
],
|
22 |
+
"center_input_sample": false,
|
23 |
+
"class_embed_type": null,
|
24 |
+
"class_embeddings_concat": false,
|
25 |
+
"conv_in_kernel": 3,
|
26 |
+
"conv_out_kernel": 3,
|
27 |
+
"cross_attention_dim": 1024,
|
28 |
+
"cross_attention_norm": null,
|
29 |
+
"down_block_types": [
|
30 |
+
"CrossAttnDownBlock2D",
|
31 |
+
"CrossAttnDownBlock2D",
|
32 |
+
"CrossAttnDownBlock2D",
|
33 |
+
"DownBlock2D"
|
34 |
+
],
|
35 |
+
"downsample_padding": 1,
|
36 |
+
"dropout": 0.0,
|
37 |
+
"dual_cross_attention": false,
|
38 |
+
"encoder_hid_dim": null,
|
39 |
+
"encoder_hid_dim_type": null,
|
40 |
+
"flip_sin_to_cos": true,
|
41 |
+
"freq_shift": 0,
|
42 |
+
"in_channels": 4,
|
43 |
+
"layers_per_block": 2,
|
44 |
+
"mid_block_only_cross_attention": null,
|
45 |
+
"mid_block_scale_factor": 1,
|
46 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
47 |
+
"norm_eps": 1e-05,
|
48 |
+
"norm_num_groups": 32,
|
49 |
+
"num_attention_heads": null,
|
50 |
+
"num_class_embeds": null,
|
51 |
+
"only_cross_attention": false,
|
52 |
+
"out_channels": 4,
|
53 |
+
"projection_class_embeddings_input_dim": null,
|
54 |
+
"resnet_out_scale_factor": 1.0,
|
55 |
+
"resnet_skip_time_act": false,
|
56 |
+
"resnet_time_scale_shift": "default",
|
57 |
+
"reverse_transformer_layers_per_block": null,
|
58 |
+
"sample_size": 64,
|
59 |
+
"time_cond_proj_dim": null,
|
60 |
+
"time_embedding_act_fn": null,
|
61 |
+
"time_embedding_dim": null,
|
62 |
+
"time_embedding_type": "positional",
|
63 |
+
"timestep_post_act": null,
|
64 |
+
"transformer_layers_per_block": 1,
|
65 |
+
"up_block_types": [
|
66 |
+
"UpBlock2D",
|
67 |
+
"CrossAttnUpBlock2D",
|
68 |
+
"CrossAttnUpBlock2D",
|
69 |
+
"CrossAttnUpBlock2D"
|
70 |
+
],
|
71 |
+
"upcast_attention": false,
|
72 |
+
"use_linear_projection": true
|
73 |
+
}
|
checkpoint-8000/unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9410122175de91cb1954a4d42716da1f2c394877a6ed19792b04a9897c3c693
|
3 |
+
size 3463726504
|
model_index.json
CHANGED
@@ -1,11 +1,15 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"_name_or_path": "stabilityai/stable-diffusion-2-1-base",
|
5 |
"feature_extractor": [
|
6 |
null,
|
7 |
null
|
8 |
],
|
|
|
|
|
|
|
|
|
9 |
"requires_safety_checker": false,
|
10 |
"safety_checker": [
|
11 |
null,
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.29.0",
|
4 |
"_name_or_path": "stabilityai/stable-diffusion-2-1-base",
|
5 |
"feature_extractor": [
|
6 |
null,
|
7 |
null
|
8 |
],
|
9 |
+
"image_encoder": [
|
10 |
+
null,
|
11 |
+
null
|
12 |
+
],
|
13 |
"requires_safety_checker": false,
|
14 |
"safety_checker": [
|
15 |
null,
|
scheduler/scheduler_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "PNDMScheduler",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
|
|
1 |
{
|
2 |
"_class_name": "PNDMScheduler",
|
3 |
+
"_diffusers_version": "0.29.0",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
@@ -20,6 +20,6 @@
|
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 512,
|
22 |
"torch_dtype": "float32",
|
23 |
-
"transformers_version": "4.
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/home/ricardo/Documents/PhD/fixed/diffusion-models_master/results/fusion_2-1-base/checkpoint-4000",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 512,
|
22 |
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.41.0",
|
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:e6daf04536e685a10d3f185e0415a416d3d7bfe17e29ddcb9e35c0838e082824
|
3 |
+
size 1361596304
|
tokenizer/tokenizer_config.json
CHANGED
@@ -1,33 +1,38 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
-
"
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "
|
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 |
}
|
|
|
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 |
}
|
unet/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
@@ -54,6 +54,7 @@
|
|
54 |
"resnet_out_scale_factor": 1.0,
|
55 |
"resnet_skip_time_act": false,
|
56 |
"resnet_time_scale_shift": "default",
|
|
|
57 |
"sample_size": 64,
|
58 |
"time_cond_proj_dim": null,
|
59 |
"time_embedding_act_fn": null,
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.29.0",
|
4 |
+
"_name_or_path": "/home/ricardo/Documents/PhD/fixed/diffusion-models_master/results/fusion_2-1-base/checkpoint-4000",
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
|
|
54 |
"resnet_out_scale_factor": 1.0,
|
55 |
"resnet_skip_time_act": false,
|
56 |
"resnet_time_scale_shift": "default",
|
57 |
+
"reverse_transformer_layers_per_block": null,
|
58 |
"sample_size": 64,
|
59 |
"time_cond_proj_dim": null,
|
60 |
"time_embedding_act_fn": null,
|
unet/diffusion_pytorch_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3463726504
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e7d077089f61607e1b0533aa6cd353a5cd3fa02c180f442877bdc68e1623250
|
3 |
size 3463726504
|
vae/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"_name_or_path": "stabilityai/stable-diffusion-2-1-base",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
@@ -18,15 +18,20 @@
|
|
18 |
"force_upcast": true,
|
19 |
"in_channels": 3,
|
20 |
"latent_channels": 4,
|
|
|
|
|
21 |
"layers_per_block": 2,
|
22 |
"norm_num_groups": 32,
|
23 |
"out_channels": 3,
|
24 |
"sample_size": 768,
|
25 |
"scaling_factor": 0.18215,
|
|
|
26 |
"up_block_types": [
|
27 |
"UpDecoderBlock2D",
|
28 |
"UpDecoderBlock2D",
|
29 |
"UpDecoderBlock2D",
|
30 |
"UpDecoderBlock2D"
|
31 |
-
]
|
|
|
|
|
32 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.29.0",
|
4 |
"_name_or_path": "stabilityai/stable-diffusion-2-1-base",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
|
|
18 |
"force_upcast": true,
|
19 |
"in_channels": 3,
|
20 |
"latent_channels": 4,
|
21 |
+
"latents_mean": null,
|
22 |
+
"latents_std": null,
|
23 |
"layers_per_block": 2,
|
24 |
"norm_num_groups": 32,
|
25 |
"out_channels": 3,
|
26 |
"sample_size": 768,
|
27 |
"scaling_factor": 0.18215,
|
28 |
+
"shift_factor": null,
|
29 |
"up_block_types": [
|
30 |
"UpDecoderBlock2D",
|
31 |
"UpDecoderBlock2D",
|
32 |
"UpDecoderBlock2D",
|
33 |
"UpDecoderBlock2D"
|
34 |
+
],
|
35 |
+
"use_post_quant_conv": true,
|
36 |
+
"use_quant_conv": true
|
37 |
}
|