End of training
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +39 -0
- checkpoint-1000/model.safetensors +3 -0
- checkpoint-1000/optimizer.bin +3 -0
- checkpoint-1000/random_states_0.pkl +3 -0
- checkpoint-1000/scheduler.bin +3 -0
- checkpoint-1500/model.safetensors +3 -0
- checkpoint-1500/optimizer.bin +3 -0
- checkpoint-1500/random_states_0.pkl +3 -0
- checkpoint-1500/scheduler.bin +3 -0
- checkpoint-2000/model.safetensors +3 -0
- checkpoint-2000/optimizer.bin +3 -0
- checkpoint-2000/random_states_0.pkl +3 -0
- checkpoint-2000/scheduler.bin +3 -0
- checkpoint-2500/model.safetensors +3 -0
- checkpoint-2500/optimizer.bin +3 -0
- checkpoint-2500/random_states_0.pkl +3 -0
- checkpoint-2500/scheduler.bin +3 -0
- checkpoint-3000/model.safetensors +3 -0
- checkpoint-3000/optimizer.bin +3 -0
- checkpoint-3000/random_states_0.pkl +3 -0
- checkpoint-3000/scheduler.bin +3 -0
- checkpoint-500/model.safetensors +3 -0
- checkpoint-500/optimizer.bin +3 -0
- checkpoint-500/random_states_0.pkl +3 -0
- checkpoint-500/scheduler.bin +3 -0
- feature_extractor/preprocessor_config.json +27 -0
- learned_embeds-steps-1000.safetensors +3 -0
- learned_embeds-steps-1500.safetensors +3 -0
- learned_embeds-steps-2000.safetensors +3 -0
- learned_embeds-steps-2500.safetensors +3 -0
- learned_embeds-steps-3000.safetensors +3 -0
- learned_embeds-steps-500.safetensors +3 -0
- learned_embeds.safetensors +3 -0
- logs/textual_inversion/1726114643.7830088/events.out.tfevents.1726114643.laptop.12568.1 +3 -0
- logs/textual_inversion/1726114643.784338/hparams.yml +48 -0
- logs/textual_inversion/1726114924.824733/events.out.tfevents.1726114924.laptop.20221.1 +3 -0
- logs/textual_inversion/1726114924.826449/hparams.yml +48 -0
- logs/textual_inversion/1726257427.8787818/events.out.tfevents.1726257427.instance-20240913-194235.15915.1 +3 -0
- logs/textual_inversion/1726257427.880263/hparams.yml +48 -0
- logs/textual_inversion/1726259093.7794452/events.out.tfevents.1726259093.instance-20240913-194235.19715.1 +3 -0
- logs/textual_inversion/1726259093.7817576/hparams.yml +48 -0
- logs/textual_inversion/events.out.tfevents.1726114643.laptop.12568.0 +3 -0
- logs/textual_inversion/events.out.tfevents.1726114924.laptop.20221.0 +3 -0
- logs/textual_inversion/events.out.tfevents.1726257427.instance-20240913-194235.15915.0 +3 -0
- logs/textual_inversion/events.out.tfevents.1726259093.instance-20240913-194235.19715.0 +3 -0
- model_index.json +38 -0
- safety_checker/config.json +28 -0
- safety_checker/model.safetensors +3 -0
- scheduler/scheduler_config.json +15 -0
- text_encoder/config.json +25 -0
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: CompVis/stable-diffusion-v1-4
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
license: creativeml-openrail-m
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
- textual_inversion
|
| 11 |
+
- diffusers-training
|
| 12 |
+
inference: true
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
# Textual inversion text2image fine-tuning - CamVerifyIt/textual_inversion_cat
|
| 20 |
+
These are textual inversion adaption weights for CompVis/stable-diffusion-v1-4. You can find some example images in the following.
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
## Intended uses & limitations
|
| 26 |
+
|
| 27 |
+
#### How to use
|
| 28 |
+
|
| 29 |
+
```python
|
| 30 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
#### Limitations and bias
|
| 34 |
+
|
| 35 |
+
[TODO: provide examples of latent issues and potential remediations]
|
| 36 |
+
|
| 37 |
+
## Training details
|
| 38 |
+
|
| 39 |
+
[TODO: describe the data used to train the model]
|
checkpoint-1000/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5ebd2965ddbb261eaefe2a3dba2fa5a626df189b12408b434ca3a4b2c420c3f
|
| 3 |
+
size 492268240
|
checkpoint-1000/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1dca535f21fd4f079c0615ad15bf985c5074399f6217414df46307a0e7fc7732
|
| 3 |
+
size 303570914
|
checkpoint-1000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4cc7dc6a9c2bc225e423c86e1d096ad401983ad0329d2ec2cc29fadef2631b57
|
| 3 |
+
size 14408
|
checkpoint-1000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f0d829441992ff2ab1f7502a3a94afc011706461052e42e18e5b963678527c4
|
| 3 |
+
size 1000
|
checkpoint-1500/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:903174fcaa89d640f75a3bfeff490ccee2db96a41ecfefb1b72c40597e739bc8
|
| 3 |
+
size 492268240
|
checkpoint-1500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:521021a748c8cc5d7841d7fd1bbd050a2c1e1791142524a5aa54c0daff258aaa
|
| 3 |
+
size 303570914
|
checkpoint-1500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0aa49c2d8a9e16f8f7c984d9d1e22e84d092e7d4eb6c81af86fe62e0501c33bb
|
| 3 |
+
size 14344
|
checkpoint-1500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0746407d5e6c8d929c4e940db747c88272550cab75cfb856468297d71d7802ca
|
| 3 |
+
size 1000
|
checkpoint-2000/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23a028a729b75a196a4c7dc4c1bb03f61ce6a1d5125625750fb2a028ec0697a1
|
| 3 |
+
size 492268240
|
checkpoint-2000/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98024eecc6df319450ccc7e5fe5e63ba0d08d5e9b8c02c771a1802a9dea4e36d
|
| 3 |
+
size 303570914
|
checkpoint-2000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdd4cad6da4f4312be4e2de405e34eba9330ccb273783f03e2e0dfe69d2c7ea5
|
| 3 |
+
size 14408
|
checkpoint-2000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5484c6ff4bca55d86f0d54575371a1f3b26246b4ff863161800c9be8539d8c77
|
| 3 |
+
size 1000
|
checkpoint-2500/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66fe51f73c7b4b6dc3a34c0992aff29e7ea969b36a5b3b61c5ba788aec1d1b15
|
| 3 |
+
size 492268240
|
checkpoint-2500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c169f9a2bb49f5e5080c3dec503aeeeb4912439f79704b5332447972981dbcd4
|
| 3 |
+
size 303570914
|
checkpoint-2500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4aa80d5117e6a742312fdd2600ce82dfd13c6e44a470023a754e7d1b09959b6c
|
| 3 |
+
size 14344
|
checkpoint-2500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bb1a67b9696a2697693774a6f09d8186c78e37cff7896931a3632a6822f70b9
|
| 3 |
+
size 1000
|
checkpoint-3000/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b860eda983fcbbc0336866b4ec04da2d285abb3a4fabb5b7e694aad27b48b9e3
|
| 3 |
+
size 492268240
|
checkpoint-3000/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:269af2a726f830e7cb8c42b9a8baa8764e2c726a5b577756dbe11ab6bf03255d
|
| 3 |
+
size 303570914
|
checkpoint-3000/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e548d035b55a7ba1ba7a45bb6cd99ed3f82d145790a83de0985b916db50a39e
|
| 3 |
+
size 14408
|
checkpoint-3000/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ed1284c2bacec58dd33ce8bc7070e7691d6d084b54330b85bacc37784d59cee
|
| 3 |
+
size 1000
|
checkpoint-500/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60776c1aa4c6e7314829b7fc5a53155cbbad0909138e2faadb43ce6e33b4eccf
|
| 3 |
+
size 492268240
|
checkpoint-500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34021bd45b4b2d7eef7eb3e730c60695fad5ecff74a9993e31cff3a2e9594fe8
|
| 3 |
+
size 303570914
|
checkpoint-500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:980c96d64951cc19b1941de0bf940c9981afa108d70002f4e1c2bdf965363957
|
| 3 |
+
size 14344
|
checkpoint-500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cad514bb36617120f19b7cde3b36a22bc8becf6cc6cfb2166811645c215cccb
|
| 3 |
+
size 1000
|
feature_extractor/preprocessor_config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.48145466,
|
| 13 |
+
0.4578275,
|
| 14 |
+
0.40821073
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.26862954,
|
| 19 |
+
0.26130258,
|
| 20 |
+
0.27577711
|
| 21 |
+
],
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"shortest_edge": 224
|
| 26 |
+
}
|
| 27 |
+
}
|
learned_embeds-steps-1000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f8fe7e0613c93141704493dcd7aa55b6ca80e9ec606273c9b4dce5952ca17ff
|
| 3 |
+
size 3184
|
learned_embeds-steps-1500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16d5322d1985c7e9ba40052d13235c25b3ea21ada8366deb664c809a32d74f6a
|
| 3 |
+
size 3184
|
learned_embeds-steps-2000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:189410e50354bc430be13c51b02f53cc773e45ba97b0d5784c03050ed2f2532c
|
| 3 |
+
size 3184
|
learned_embeds-steps-2500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75970cf701c25c06ad47d2e676593a4fe7d57f33c429aad3c02b37080ec169b1
|
| 3 |
+
size 3184
|
learned_embeds-steps-3000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:234ff1e3c46f38702084491642c3a4885a19fa2f7ef92512138a6d99f648a2f2
|
| 3 |
+
size 3184
|
learned_embeds-steps-500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5888d686233234e04bc7a96da54eb85cf6ecb286cfb78defa296602feb53d89
|
| 3 |
+
size 3184
|
learned_embeds.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:234ff1e3c46f38702084491642c3a4885a19fa2f7ef92512138a6d99f648a2f2
|
| 3 |
+
size 3184
|
logs/textual_inversion/1726114643.7830088/events.out.tfevents.1726114643.laptop.12568.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c94ff380b0d2d1d89c2ad0bc1196bec7e844eafe3770f46ca5dda425df8b57c
|
| 3 |
+
size 2322
|
logs/textual_inversion/1726114643.784338/hparams.yml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: toy
|
| 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 |
+
no_safe_serialization: false
|
| 26 |
+
num_train_epochs: 20
|
| 27 |
+
num_validation_images: 4
|
| 28 |
+
num_vectors: 1
|
| 29 |
+
output_dir: textual_inversion_cat
|
| 30 |
+
placeholder_token: <cat-toy>
|
| 31 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 32 |
+
push_to_hub: true
|
| 33 |
+
repeats: 100
|
| 34 |
+
report_to: tensorboard
|
| 35 |
+
resolution: 512
|
| 36 |
+
resume_from_checkpoint: null
|
| 37 |
+
revision: null
|
| 38 |
+
save_as_full_pipeline: false
|
| 39 |
+
save_steps: 500
|
| 40 |
+
scale_lr: true
|
| 41 |
+
seed: null
|
| 42 |
+
tokenizer_name: null
|
| 43 |
+
train_batch_size: 1
|
| 44 |
+
train_data_dir: ./cat
|
| 45 |
+
validation_epochs: null
|
| 46 |
+
validation_prompt: null
|
| 47 |
+
validation_steps: 100
|
| 48 |
+
variant: null
|
logs/textual_inversion/1726114924.824733/events.out.tfevents.1726114924.laptop.20221.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e3c401b33458a17a2ae1d128a98e6c4a76eac5cd670c595ce90b50542855e17
|
| 3 |
+
size 2322
|
logs/textual_inversion/1726114924.826449/hparams.yml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: toy
|
| 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 |
+
no_safe_serialization: false
|
| 26 |
+
num_train_epochs: 30
|
| 27 |
+
num_validation_images: 4
|
| 28 |
+
num_vectors: 1
|
| 29 |
+
output_dir: textual_inversion_cat
|
| 30 |
+
placeholder_token: <cat-toy>
|
| 31 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 32 |
+
push_to_hub: true
|
| 33 |
+
repeats: 100
|
| 34 |
+
report_to: tensorboard
|
| 35 |
+
resolution: 512
|
| 36 |
+
resume_from_checkpoint: null
|
| 37 |
+
revision: null
|
| 38 |
+
save_as_full_pipeline: false
|
| 39 |
+
save_steps: 500
|
| 40 |
+
scale_lr: true
|
| 41 |
+
seed: null
|
| 42 |
+
tokenizer_name: null
|
| 43 |
+
train_batch_size: 1
|
| 44 |
+
train_data_dir: ./cat
|
| 45 |
+
validation_epochs: null
|
| 46 |
+
validation_prompt: null
|
| 47 |
+
validation_steps: 100
|
| 48 |
+
variant: null
|
logs/textual_inversion/1726257427.8787818/events.out.tfevents.1726257427.instance-20240913-194235.15915.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1b6491fde3e68f81491d069ae7d2321c03d393ff4e77e43fafc4cc1065f1716
|
| 3 |
+
size 2322
|
logs/textual_inversion/1726257427.880263/hparams.yml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: toy
|
| 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 |
+
no_safe_serialization: false
|
| 26 |
+
num_train_epochs: 30
|
| 27 |
+
num_validation_images: 4
|
| 28 |
+
num_vectors: 1
|
| 29 |
+
output_dir: textual_inversion_cat
|
| 30 |
+
placeholder_token: <cat-toy>
|
| 31 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 32 |
+
push_to_hub: true
|
| 33 |
+
repeats: 100
|
| 34 |
+
report_to: tensorboard
|
| 35 |
+
resolution: 512
|
| 36 |
+
resume_from_checkpoint: null
|
| 37 |
+
revision: null
|
| 38 |
+
save_as_full_pipeline: false
|
| 39 |
+
save_steps: 500
|
| 40 |
+
scale_lr: true
|
| 41 |
+
seed: null
|
| 42 |
+
tokenizer_name: null
|
| 43 |
+
train_batch_size: 1
|
| 44 |
+
train_data_dir: ./cat
|
| 45 |
+
validation_epochs: null
|
| 46 |
+
validation_prompt: null
|
| 47 |
+
validation_steps: 100
|
| 48 |
+
variant: null
|
logs/textual_inversion/1726259093.7794452/events.out.tfevents.1726259093.instance-20240913-194235.19715.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba95660d620185e09e67b8f30a7a143ac5b6245b518bd374a6689cbc7de3e59a
|
| 3 |
+
size 2322
|
logs/textual_inversion/1726259093.7817576/hparams.yml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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: toy
|
| 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 |
+
no_safe_serialization: false
|
| 26 |
+
num_train_epochs: 30
|
| 27 |
+
num_validation_images: 4
|
| 28 |
+
num_vectors: 1
|
| 29 |
+
output_dir: textual_inversion_cat
|
| 30 |
+
placeholder_token: <cat-toy>
|
| 31 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 32 |
+
push_to_hub: true
|
| 33 |
+
repeats: 100
|
| 34 |
+
report_to: tensorboard
|
| 35 |
+
resolution: 512
|
| 36 |
+
resume_from_checkpoint: null
|
| 37 |
+
revision: null
|
| 38 |
+
save_as_full_pipeline: false
|
| 39 |
+
save_steps: 500
|
| 40 |
+
scale_lr: true
|
| 41 |
+
seed: null
|
| 42 |
+
tokenizer_name: null
|
| 43 |
+
train_batch_size: 1
|
| 44 |
+
train_data_dir: ./cat
|
| 45 |
+
validation_epochs: null
|
| 46 |
+
validation_prompt: null
|
| 47 |
+
validation_steps: 100
|
| 48 |
+
variant: null
|
logs/textual_inversion/events.out.tfevents.1726114643.laptop.12568.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c2fd5a94aa8e4c89b249d1fb8b1a862885b7bcdae5d9ca1b95d21b82b74e55d
|
| 3 |
+
size 88
|
logs/textual_inversion/events.out.tfevents.1726114924.laptop.20221.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:864f49521da04e02fd9d2a25c95d62d3a6cd10d5ed9ff4cba8951efae9afe1d5
|
| 3 |
+
size 7292
|
logs/textual_inversion/events.out.tfevents.1726257427.instance-20240913-194235.15915.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91d172d92864930e882190da0fb1773853e0894265f7198d4c277d52e91ed384
|
| 3 |
+
size 270542
|
logs/textual_inversion/events.out.tfevents.1726259093.instance-20240913-194235.19715.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44c2afd72e3111fe2fa4a81e544320b97aca82d9727fbc986854930d6e2b521d
|
| 3 |
+
size 1007054
|
model_index.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "StableDiffusionPipeline",
|
| 3 |
+
"_diffusers_version": "0.31.0.dev0",
|
| 4 |
+
"_name_or_path": "CompVis/stable-diffusion-v1-4",
|
| 5 |
+
"feature_extractor": [
|
| 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 |
+
"PNDMScheduler"
|
| 21 |
+
],
|
| 22 |
+
"text_encoder": [
|
| 23 |
+
"transformers",
|
| 24 |
+
"CLIPTextModel"
|
| 25 |
+
],
|
| 26 |
+
"tokenizer": [
|
| 27 |
+
"transformers",
|
| 28 |
+
"CLIPTokenizer"
|
| 29 |
+
],
|
| 30 |
+
"unet": [
|
| 31 |
+
"diffusers",
|
| 32 |
+
"UNet2DConditionModel"
|
| 33 |
+
],
|
| 34 |
+
"vae": [
|
| 35 |
+
"diffusers",
|
| 36 |
+
"AutoencoderKL"
|
| 37 |
+
]
|
| 38 |
+
}
|
safety_checker/config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/home/cameron_davis1944/.cache/huggingface/hub/models--CompVis--stable-diffusion-v1-4/snapshots/133a221b8aa7292a167afc5127cb63fb5005638b/safety_checker",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"StableDiffusionSafetyChecker"
|
| 5 |
+
],
|
| 6 |
+
"initializer_factor": 1.0,
|
| 7 |
+
"logit_scale_init_value": 2.6592,
|
| 8 |
+
"model_type": "clip",
|
| 9 |
+
"projection_dim": 768,
|
| 10 |
+
"text_config": {
|
| 11 |
+
"dropout": 0.0,
|
| 12 |
+
"hidden_size": 768,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"model_type": "clip_text_model",
|
| 15 |
+
"num_attention_heads": 12
|
| 16 |
+
},
|
| 17 |
+
"torch_dtype": "float32",
|
| 18 |
+
"transformers_version": "4.44.2",
|
| 19 |
+
"vision_config": {
|
| 20 |
+
"dropout": 0.0,
|
| 21 |
+
"hidden_size": 1024,
|
| 22 |
+
"intermediate_size": 4096,
|
| 23 |
+
"model_type": "clip_vision_model",
|
| 24 |
+
"num_attention_heads": 16,
|
| 25 |
+
"num_hidden_layers": 24,
|
| 26 |
+
"patch_size": 14
|
| 27 |
+
}
|
| 28 |
+
}
|
safety_checker/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8
|
| 3 |
+
size 1215979664
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "PNDMScheduler",
|
| 3 |
+
"_diffusers_version": "0.31.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
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "CompVis/stable-diffusion-v1-4",
|
| 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": "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": 512,
|
| 22 |
+
"torch_dtype": "float32",
|
| 23 |
+
"transformers_version": "4.44.2",
|
| 24 |
+
"vocab_size": 49409
|
| 25 |
+
}
|