antonellaavad commited on
Commit
6410d32
1 Parent(s): 2a5b19a

Upload . with huggingface_hub

Browse files
Files changed (40) hide show
  1. README.md +22 -0
  2. checkpoint-1000/custom_checkpoint_0.pkl +3 -0
  3. checkpoint-1000/optimizer.bin +3 -0
  4. checkpoint-1000/pytorch_model.bin +3 -0
  5. checkpoint-1000/random_states_0.pkl +3 -0
  6. checkpoint-1000/scaler.pt +3 -0
  7. checkpoint-1000/scheduler.bin +3 -0
  8. checkpoint-200/custom_checkpoint_0.pkl +3 -0
  9. checkpoint-200/optimizer.bin +3 -0
  10. checkpoint-200/pytorch_model.bin +3 -0
  11. checkpoint-200/random_states_0.pkl +3 -0
  12. checkpoint-200/scaler.pt +3 -0
  13. checkpoint-200/scheduler.bin +3 -0
  14. checkpoint-400/custom_checkpoint_0.pkl +3 -0
  15. checkpoint-400/optimizer.bin +3 -0
  16. checkpoint-400/pytorch_model.bin +3 -0
  17. checkpoint-400/random_states_0.pkl +3 -0
  18. checkpoint-400/scaler.pt +3 -0
  19. checkpoint-400/scheduler.bin +3 -0
  20. checkpoint-600/custom_checkpoint_0.pkl +3 -0
  21. checkpoint-600/optimizer.bin +3 -0
  22. checkpoint-600/pytorch_model.bin +3 -0
  23. checkpoint-600/random_states_0.pkl +3 -0
  24. checkpoint-600/scaler.pt +3 -0
  25. checkpoint-600/scheduler.bin +3 -0
  26. checkpoint-800/custom_checkpoint_0.pkl +3 -0
  27. checkpoint-800/optimizer.bin +3 -0
  28. checkpoint-800/pytorch_model.bin +3 -0
  29. checkpoint-800/random_states_0.pkl +3 -0
  30. checkpoint-800/scaler.pt +3 -0
  31. checkpoint-800/scheduler.bin +3 -0
  32. logs/dreambooth-lora/1676756804.9282181/events.out.tfevents.1676756804.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7bf69c5dcr2f6.6245.1 +3 -0
  33. logs/dreambooth-lora/1676756804.9301627/hparams.yml +48 -0
  34. logs/dreambooth-lora/events.out.tfevents.1676756804.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7bf69c5dcr2f6.6245.0 +3 -0
  35. pytorch_lora_weights.bin +3 -0
  36. test_images/image_0.png +0 -0
  37. test_images/image_1.png +0 -0
  38. test_images/image_2.png +0 -0
  39. test_images/image_3.png +0 -0
  40. train.sh +1 -0
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ base_model: stabilityai/stable-diffusion-2-1-base
4
+ instance_prompt: ohxs
5
+ tags:
6
+ - stable-diffusion
7
+ - stable-diffusion-diffusers
8
+ - text-to-image
9
+ - diffusers
10
+ - lora
11
+ inference: true
12
+ ---
13
+ # LoRA DreamBooth - daniels
14
+
15
+ These are LoRA adaption weights for [stabilityai/stable-diffusion-2-1-base](https://huggingface.co/stabilityai/stable-diffusion-2-1-base). The weights were trained on the instance prompt "ohxs" using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
16
+
17
+ Test prompt: a photo of ohxs person
18
+ ![image_0](test_images/image_0.png)
19
+ ![image_1](test_images/image_1.png)
20
+ ![image_2](test_images/image_2.png)
21
+ ![image_3](test_images/image_3.png)
22
+
checkpoint-1000/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ec762c18bb82e1e3c2cb4f4e0f5e80a1159af9697c19fa3b8629a65f16c8c31
3
+ size 3418585
checkpoint-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:519ba839deb1c8ea388af71674a1938f2be7c56cd73fc154077e3f67318a1e2d
3
+ size 3493125
checkpoint-1000/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01d67dcce48a3f830d37dc85e51d84c692b3742b8882bda5e16aa863fec5dc72
3
+ size 3417037
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e31580776a3a5775f85b37449dfde228934be0397f27a64edffc9deffbe3be5
3
+ size 14727
checkpoint-1000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68cff80b680ddf6e7abbef98b5f336b97f9b5963e2209307f639383870e8cc71
3
+ size 557
checkpoint-1000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:963c3085720a3a3ca1d178559a0f2dc5d5b36fa395a4663f0194bfac4a754038
3
+ size 563
checkpoint-200/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67470429d8bdf79b56ea4381e8bd8ddec66afeba7467f28a75148bd244788996
3
+ size 3418585
checkpoint-200/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56b607a4f42ddbf2a347beed73a900c9f0ae4603d2a587b9015d53cc0830bcb8
3
+ size 3492869
checkpoint-200/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86a118eddd5845e686740acf360e6e5d05c416ee76d1f0f378fd24754766acc3
3
+ size 3417037
checkpoint-200/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a2676ac5c02bff55ad2c9b0ba71ed6bc86fa500ca57362df41278f1c80acc83
3
+ size 14727
checkpoint-200/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fccf0f9be1bb8f24861e4393745b3e09cc2687125a69e3757955fb0f0925ea5
3
+ size 557
checkpoint-200/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2565f1f317aadcb95557955732a7a05efb023cacf90620d89fcb0c7ac0f8e04
3
+ size 563
checkpoint-400/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7f56ad56be4b34f63791bbf6081755b6ee0532682dbfc895008d47d761d043c
3
+ size 3418585
checkpoint-400/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:928195f3fa624bb934e6531fdc8e661534c1c734cf0107a7157efcf902698281
3
+ size 3493125
checkpoint-400/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8eb89be9239596d203321c70cd82c64613457a2c4c9d20f3be3668054e85ec5b
3
+ size 3417037
checkpoint-400/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8df7ce1be31ac4daf0d67bd4b4ae60b01e0f61a20cfa0f69c5a5fa658ae1ec28
3
+ size 14727
checkpoint-400/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc40a4be6a52cee4d7658df4041e660ffa02b0d8b5bd143bb8bb397f7b71b1a5
3
+ size 557
checkpoint-400/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e33b45756ec30d1126f6571b94c7435f6d9cb7b6d5e5e650c81523775e7216f
3
+ size 563
checkpoint-600/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba665dea541424df2408d580a3fd2c84cb255ff62a357bbbb6baa2455aff51e6
3
+ size 3418585
checkpoint-600/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cef97836719173d8ed5eccc9626e0c5f04a48800b97bfbb37757d8128a0a785a
3
+ size 3493125
checkpoint-600/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7cd55af32368fcbaee1ba813945036e63786bf8408dce7428251b96c0873256
3
+ size 3417037
checkpoint-600/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4751fcb83db573551a34bb64ee03201ab42c1a533f35b7d9403db2ddb96adaeb
3
+ size 14727
checkpoint-600/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dc9eacfeb00bd0bfeb98934a2309be01be65b288e0d747bbfc423b32679169f
3
+ size 557
checkpoint-600/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:864c924c403e116aaa2ce6d169c54f498fb0609bfb8d79139ec317756b219c42
3
+ size 563
checkpoint-800/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c72ca79e99bd04f817aa814f1b084b9187b80d9abae34adb8ce9f5e756103d98
3
+ size 3418585
checkpoint-800/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:896a55c2fce238158791294745ffe30bc69d7a09f1ac1b73d35111b1dfce4622
3
+ size 3493125
checkpoint-800/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27f4a3cf3e8dc2ad31ab49897d4d986e53b268fe2ee87b668df16e4b1f4b9177
3
+ size 3417037
checkpoint-800/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd2f3fa40bf24d777cdd1580e0b9f568bbd84dbfa3f9c0979a61ae4c6aea7a39
3
+ size 14727
checkpoint-800/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27ec07a12731ae6f9765d05fe7c8495505f1d0f90b4cc6255a0853fec3970808
3
+ size 557
checkpoint-800/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f100ed37bb5af168a49362839776be9a5d1ff011bec2887fb25ef66be063de9
3
+ size 563
logs/dreambooth-lora/1676756804.9282181/events.out.tfevents.1676756804.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7bf69c5dcr2f6.6245.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c9fa6ef97e383f59dff1957488229612529a9ed5ec0d1e64d42610aec526c45
3
+ size 2435
logs/dreambooth-lora/1676756804.9301627/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: 200
8
+ class_data_dir: null
9
+ class_prompt: null
10
+ dataloader_num_workers: 0
11
+ enable_xformers_memory_efficient_attention: false
12
+ gradient_accumulation_steps: 1
13
+ gradient_checkpointing: false
14
+ hub_model_id: null
15
+ hub_token: null
16
+ instance_data_dir: /home/user/app/training_data/daniels
17
+ instance_prompt: ohxs
18
+ learning_rate: 0.0001
19
+ local_rank: -1
20
+ logging_dir: logs
21
+ lr_num_cycles: 1
22
+ lr_power: 1.0
23
+ lr_scheduler: constant
24
+ lr_warmup_steps: 0
25
+ max_grad_norm: 1.0
26
+ max_train_steps: 1000
27
+ mixed_precision: fp16
28
+ num_class_images: 100
29
+ num_train_epochs: 50
30
+ num_validation_images: 4
31
+ output_dir: /home/user/app/experiments/daniels
32
+ pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1-base
33
+ prior_generation_precision: null
34
+ prior_loss_weight: 1.0
35
+ push_to_hub: false
36
+ report_to: tensorboard
37
+ resolution: 512
38
+ resume_from_checkpoint: null
39
+ revision: null
40
+ sample_batch_size: 4
41
+ scale_lr: false
42
+ seed: 1718
43
+ tokenizer_name: null
44
+ train_batch_size: 1
45
+ use_8bit_adam: true
46
+ validation_epochs: 66
47
+ validation_prompt: a photo of ohxs person
48
+ with_prior_preservation: false
logs/dreambooth-lora/events.out.tfevents.1676756804.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7bf69c5dcr2f6.6245.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6608d8602bce703aeb35d1e5ab9aec611783de8c4c30d5f6f21c1a1db98cc641
3
+ size 3077760
pytorch_lora_weights.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af577a52554563a6703f34d127d455fe06fc018a4cca0578f8f207d64c061483
3
+ size 3418843
test_images/image_0.png ADDED
test_images/image_1.png ADDED
test_images/image_2.png ADDED
test_images/image_3.png ADDED
train.sh ADDED
@@ -0,0 +1 @@
 
 
1
+ accelerate launch train_dreambooth_lora.py --pretrained_model_name_or_path=stabilityai/stable-diffusion-2-1-base --instance_data_dir=/home/user/app/training_data/daniels --output_dir=/home/user/app/experiments/daniels --instance_prompt="ohxs" --resolution=512 --train_batch_size=1 --gradient_accumulation_steps=1 --learning_rate=0.0001 --lr_scheduler=constant --lr_warmup_steps=0 --max_train_steps=1000 --checkpointing_steps=200 --validation_prompt="a photo of ohxs person" --validation_epochs=66 --seed=1718 --mixed_precision fp16 --use_8bit_adam