Commit
·
eab9ad9
1
Parent(s):
e6b0b91
End of training
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +2 -2
- checkpoint-1000/optimizer.bin +2 -2
- checkpoint-1000/pytorch_model.bin +2 -2
- checkpoint-1000/random_states_0.pkl +1 -1
- checkpoint-1000/scheduler.bin +1 -1
- checkpoint-1500/optimizer.bin +2 -2
- checkpoint-1500/pytorch_model.bin +2 -2
- checkpoint-1500/random_states_0.pkl +2 -2
- checkpoint-1500/scheduler.bin +1 -1
- checkpoint-2000/optimizer.bin +2 -2
- checkpoint-2000/pytorch_model.bin +2 -2
- checkpoint-2000/random_states_0.pkl +2 -2
- checkpoint-2000/scheduler.bin +1 -1
- checkpoint-2500/optimizer.bin +2 -2
- checkpoint-2500/pytorch_model.bin +2 -2
- checkpoint-2500/random_states_0.pkl +2 -2
- checkpoint-2500/scheduler.bin +1 -1
- checkpoint-3000/optimizer.bin +2 -2
- checkpoint-3000/pytorch_model.bin +2 -2
- checkpoint-3000/random_states_0.pkl +1 -1
- checkpoint-3000/scheduler.bin +1 -1
- checkpoint-500/optimizer.bin +2 -2
- checkpoint-500/pytorch_model.bin +2 -2
- checkpoint-500/random_states_0.pkl +2 -2
- checkpoint-500/scheduler.bin +1 -1
- learned_embeds-steps-1000.bin +2 -2
- learned_embeds-steps-1500.bin +2 -2
- learned_embeds-steps-2000.bin +2 -2
- learned_embeds-steps-2500.bin +2 -2
- learned_embeds-steps-3000.bin +2 -2
- learned_embeds-steps-500.bin +2 -2
- learned_embeds.bin +2 -2
- logs/textual_inversion/1687311936.238098/events.out.tfevents.1687311936.sun-rnd.2641011.1 +3 -0
- logs/textual_inversion/1687311936.2410269/hparams.yml +46 -0
- logs/textual_inversion/1687311986.9854565/events.out.tfevents.1687311986.sun-rnd.2641279.1 +3 -0
- logs/textual_inversion/1687311986.987646/hparams.yml +46 -0
- logs/textual_inversion/1687312214.902746/events.out.tfevents.1687312214.sun-rnd.2641973.1 +3 -0
- logs/textual_inversion/1687312214.9046993/hparams.yml +46 -0
- logs/textual_inversion/events.out.tfevents.1687311936.sun-rnd.2641011.0 +3 -0
- logs/textual_inversion/events.out.tfevents.1687311986.sun-rnd.2641279.0 +3 -0
- logs/textual_inversion/events.out.tfevents.1687312214.sun-rnd.2641973.0 +3 -0
- model_index.json +4 -4
- scheduler/scheduler_config.json +8 -2
- text_encoder/config.json +8 -8
- text_encoder/pytorch_model.bin +2 -2
- tokenizer/special_tokens_map.json +1 -1
- tokenizer/tokenizer_config.json +2 -1
- unet/config.json +11 -6
- unet/diffusion_pytorch_model.bin +2 -2
- vae/config.json +2 -2
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
|
2 |
---
|
3 |
license: creativeml-openrail-m
|
4 |
-
base_model:
|
5 |
tags:
|
6 |
- stable-diffusion
|
7 |
- stable-diffusion-diffusers
|
@@ -12,6 +12,6 @@ inference: true
|
|
12 |
---
|
13 |
|
14 |
# Textual inversion text2image fine-tuning - thanhnguyentung/textual_inversion_cat
|
15 |
-
These are textual inversion adaption weights for
|
16 |
|
17 |
|
|
|
1 |
|
2 |
---
|
3 |
license: creativeml-openrail-m
|
4 |
+
base_model: stabilityai/stable-diffusion-2-1
|
5 |
tags:
|
6 |
- stable-diffusion
|
7 |
- stable-diffusion-diffusers
|
|
|
12 |
---
|
13 |
|
14 |
# Textual inversion text2image fine-tuning - thanhnguyentung/textual_inversion_cat
|
15 |
+
These are textual inversion adaption weights for stabilityai/stable-diffusion-2-1. You can find some example images in the following.
|
16 |
|
17 |
|
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:a67c65dfdc8a47371b3737de257cf174413fc8f013cd8507b3897c383710e558
|
3 |
+
size 404760109
|
checkpoint-1000/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:d0e3df955417aab2eacb3c00c1f582cae3b0555b34ad96173c04093098c0d61b
|
3 |
+
size 1361701921
|
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 15691
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c2cd3a3712ddcc84b4fe7449e27e5583e6beb08077af25d5f374c55ace03049
|
3 |
size 15691
|
checkpoint-1000/scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 563
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbb19b948b33a080098712534e53a991114e50367c7efbe3f9b4d0cec03eb540
|
3 |
size 563
|
checkpoint-1500/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:c0f5b082250174d7ef7dddf45fa7ff322c46a73175ff4d356843727c7681dca4
|
3 |
+
size 404760109
|
checkpoint-1500/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:9dfb915b76de1b7d14eb301fbb39e2cd3e340aa3a5b4298f98c5ece82b98bb2b
|
3 |
+
size 1361701921
|
checkpoint-1500/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:45b81fdac6e0a3ac260ba2ec496f6bd212111c5a4f6ad59f66b4adc04abc003b
|
3 |
+
size 15691
|
checkpoint-1500/scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 563
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7abf0b3af2013b920618166f35e17d899fce776df72f2c2a64c13989f4b8a6a8
|
3 |
size 563
|
checkpoint-2000/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:f28cc66ccab078b8a1dbcd32512dc40930ed1a39d0a2bd4612ba733839a98488
|
3 |
+
size 404760109
|
checkpoint-2000/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:3ec93c3b287d359188976caac6fadc6dafe77900ec5dc0beb5694033971e0a61
|
3 |
+
size 1361701921
|
checkpoint-2000/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:f3bfb8a8c7eac15b0cba851f989520f4b67f9ce59f7e885b433dc7e561963970
|
3 |
+
size 15627
|
checkpoint-2000/scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 563
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ce55ada40659c32ea01f44d7732f0406a6c9004376f7e5579de396b3481cc2d
|
3 |
size 563
|
checkpoint-2500/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:f240bc838b091efc35a1b2f6ed6a7d08736f1b3eb6a8875695c60a3547c1731e
|
3 |
+
size 404760109
|
checkpoint-2500/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:416bf2e0acaf2efcf20c3705ffcfc72c2a980accf757d216684342bbf57f794f
|
3 |
+
size 1361701921
|
checkpoint-2500/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:fd7def25a6148289db6b026b797379132a820ef9b86e5c72dc964f8e7143903b
|
3 |
+
size 15755
|
checkpoint-2500/scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 563
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:496e5a35d8686f4bf9ce59c376f5f501ec4a1034cf3b70deb1f3d2c047fab2d4
|
3 |
size 563
|
checkpoint-3000/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:0cc149728c2118b7b3a5f84eba181057c06a2808403ec055956f9c30456372c8
|
3 |
+
size 404760109
|
checkpoint-3000/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:e94b3c396bbb4da18faf0ff7f91741eaadfd8a162c12e5c8b4d80842e63b8e78
|
3 |
+
size 1361701921
|
checkpoint-3000/random_states_0.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 15691
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71dc14af90465f31092e99074e99f6772371c94875ae7666bbd1d5a500a8acb5
|
3 |
size 15691
|
checkpoint-3000/scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 563
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2056b541ceef5d77999a48951b85854f6503b83d58bc070e970ec3531e56e169
|
3 |
size 563
|
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:bb988b7441972a13e4e6a03b0113f1861d21343ea44a57eaf4824db52466d823
|
3 |
+
size 404760109
|
checkpoint-500/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:d9a01433566f609f24383285b9c18fd9ee5e54b183788f4970da6189b9a0f46f
|
3 |
+
size 1361701921
|
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:f7ca7c26b7c91bd4fa127d788ccb981969f2a5a380ef5dd1778dca15d9589043
|
3 |
+
size 15691
|
checkpoint-500/scheduler.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 563
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:478ff7b9adcb1fba8f74abd29e0dfb41133888ecf608d07ea8ae2143e019d098
|
3 |
size 563
|
learned_embeds-steps-1000.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:68457e561e4805acd9f380c5ea739e9ed1b2804ffe65a944f229745c74e64d60
|
3 |
+
size 5025
|
learned_embeds-steps-1500.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:82099d853a76a8c5062fd99a520a8377be9c1a5b2345920301d52e2e1d915ac0
|
3 |
+
size 5025
|
learned_embeds-steps-2000.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:78c4ccfcf824f47e48bc26a45877a902fa711580129cf2585c30e13736628c70
|
3 |
+
size 5025
|
learned_embeds-steps-2500.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:f5173150b11e15283e14bce35105eaeee1537f08bc0e9980c0ce31cc0b86cd3b
|
3 |
+
size 5025
|
learned_embeds-steps-3000.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:4f64c6e5850f952a82c48fe66882e312b41b1c321c63f406650b10f6bd650166
|
3 |
+
size 5025
|
learned_embeds-steps-500.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:4ba40796fd3cf6785f608a04e5bec6bbb0174f8068f03a4b1d5927bb81d6e022
|
3 |
+
size 5022
|
learned_embeds.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:54eeac57d11a838eb5783f170748c102a77512be54ec1b971639b3e196c309aa
|
3 |
+
size 4864
|
logs/textual_inversion/1687311936.238098/events.out.tfevents.1687311936.sun-rnd.2641011.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02efb261141738b49f8244c3f1ee0d50c6fd744f91c5954417408ec5e3142ab3
|
3 |
+
size 2288
|
logs/textual_inversion/1687311936.2410269/hparams.yml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
dataloader_num_workers: 0
|
10 |
+
enable_xformers_memory_efficient_attention: false
|
11 |
+
gradient_accumulation_steps: 4
|
12 |
+
gradient_checkpointing: false
|
13 |
+
hub_model_id: null
|
14 |
+
hub_token: null
|
15 |
+
initializer_token: man
|
16 |
+
learnable_property: object
|
17 |
+
learning_rate: 0.002
|
18 |
+
local_rank: -1
|
19 |
+
logging_dir: logs
|
20 |
+
lr_num_cycles: 1
|
21 |
+
lr_scheduler: constant
|
22 |
+
lr_warmup_steps: 0
|
23 |
+
max_train_steps: 3000
|
24 |
+
mixed_precision: 'no'
|
25 |
+
num_train_epochs: 6
|
26 |
+
num_validation_images: 4
|
27 |
+
num_vectors: 1
|
28 |
+
output_dir: textual_inversion_cat
|
29 |
+
placeholder_token: <thanh-nguyen>
|
30 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
31 |
+
push_to_hub: true
|
32 |
+
repeats: 100
|
33 |
+
report_to: tensorboard
|
34 |
+
resolution: 768
|
35 |
+
resume_from_checkpoint: null
|
36 |
+
revision: null
|
37 |
+
save_as_full_pipeline: false
|
38 |
+
save_steps: 500
|
39 |
+
scale_lr: true
|
40 |
+
seed: null
|
41 |
+
tokenizer_name: null
|
42 |
+
train_batch_size: 1
|
43 |
+
train_data_dir: ./datasets/myportraits1024
|
44 |
+
validation_epochs: null
|
45 |
+
validation_prompt: null
|
46 |
+
validation_steps: 100
|
logs/textual_inversion/1687311986.9854565/events.out.tfevents.1687311986.sun-rnd.2641279.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e03f35f53937ab6f845d316cab197b0c4b197b1ce25dac0987f3ff36ccdc241
|
3 |
+
size 2288
|
logs/textual_inversion/1687311986.987646/hparams.yml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
dataloader_num_workers: 0
|
10 |
+
enable_xformers_memory_efficient_attention: false
|
11 |
+
gradient_accumulation_steps: 4
|
12 |
+
gradient_checkpointing: false
|
13 |
+
hub_model_id: null
|
14 |
+
hub_token: null
|
15 |
+
initializer_token: man
|
16 |
+
learnable_property: object
|
17 |
+
learning_rate: 0.002
|
18 |
+
local_rank: -1
|
19 |
+
logging_dir: logs
|
20 |
+
lr_num_cycles: 1
|
21 |
+
lr_scheduler: constant
|
22 |
+
lr_warmup_steps: 0
|
23 |
+
max_train_steps: 3000
|
24 |
+
mixed_precision: 'no'
|
25 |
+
num_train_epochs: 6
|
26 |
+
num_validation_images: 4
|
27 |
+
num_vectors: 1
|
28 |
+
output_dir: textual_inversion_cat
|
29 |
+
placeholder_token: <thanh-nguyen>
|
30 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
31 |
+
push_to_hub: true
|
32 |
+
repeats: 100
|
33 |
+
report_to: tensorboard
|
34 |
+
resolution: 768
|
35 |
+
resume_from_checkpoint: null
|
36 |
+
revision: null
|
37 |
+
save_as_full_pipeline: false
|
38 |
+
save_steps: 500
|
39 |
+
scale_lr: true
|
40 |
+
seed: null
|
41 |
+
tokenizer_name: null
|
42 |
+
train_batch_size: 1
|
43 |
+
train_data_dir: ./datasets/myportraits1024
|
44 |
+
validation_epochs: null
|
45 |
+
validation_prompt: null
|
46 |
+
validation_steps: 100
|
logs/textual_inversion/1687312214.902746/events.out.tfevents.1687312214.sun-rnd.2641973.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f717c4ddcc85e3adf9946b69e0947ff984c36422bff0452c82b3a83b6d0a601
|
3 |
+
size 2288
|
logs/textual_inversion/1687312214.9046993/hparams.yml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
dataloader_num_workers: 0
|
10 |
+
enable_xformers_memory_efficient_attention: false
|
11 |
+
gradient_accumulation_steps: 4
|
12 |
+
gradient_checkpointing: false
|
13 |
+
hub_model_id: null
|
14 |
+
hub_token: null
|
15 |
+
initializer_token: man
|
16 |
+
learnable_property: object
|
17 |
+
learning_rate: 0.002
|
18 |
+
local_rank: -1
|
19 |
+
logging_dir: logs
|
20 |
+
lr_num_cycles: 1
|
21 |
+
lr_scheduler: constant
|
22 |
+
lr_warmup_steps: 0
|
23 |
+
max_train_steps: 3000
|
24 |
+
mixed_precision: 'no'
|
25 |
+
num_train_epochs: 6
|
26 |
+
num_validation_images: 4
|
27 |
+
num_vectors: 1
|
28 |
+
output_dir: textual_inversion_cat
|
29 |
+
placeholder_token: <thanh-nguyen>
|
30 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
31 |
+
push_to_hub: true
|
32 |
+
repeats: 100
|
33 |
+
report_to: tensorboard
|
34 |
+
resolution: 768
|
35 |
+
resume_from_checkpoint: null
|
36 |
+
revision: null
|
37 |
+
save_as_full_pipeline: false
|
38 |
+
save_steps: 500
|
39 |
+
scale_lr: true
|
40 |
+
seed: null
|
41 |
+
tokenizer_name: null
|
42 |
+
train_batch_size: 1
|
43 |
+
train_data_dir: ./datasets/myportraits1024
|
44 |
+
validation_epochs: null
|
45 |
+
validation_prompt: null
|
46 |
+
validation_steps: 100
|
logs/textual_inversion/events.out.tfevents.1687311936.sun-rnd.2641011.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb21716f0ed1e8ef8e7c52570d59e691c6d6c072e393105cf7936e85d96cfbbf
|
3 |
+
size 88
|
logs/textual_inversion/events.out.tfevents.1687311986.sun-rnd.2641279.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:497057252051b24363f6a3f9b8ad4374eb236fe4c0bfc0ff841f920ecbb1d0d7
|
3 |
+
size 19838
|
logs/textual_inversion/events.out.tfevents.1687312214.sun-rnd.2641973.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e0c3c2f08752d060609a0dc9b589524ae57ee2ffef4055c4d501392e8f7707d
|
3 |
+
size 1007054
|
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,19 +7,19 @@
|
|
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.
|
24 |
"vocab_size": 49409
|
25 |
}
|
|
|
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": "float32",
|
23 |
+
"transformers_version": "4.26.1",
|
24 |
"vocab_size": 49409
|
25 |
}
|
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:e2b70406163946c4d0404ffe65231e1c03afa03d80c2dbd6908548c0298bdde0
|
3 |
+
size 1361684001
|
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
@@ -8,7 +8,6 @@
|
|
8 |
"rstrip": false,
|
9 |
"single_word": false
|
10 |
},
|
11 |
-
"clean_up_tokenization_spaces": true,
|
12 |
"do_lower_case": true,
|
13 |
"eos_token": {
|
14 |
"__type": "AddedToken",
|
@@ -20,7 +19,9 @@
|
|
20 |
},
|
21 |
"errors": "replace",
|
22 |
"model_max_length": 77,
|
|
|
23 |
"pad_token": "<|endoftext|>",
|
|
|
24 |
"tokenizer_class": "CLIPTokenizer",
|
25 |
"unk_token": {
|
26 |
"__type": "AddedToken",
|
|
|
8 |
"rstrip": false,
|
9 |
"single_word": false
|
10 |
},
|
|
|
11 |
"do_lower_case": true,
|
12 |
"eos_token": {
|
13 |
"__type": "AddedToken",
|
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 77,
|
22 |
+
"name_or_path": "stabilityai/stable-diffusion-2-1",
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
+
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
26 |
"unk_token": {
|
27 |
"__type": "AddedToken",
|
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:29c7f15709062e790deddc2c6d3d6a3e0a99d4a533b6bfd187bdea64a5e7a961
|
3 |
+
size 3463934693
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.18.0.dev0",
|
4 |
-
"_name_or_path": "
|
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": "stabilityai/stable-diffusion-2-1",
|
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",
|