moteloumka
commited on
Commit
•
44cedf7
1
Parent(s):
105c33c
End of training
Browse files- README.md +4 -4
- checkpoint-1000/optimizer.bin +2 -2
- checkpoint-1000/random_states_0.pkl +2 -2
- checkpoint-1000/unet/config.json +5 -10
- checkpoint-1000/unet/diffusion_pytorch_model.safetensors +2 -2
- checkpoint-1500/optimizer.bin +3 -0
- checkpoint-1500/random_states_0.pkl +3 -0
- checkpoint-1500/scheduler.bin +3 -0
- checkpoint-1500/unet/config.json +68 -0
- checkpoint-1500/unet/diffusion_pytorch_model.safetensors +3 -0
- checkpoint-500/optimizer.bin +2 -2
- checkpoint-500/random_states_0.pkl +2 -2
- checkpoint-500/unet/config.json +5 -10
- checkpoint-500/unet/diffusion_pytorch_model.safetensors +2 -2
- logs/dreambooth/1704957461.4648933/events.out.tfevents.1704957461.nqnovjm5g0.229.1 +3 -0
- logs/dreambooth/1704957461.4675572/hparams.yml +60 -0
- logs/dreambooth/events.out.tfevents.1704957461.nqnovjm5g0.229.0 +3 -0
- model_index.json +5 -5
- safety_checker/config.json +1 -1
- scheduler/scheduler_config.json +2 -7
- text_encoder/config.json +7 -7
- text_encoder/model.safetensors +2 -2
- tokenizer/special_tokens_map.json +1 -1
- tokenizer/tokenizer_config.json +1 -9
- unet/config.json +5 -10
- unet/diffusion_pytorch_model.safetensors +2 -2
- vae/config.json +2 -2
- vae/diffusion_pytorch_model.safetensors +1 -1
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
|
2 |
---
|
3 |
license: creativeml-openrail-m
|
4 |
-
base_model:
|
5 |
-
instance_prompt: a
|
6 |
tags:
|
7 |
- stable-diffusion
|
8 |
- stable-diffusion-diffusers
|
@@ -14,9 +14,9 @@ inference: true
|
|
14 |
|
15 |
# DreamBooth - moteloumka/model
|
16 |
|
17 |
-
This is a dreambooth model derived from
|
18 |
You can find some example images in the following.
|
19 |
|
20 |
|
21 |
|
22 |
-
DreamBooth for the text encoder was enabled:
|
|
|
1 |
|
2 |
---
|
3 |
license: creativeml-openrail-m
|
4 |
+
base_model: runwayml/stable-diffusion-v1-5
|
5 |
+
instance_prompt: a picture of oghj woman
|
6 |
tags:
|
7 |
- stable-diffusion
|
8 |
- stable-diffusion-diffusers
|
|
|
14 |
|
15 |
# DreamBooth - moteloumka/model
|
16 |
|
17 |
+
This is a dreambooth model derived from runwayml/stable-diffusion-v1-5. The weights were trained on a picture of oghj woman using [DreamBooth](https://dreambooth.github.io/).
|
18 |
You can find some example images in the following.
|
19 |
|
20 |
|
21 |
|
22 |
+
DreamBooth for the text encoder was enabled: False.
|
checkpoint-1000/optimizer.bin
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:e1ef578c13bd2536ccd5c1423a39a147b223a244d2c7ae48b65876662ea38e62
|
3 |
+
size 1725110394
|
checkpoint-1000/random_states_0.pkl
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:327e512a38c60a12f8ba1d3915bc9e397ae13c6f390db7f4470c148e7931b123
|
3 |
+
size 14344
|
checkpoint-1000/unet/config.json
CHANGED
@@ -1,17 +1,12 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
-
"_name_or_path": "
|
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,
|
@@ -24,7 +19,7 @@
|
|
24 |
"class_embeddings_concat": false,
|
25 |
"conv_in_kernel": 3,
|
26 |
"conv_out_kernel": 3,
|
27 |
-
"cross_attention_dim":
|
28 |
"cross_attention_norm": null,
|
29 |
"down_block_types": [
|
30 |
"CrossAttnDownBlock2D",
|
@@ -55,7 +50,7 @@
|
|
55 |
"resnet_skip_time_act": false,
|
56 |
"resnet_time_scale_shift": "default",
|
57 |
"reverse_transformer_layers_per_block": null,
|
58 |
-
"sample_size":
|
59 |
"time_cond_proj_dim": null,
|
60 |
"time_embedding_act_fn": null,
|
61 |
"time_embedding_dim": null,
|
@@ -69,5 +64,5 @@
|
|
69 |
"CrossAttnUpBlock2D"
|
70 |
],
|
71 |
"upcast_attention": false,
|
72 |
-
"use_linear_projection":
|
73 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
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,
|
|
|
19 |
"class_embeddings_concat": false,
|
20 |
"conv_in_kernel": 3,
|
21 |
"conv_out_kernel": 3,
|
22 |
+
"cross_attention_dim": 768,
|
23 |
"cross_attention_norm": null,
|
24 |
"down_block_types": [
|
25 |
"CrossAttnDownBlock2D",
|
|
|
50 |
"resnet_skip_time_act": false,
|
51 |
"resnet_time_scale_shift": "default",
|
52 |
"reverse_transformer_layers_per_block": null,
|
53 |
+
"sample_size": 64,
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
56 |
"time_embedding_dim": null,
|
|
|
64 |
"CrossAttnUpBlock2D"
|
65 |
],
|
66 |
"upcast_attention": false,
|
67 |
+
"use_linear_projection": false
|
68 |
}
|
checkpoint-1000/unet/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:a47c26391517730024585a660b3958f252465bf182c6815eead504151560ae5b
|
3 |
+
size 3438167536
|
checkpoint-1500/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf52cad6dd8d385c54dcb519a8671a7f20c0f4996f9222931ef21005d95713f3
|
3 |
+
size 1725110394
|
checkpoint-1500/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77c239e8aca517c964d6d32f7e71252280f861bba65d3fa9db0e1d2a086eb393
|
3 |
+
size 14344
|
checkpoint-1500/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f8108c9f3ee073c12b3784e0f4fdb33e21478fc1e37ff98e67bf025cabaa140
|
3 |
+
size 1000
|
checkpoint-1500/unet/config.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.26.0.dev0",
|
4 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
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 |
+
1280
|
16 |
+
],
|
17 |
+
"center_input_sample": false,
|
18 |
+
"class_embed_type": null,
|
19 |
+
"class_embeddings_concat": false,
|
20 |
+
"conv_in_kernel": 3,
|
21 |
+
"conv_out_kernel": 3,
|
22 |
+
"cross_attention_dim": 768,
|
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,
|
32 |
+
"dual_cross_attention": false,
|
33 |
+
"encoder_hid_dim": null,
|
34 |
+
"encoder_hid_dim_type": null,
|
35 |
+
"flip_sin_to_cos": true,
|
36 |
+
"freq_shift": 0,
|
37 |
+
"in_channels": 4,
|
38 |
+
"layers_per_block": 2,
|
39 |
+
"mid_block_only_cross_attention": null,
|
40 |
+
"mid_block_scale_factor": 1,
|
41 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
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 |
+
"out_channels": 4,
|
48 |
+
"projection_class_embeddings_input_dim": null,
|
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": 64,
|
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": 1,
|
60 |
+
"up_block_types": [
|
61 |
+
"UpBlock2D",
|
62 |
+
"CrossAttnUpBlock2D",
|
63 |
+
"CrossAttnUpBlock2D",
|
64 |
+
"CrossAttnUpBlock2D"
|
65 |
+
],
|
66 |
+
"upcast_attention": false,
|
67 |
+
"use_linear_projection": false
|
68 |
+
}
|
checkpoint-1500/unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:856a2b3b134a70c437e5b58d05c41b4639327ae8324d7188c662a2fec742168e
|
3 |
+
size 3438167536
|
checkpoint-500/optimizer.bin
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:c00ae596f5993297dc559733a691689f854e52bb68d84a5c3f6d15f80c8de3da
|
3 |
+
size 1725110394
|
checkpoint-500/random_states_0.pkl
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:da106af12d8b74a5e6c575cfce8b3606e12557a55d3d35192d83370a5d92c092
|
3 |
+
size 14344
|
checkpoint-500/unet/config.json
CHANGED
@@ -1,17 +1,12 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
-
"_name_or_path": "
|
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,
|
@@ -24,7 +19,7 @@
|
|
24 |
"class_embeddings_concat": false,
|
25 |
"conv_in_kernel": 3,
|
26 |
"conv_out_kernel": 3,
|
27 |
-
"cross_attention_dim":
|
28 |
"cross_attention_norm": null,
|
29 |
"down_block_types": [
|
30 |
"CrossAttnDownBlock2D",
|
@@ -55,7 +50,7 @@
|
|
55 |
"resnet_skip_time_act": false,
|
56 |
"resnet_time_scale_shift": "default",
|
57 |
"reverse_transformer_layers_per_block": null,
|
58 |
-
"sample_size":
|
59 |
"time_cond_proj_dim": null,
|
60 |
"time_embedding_act_fn": null,
|
61 |
"time_embedding_dim": null,
|
@@ -69,5 +64,5 @@
|
|
69 |
"CrossAttnUpBlock2D"
|
70 |
],
|
71 |
"upcast_attention": false,
|
72 |
-
"use_linear_projection":
|
73 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
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,
|
|
|
19 |
"class_embeddings_concat": false,
|
20 |
"conv_in_kernel": 3,
|
21 |
"conv_out_kernel": 3,
|
22 |
+
"cross_attention_dim": 768,
|
23 |
"cross_attention_norm": null,
|
24 |
"down_block_types": [
|
25 |
"CrossAttnDownBlock2D",
|
|
|
50 |
"resnet_skip_time_act": false,
|
51 |
"resnet_time_scale_shift": "default",
|
52 |
"reverse_transformer_layers_per_block": null,
|
53 |
+
"sample_size": 64,
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
56 |
"time_embedding_dim": null,
|
|
|
64 |
"CrossAttnUpBlock2D"
|
65 |
],
|
66 |
"upcast_attention": false,
|
67 |
+
"use_linear_projection": false
|
68 |
}
|
checkpoint-500/unet/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:e6525f2b5a2d6f0c81cda52973a9f6aeb9f61cebc8abf76d0706a7ae8d1b5ea5
|
3 |
+
size 3438167536
|
logs/dreambooth/1704957461.4648933/events.out.tfevents.1704957461.nqnovjm5g0.229.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d3ecee2d56fa6561681cb506d3349e8720c0d77f0c4becd2f52ca659bf086c7d
|
3 |
+
size 2899
|
logs/dreambooth/1704957461.4675572/hparams.yml
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
center_crop: false
|
7 |
+
checkpointing_steps: 500
|
8 |
+
checkpoints_total_limit: null
|
9 |
+
class_data_dir: /notebooks/diffusers/examples/dreambooth/gen_woman
|
10 |
+
class_labels_conditioning: null
|
11 |
+
class_prompt: picture of a woman
|
12 |
+
dataloader_num_workers: 0
|
13 |
+
enable_xformers_memory_efficient_attention: false
|
14 |
+
gradient_accumulation_steps: 2
|
15 |
+
gradient_checkpointing: true
|
16 |
+
hub_model_id: null
|
17 |
+
hub_token: null
|
18 |
+
instance_data_dir: /notebooks/diffusers/examples/dreambooth/sonja
|
19 |
+
instance_prompt: a picture of oghj woman
|
20 |
+
learning_rate: 2.0e-06
|
21 |
+
local_rank: -1
|
22 |
+
logging_dir: logs
|
23 |
+
lr_num_cycles: 1
|
24 |
+
lr_power: 1.0
|
25 |
+
lr_scheduler: constant
|
26 |
+
lr_warmup_steps: 0
|
27 |
+
max_grad_norm: 1.0
|
28 |
+
max_train_steps: 1500
|
29 |
+
mixed_precision: null
|
30 |
+
num_class_images: 450
|
31 |
+
num_train_epochs: 7
|
32 |
+
num_validation_images: 4
|
33 |
+
offset_noise: false
|
34 |
+
output_dir: /notebooks/model
|
35 |
+
pre_compute_text_embeddings: false
|
36 |
+
pretrained_model_name_or_path: runwayml/stable-diffusion-v1-5
|
37 |
+
prior_generation_precision: null
|
38 |
+
prior_loss_weight: 1.0
|
39 |
+
push_to_hub: true
|
40 |
+
report_to: tensorboard
|
41 |
+
resolution: 512
|
42 |
+
resume_from_checkpoint: null
|
43 |
+
revision: null
|
44 |
+
sample_batch_size: 4
|
45 |
+
scale_lr: false
|
46 |
+
seed: null
|
47 |
+
set_grads_to_none: false
|
48 |
+
skip_save_text_encoder: false
|
49 |
+
snr_gamma: null
|
50 |
+
text_encoder_use_attention_mask: false
|
51 |
+
tokenizer_max_length: null
|
52 |
+
tokenizer_name: null
|
53 |
+
train_batch_size: 1
|
54 |
+
train_text_encoder: false
|
55 |
+
use_8bit_adam: true
|
56 |
+
validation_prompt: null
|
57 |
+
validation_scheduler: DPMSolverMultistepScheduler
|
58 |
+
validation_steps: 100
|
59 |
+
variant: null
|
60 |
+
with_prior_preservation: true
|
logs/dreambooth/events.out.tfevents.1704957461.nqnovjm5g0.229.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d669e1cfd6a28f308cfddbcbbea74ba2d2eda14eb1752225670edadad2e08223
|
3 |
+
size 251526
|
model_index.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"feature_extractor": [
|
6 |
"transformers",
|
7 |
"CLIPImageProcessor"
|
@@ -10,14 +10,14 @@
|
|
10 |
null,
|
11 |
null
|
12 |
],
|
13 |
-
"requires_safety_checker":
|
14 |
"safety_checker": [
|
15 |
-
|
16 |
-
|
17 |
],
|
18 |
"scheduler": [
|
19 |
"diffusers",
|
20 |
-
"
|
21 |
],
|
22 |
"text_encoder": [
|
23 |
"transformers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
5 |
"feature_extractor": [
|
6 |
"transformers",
|
7 |
"CLIPImageProcessor"
|
|
|
10 |
null,
|
11 |
null
|
12 |
],
|
13 |
+
"requires_safety_checker": true,
|
14 |
"safety_checker": [
|
15 |
+
"stable_diffusion",
|
16 |
+
"StableDiffusionSafetyChecker"
|
17 |
],
|
18 |
"scheduler": [
|
19 |
"diffusers",
|
20 |
+
"PNDMScheduler"
|
21 |
],
|
22 |
"text_encoder": [
|
23 |
"transformers",
|
safety_checker/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/root/.cache/huggingface/hub/models--
|
3 |
"architectures": [
|
4 |
"StableDiffusionSafetyChecker"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/safety_checker",
|
3 |
"architectures": [
|
4 |
"StableDiffusionSafetyChecker"
|
5 |
],
|
scheduler/scheduler_config.json
CHANGED
@@ -1,20 +1,15 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
8 |
-
"clip_sample_range": 1.0,
|
9 |
-
"dynamic_thresholding_ratio": 0.995,
|
10 |
"num_train_timesteps": 1000,
|
11 |
-
"prediction_type": "
|
12 |
-
"rescale_betas_zero_snr": false,
|
13 |
-
"sample_max_value": 1.0,
|
14 |
"set_alpha_to_one": false,
|
15 |
"skip_prk_steps": true,
|
16 |
"steps_offset": 1,
|
17 |
-
"thresholding": false,
|
18 |
"timestep_spacing": "leading",
|
19 |
"trained_betas": null
|
20 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "PNDMScheduler",
|
3 |
"_diffusers_version": "0.26.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 |
"trained_betas": null
|
15 |
}
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
@@ -7,18 +7,18 @@
|
|
7 |
"bos_token_id": 0,
|
8 |
"dropout": 0.0,
|
9 |
"eos_token_id": 2,
|
10 |
-
"hidden_act": "
|
11 |
-
"hidden_size":
|
12 |
"initializer_factor": 1.0,
|
13 |
"initializer_range": 0.02,
|
14 |
-
"intermediate_size":
|
15 |
"layer_norm_eps": 1e-05,
|
16 |
"max_position_embeddings": 77,
|
17 |
"model_type": "clip_text_model",
|
18 |
-
"num_attention_heads":
|
19 |
-
"num_hidden_layers":
|
20 |
"pad_token_id": 1,
|
21 |
-
"projection_dim":
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.36.2",
|
24 |
"vocab_size": 49408
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
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 |
+
"projection_dim": 768,
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.36.2",
|
24 |
"vocab_size": 49408
|
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:778d02eb9e707c3fbaae0b67b79ea0d1399b52e624fb634f2f19375ae7c047c3
|
3 |
+
size 492265168
|
tokenizer/special_tokens_map.json
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"pad_token": "
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
tokenizer/tokenizer_config.json
CHANGED
@@ -1,14 +1,6 @@
|
|
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,
|
@@ -32,7 +24,7 @@
|
|
32 |
"eos_token": "<|endoftext|>",
|
33 |
"errors": "replace",
|
34 |
"model_max_length": 77,
|
35 |
-
"pad_token": "
|
36 |
"tokenizer_class": "CLIPTokenizer",
|
37 |
"unk_token": "<|endoftext|>"
|
38 |
}
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
"added_tokens_decoder": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"49406": {
|
5 |
"content": "<|startoftext|>",
|
6 |
"lstrip": false,
|
|
|
24 |
"eos_token": "<|endoftext|>",
|
25 |
"errors": "replace",
|
26 |
"model_max_length": 77,
|
27 |
+
"pad_token": "<|endoftext|>",
|
28 |
"tokenizer_class": "CLIPTokenizer",
|
29 |
"unk_token": "<|endoftext|>"
|
30 |
}
|
unet/config.json
CHANGED
@@ -1,17 +1,12 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
-
"_name_or_path": "
|
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,
|
@@ -24,7 +19,7 @@
|
|
24 |
"class_embeddings_concat": false,
|
25 |
"conv_in_kernel": 3,
|
26 |
"conv_out_kernel": 3,
|
27 |
-
"cross_attention_dim":
|
28 |
"cross_attention_norm": null,
|
29 |
"down_block_types": [
|
30 |
"CrossAttnDownBlock2D",
|
@@ -55,7 +50,7 @@
|
|
55 |
"resnet_skip_time_act": false,
|
56 |
"resnet_time_scale_shift": "default",
|
57 |
"reverse_transformer_layers_per_block": null,
|
58 |
-
"sample_size":
|
59 |
"time_cond_proj_dim": null,
|
60 |
"time_embedding_act_fn": null,
|
61 |
"time_embedding_dim": null,
|
@@ -69,5 +64,5 @@
|
|
69 |
"CrossAttnUpBlock2D"
|
70 |
],
|
71 |
"upcast_attention": false,
|
72 |
-
"use_linear_projection":
|
73 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
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,
|
|
|
19 |
"class_embeddings_concat": false,
|
20 |
"conv_in_kernel": 3,
|
21 |
"conv_out_kernel": 3,
|
22 |
+
"cross_attention_dim": 768,
|
23 |
"cross_attention_norm": null,
|
24 |
"down_block_types": [
|
25 |
"CrossAttnDownBlock2D",
|
|
|
50 |
"resnet_skip_time_act": false,
|
51 |
"resnet_time_scale_shift": "default",
|
52 |
"reverse_transformer_layers_per_block": null,
|
53 |
+
"sample_size": 64,
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
56 |
"time_embedding_dim": null,
|
|
|
64 |
"CrossAttnUpBlock2D"
|
65 |
],
|
66 |
"upcast_attention": false,
|
67 |
+
"use_linear_projection": false
|
68 |
}
|
unet/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:856a2b3b134a70c437e5b58d05c41b4639327ae8324d7188c662a2fec742168e
|
3 |
+
size 3438167536
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
-
"_name_or_path": "/root/.cache/huggingface/hub/models--
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -21,7 +21,7 @@
|
|
21 |
"layers_per_block": 2,
|
22 |
"norm_num_groups": 32,
|
23 |
"out_channels": 3,
|
24 |
-
"sample_size":
|
25 |
"scaling_factor": 0.18215,
|
26 |
"up_block_types": [
|
27 |
"UpDecoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.26.0.dev0",
|
4 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/vae",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
21 |
"layers_per_block": 2,
|
22 |
"norm_num_groups": 32,
|
23 |
"out_channels": 3,
|
24 |
+
"sample_size": 512,
|
25 |
"scaling_factor": 0.18215,
|
26 |
"up_block_types": [
|
27 |
"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 334643268
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4d2b5932bb4151e54e694fd31ccf51fca908223c9485bd56cd0e1d83ad94c49
|
3 |
size 334643268
|