Redamancy2299
commited on
Commit
•
2b2d2da
1
Parent(s):
0f5c6b7
End of training
Browse files- README.md +2 -2
- checkpoint-1000/optimizer.bin +2 -2
- checkpoint-1000/random_states_0.pkl +2 -2
- checkpoint-1000/scaler.pt +1 -1
- checkpoint-1000/scheduler.bin +1 -1
- checkpoint-1000/unet/config.json +11 -6
- checkpoint-1000/unet/diffusion_pytorch_model.bin +2 -2
- checkpoint-500/optimizer.bin +2 -2
- checkpoint-500/random_states_0.pkl +2 -2
- checkpoint-500/scaler.pt +1 -1
- checkpoint-500/scheduler.bin +1 -1
- checkpoint-500/unet/config.json +11 -6
- checkpoint-500/unet/diffusion_pytorch_model.bin +2 -2
- logs/dreambooth/1688034884.9336262/events.out.tfevents.1688034884.szth-acg-bcc04f1143.szth.baidu.com.21070.1 +3 -0
- logs/dreambooth/1688034884.93538/hparams.yml +58 -0
- logs/dreambooth/events.out.tfevents.1688034884.szth-acg-bcc04f1143.szth.baidu.com.21070.0 +3 -0
- model_index.json +4 -4
- scheduler/scheduler_config.json +8 -2
- text_encoder/config.json +7 -7
- text_encoder/pytorch_model.bin +2 -2
- tokenizer/special_tokens_map.json +1 -1
- tokenizer/tokenizer_config.json +1 -1
- unet/config.json +11 -6
- unet/diffusion_pytorch_model.bin +2 -2
- vae/config.json +2 -2
- vae/diffusion_pytorch_model.bin +1 -1
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
|
2 |
---
|
3 |
license: creativeml-openrail-m
|
4 |
-
base_model:
|
5 |
instance_prompt: A traffic cone falling on its side on the road
|
6 |
tags:
|
7 |
- stable-diffusion
|
@@ -14,7 +14,7 @@ inference: true
|
|
14 |
|
15 |
# DreamBooth - Redamancy2299/dreambooth2
|
16 |
|
17 |
-
This is a dreambooth model derived from
|
18 |
You can find some example images in the following.
|
19 |
|
20 |
|
|
|
1 |
|
2 |
---
|
3 |
license: creativeml-openrail-m
|
4 |
+
base_model: stabilityai/stable-diffusion-2-1
|
5 |
instance_prompt: A traffic cone falling on its side on the road
|
6 |
tags:
|
7 |
- stable-diffusion
|
|
|
14 |
|
15 |
# DreamBooth - Redamancy2299/dreambooth2
|
16 |
|
17 |
+
This is a dreambooth model derived from stabilityai/stable-diffusion-2-1. The weights were trained on A traffic cone falling on its side on the road using [DreamBooth](https://dreambooth.github.io/).
|
18 |
You can find some example images in the following.
|
19 |
|
20 |
|
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:3d8ad143a8517a84700a62e26baa7035bd8bed667905e94a325d0a5a7579d1ba
|
3 |
+
size 2415
|
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:91c31bd947ca572218d63246b0c4b35bf3b55edd361c4f4533b75eef6f28468d
|
3 |
+
size 21579
|
checkpoint-1000/scaler.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 559
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5df0168a751b1257361283b5aa0c288d7c712011edfd861c618859611a2278ec
|
3 |
size 559
|
checkpoint-1000/scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 559
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e95248609fc637ed08a1d1a53233698e8d0b18b858d65436cf7893787be3fd58
|
3 |
size 559
|
checkpoint-1000/unet/config.json
CHANGED
@@ -1,11 +1,16 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
8 |
-
"attention_head_dim":
|
|
|
|
|
|
|
|
|
|
|
9 |
"block_out_channels": [
|
10 |
320,
|
11 |
640,
|
@@ -17,7 +22,7 @@
|
|
17 |
"class_embeddings_concat": false,
|
18 |
"conv_in_kernel": 3,
|
19 |
"conv_out_kernel": 3,
|
20 |
-
"cross_attention_dim":
|
21 |
"cross_attention_norm": null,
|
22 |
"down_block_types": [
|
23 |
"CrossAttnDownBlock2D",
|
@@ -45,7 +50,7 @@
|
|
45 |
"resnet_out_scale_factor": 1.0,
|
46 |
"resnet_skip_time_act": false,
|
47 |
"resnet_time_scale_shift": "default",
|
48 |
-
"sample_size":
|
49 |
"time_cond_proj_dim": null,
|
50 |
"time_embedding_act_fn": null,
|
51 |
"time_embedding_dim": null,
|
@@ -57,6 +62,6 @@
|
|
57 |
"CrossAttnUpBlock2D",
|
58 |
"CrossAttnUpBlock2D"
|
59 |
],
|
60 |
-
"upcast_attention":
|
61 |
-
"use_linear_projection":
|
62 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
8 |
+
"attention_head_dim": [
|
9 |
+
5,
|
10 |
+
10,
|
11 |
+
20,
|
12 |
+
20
|
13 |
+
],
|
14 |
"block_out_channels": [
|
15 |
320,
|
16 |
640,
|
|
|
22 |
"class_embeddings_concat": false,
|
23 |
"conv_in_kernel": 3,
|
24 |
"conv_out_kernel": 3,
|
25 |
+
"cross_attention_dim": 1024,
|
26 |
"cross_attention_norm": null,
|
27 |
"down_block_types": [
|
28 |
"CrossAttnDownBlock2D",
|
|
|
50 |
"resnet_out_scale_factor": 1.0,
|
51 |
"resnet_skip_time_act": false,
|
52 |
"resnet_time_scale_shift": "default",
|
53 |
+
"sample_size": 96,
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
56 |
"time_embedding_dim": null,
|
|
|
62 |
"CrossAttnUpBlock2D",
|
63 |
"CrossAttnUpBlock2D"
|
64 |
],
|
65 |
+
"upcast_attention": true,
|
66 |
+
"use_linear_projection": true
|
67 |
}
|
checkpoint-1000/unet/diffusion_pytorch_model.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:5d084337c1357e767608807670329217d8428d9124efab1918d4ddccfb164569
|
3 |
+
size 3463923045
|
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:3d8ad143a8517a84700a62e26baa7035bd8bed667905e94a325d0a5a7579d1ba
|
3 |
+
size 2415
|
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:3d0fa737b2da2ec8cc0eaa4a0855b492dd418c38ff5055488b6327c7a189d89e
|
3 |
+
size 21579
|
checkpoint-500/scaler.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 559
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5df0168a751b1257361283b5aa0c288d7c712011edfd861c618859611a2278ec
|
3 |
size 559
|
checkpoint-500/scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 559
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aac83d063e5e49eecc7301bf55b1703744f97d5fce722fa91c3aa12c444247c3
|
3 |
size 559
|
checkpoint-500/unet/config.json
CHANGED
@@ -1,11 +1,16 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
8 |
-
"attention_head_dim":
|
|
|
|
|
|
|
|
|
|
|
9 |
"block_out_channels": [
|
10 |
320,
|
11 |
640,
|
@@ -17,7 +22,7 @@
|
|
17 |
"class_embeddings_concat": false,
|
18 |
"conv_in_kernel": 3,
|
19 |
"conv_out_kernel": 3,
|
20 |
-
"cross_attention_dim":
|
21 |
"cross_attention_norm": null,
|
22 |
"down_block_types": [
|
23 |
"CrossAttnDownBlock2D",
|
@@ -45,7 +50,7 @@
|
|
45 |
"resnet_out_scale_factor": 1.0,
|
46 |
"resnet_skip_time_act": false,
|
47 |
"resnet_time_scale_shift": "default",
|
48 |
-
"sample_size":
|
49 |
"time_cond_proj_dim": null,
|
50 |
"time_embedding_act_fn": null,
|
51 |
"time_embedding_dim": null,
|
@@ -57,6 +62,6 @@
|
|
57 |
"CrossAttnUpBlock2D",
|
58 |
"CrossAttnUpBlock2D"
|
59 |
],
|
60 |
-
"upcast_attention":
|
61 |
-
"use_linear_projection":
|
62 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
8 |
+
"attention_head_dim": [
|
9 |
+
5,
|
10 |
+
10,
|
11 |
+
20,
|
12 |
+
20
|
13 |
+
],
|
14 |
"block_out_channels": [
|
15 |
320,
|
16 |
640,
|
|
|
22 |
"class_embeddings_concat": false,
|
23 |
"conv_in_kernel": 3,
|
24 |
"conv_out_kernel": 3,
|
25 |
+
"cross_attention_dim": 1024,
|
26 |
"cross_attention_norm": null,
|
27 |
"down_block_types": [
|
28 |
"CrossAttnDownBlock2D",
|
|
|
50 |
"resnet_out_scale_factor": 1.0,
|
51 |
"resnet_skip_time_act": false,
|
52 |
"resnet_time_scale_shift": "default",
|
53 |
+
"sample_size": 96,
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
56 |
"time_embedding_dim": null,
|
|
|
62 |
"CrossAttnUpBlock2D",
|
63 |
"CrossAttnUpBlock2D"
|
64 |
],
|
65 |
+
"upcast_attention": true,
|
66 |
+
"use_linear_projection": true
|
67 |
}
|
checkpoint-500/unet/diffusion_pytorch_model.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:5d084337c1357e767608807670329217d8428d9124efab1918d4ddccfb164569
|
3 |
+
size 3463923045
|
logs/dreambooth/1688034884.9336262/events.out.tfevents.1688034884.szth-acg-bcc04f1143.szth.baidu.com.21070.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26c77aa8bdc225b66891272f3abf0c335506bb6813063908594fd3063aa98c70
|
3 |
+
size 2712
|
logs/dreambooth/1688034884.93538/hparams.yml
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: null
|
10 |
+
class_labels_conditioning: null
|
11 |
+
class_prompt: null
|
12 |
+
dataloader_num_workers: 0
|
13 |
+
enable_xformers_memory_efficient_attention: false
|
14 |
+
gradient_accumulation_steps: 1
|
15 |
+
gradient_checkpointing: false
|
16 |
+
hub_model_id: null
|
17 |
+
hub_token: null
|
18 |
+
instance_data_dir: ./zhuitong
|
19 |
+
instance_prompt: A traffic cone falling on its side on the road
|
20 |
+
learning_rate: 5.0e-06
|
21 |
+
local_rank: 0
|
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: 1200
|
29 |
+
mixed_precision: null
|
30 |
+
num_class_images: 100
|
31 |
+
num_train_epochs: 200
|
32 |
+
num_validation_images: 4
|
33 |
+
offset_noise: false
|
34 |
+
output_dir: sd_output/dreambooth2
|
35 |
+
pre_compute_text_embeddings: false
|
36 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
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 |
+
text_encoder_use_attention_mask: false
|
50 |
+
tokenizer_max_length: null
|
51 |
+
tokenizer_name: null
|
52 |
+
train_batch_size: 1
|
53 |
+
train_text_encoder: false
|
54 |
+
use_8bit_adam: false
|
55 |
+
validation_images: null
|
56 |
+
validation_prompt: null
|
57 |
+
validation_steps: 100
|
58 |
+
with_prior_preservation: false
|
logs/dreambooth/events.out.tfevents.1688034884.szth-acg-bcc04f1143.szth.baidu.com.21070.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbe7acd531bfd6ad413386679bd7c0658c0da58eb3eed9078c16474a3336b0c5
|
3 |
+
size 100634
|
model_index.json
CHANGED
@@ -5,14 +5,14 @@
|
|
5 |
"transformers",
|
6 |
"CLIPImageProcessor"
|
7 |
],
|
8 |
-
"requires_safety_checker":
|
9 |
"safety_checker": [
|
10 |
-
|
11 |
-
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
-
"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
|
|
5 |
"transformers",
|
6 |
"CLIPImageProcessor"
|
7 |
],
|
8 |
+
"requires_safety_checker": false,
|
9 |
"safety_checker": [
|
10 |
+
null,
|
11 |
+
null
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
+
"DDIMScheduler"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
scheduler/scheduler_config.json
CHANGED
@@ -1,14 +1,20 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.18.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": "
|
|
|
|
|
10 |
"set_alpha_to_one": false,
|
11 |
"skip_prk_steps": true,
|
12 |
"steps_offset": 1,
|
|
|
|
|
13 |
"trained_betas": null
|
14 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
"_diffusers_version": "0.18.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": "v_prediction",
|
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 |
}
|
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": "float16",
|
23 |
"transformers_version": "4.26.0",
|
24 |
"vocab_size": 49408
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
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.26.0",
|
24 |
"vocab_size": 49408
|
text_encoder/pytorch_model.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:f988248177fc727cf066267b3ccb62e7a74b7e3c5b3efa8a701d563e0f0ea037
|
3 |
+
size 680901463
|
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": "!",
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
tokenizer/tokenizer_config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 77,
|
22 |
-
"name_or_path": "/home/fuhongtao/.cache/huggingface/hub/models--
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 77,
|
22 |
+
"name_or_path": "/home/fuhongtao/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/845609e6cf0a060d8cd837297e5c169df5bff72c/tokenizer",
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
unet/config.json
CHANGED
@@ -1,11 +1,16 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
8 |
-
"attention_head_dim":
|
|
|
|
|
|
|
|
|
|
|
9 |
"block_out_channels": [
|
10 |
320,
|
11 |
640,
|
@@ -17,7 +22,7 @@
|
|
17 |
"class_embeddings_concat": false,
|
18 |
"conv_in_kernel": 3,
|
19 |
"conv_out_kernel": 3,
|
20 |
-
"cross_attention_dim":
|
21 |
"cross_attention_norm": null,
|
22 |
"down_block_types": [
|
23 |
"CrossAttnDownBlock2D",
|
@@ -45,7 +50,7 @@
|
|
45 |
"resnet_out_scale_factor": 1.0,
|
46 |
"resnet_skip_time_act": false,
|
47 |
"resnet_time_scale_shift": "default",
|
48 |
-
"sample_size":
|
49 |
"time_cond_proj_dim": null,
|
50 |
"time_embedding_act_fn": null,
|
51 |
"time_embedding_dim": null,
|
@@ -57,6 +62,6 @@
|
|
57 |
"CrossAttnUpBlock2D",
|
58 |
"CrossAttnUpBlock2D"
|
59 |
],
|
60 |
-
"upcast_attention":
|
61 |
-
"use_linear_projection":
|
62 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
8 |
+
"attention_head_dim": [
|
9 |
+
5,
|
10 |
+
10,
|
11 |
+
20,
|
12 |
+
20
|
13 |
+
],
|
14 |
"block_out_channels": [
|
15 |
320,
|
16 |
640,
|
|
|
22 |
"class_embeddings_concat": false,
|
23 |
"conv_in_kernel": 3,
|
24 |
"conv_out_kernel": 3,
|
25 |
+
"cross_attention_dim": 1024,
|
26 |
"cross_attention_norm": null,
|
27 |
"down_block_types": [
|
28 |
"CrossAttnDownBlock2D",
|
|
|
50 |
"resnet_out_scale_factor": 1.0,
|
51 |
"resnet_skip_time_act": false,
|
52 |
"resnet_time_scale_shift": "default",
|
53 |
+
"sample_size": 96,
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
56 |
"time_embedding_dim": null,
|
|
|
62 |
"CrossAttnUpBlock2D",
|
63 |
"CrossAttnUpBlock2D"
|
64 |
],
|
65 |
+
"upcast_attention": true,
|
66 |
+
"use_linear_projection": true
|
67 |
}
|
unet/diffusion_pytorch_model.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:5d084337c1357e767608807670329217d8428d9124efab1918d4ddccfb164569
|
3 |
+
size 3463923045
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
-
"_name_or_path": "/home/fuhongtao/.cache/huggingface/hub/models--
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -20,7 +20,7 @@
|
|
20 |
"layers_per_block": 2,
|
21 |
"norm_num_groups": 32,
|
22 |
"out_channels": 3,
|
23 |
-
"sample_size":
|
24 |
"scaling_factor": 0.18215,
|
25 |
"up_block_types": [
|
26 |
"UpDecoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
+
"_name_or_path": "/home/fuhongtao/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/845609e6cf0a060d8cd837297e5c169df5bff72c/vae",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
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",
|
vae/diffusion_pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 334707473
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b7010872555f03f3c7c94b3e510546755d6df0be9f06495b6bb01cc5d368779
|
3 |
size 334707473
|