antonellaavad commited on
Commit
5afaa6d
1 Parent(s): a77abe9

Upload . with huggingface_hub

Browse files
Files changed (40) hide show
  1. README.md +22 -0
  2. checkpoint-100/custom_checkpoint_0.pkl +3 -0
  3. checkpoint-100/optimizer.bin +3 -0
  4. checkpoint-100/pytorch_model.bin +3 -0
  5. checkpoint-100/random_states_0.pkl +3 -0
  6. checkpoint-100/scaler.pt +3 -0
  7. checkpoint-100/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-300/custom_checkpoint_0.pkl +3 -0
  15. checkpoint-300/optimizer.bin +3 -0
  16. checkpoint-300/pytorch_model.bin +3 -0
  17. checkpoint-300/random_states_0.pkl +3 -0
  18. checkpoint-300/scaler.pt +3 -0
  19. checkpoint-300/scheduler.bin +3 -0
  20. checkpoint-400/custom_checkpoint_0.pkl +3 -0
  21. checkpoint-400/optimizer.bin +3 -0
  22. checkpoint-400/pytorch_model.bin +3 -0
  23. checkpoint-400/random_states_0.pkl +3 -0
  24. checkpoint-400/scaler.pt +3 -0
  25. checkpoint-400/scheduler.bin +3 -0
  26. checkpoint-500/custom_checkpoint_0.pkl +3 -0
  27. checkpoint-500/optimizer.bin +3 -0
  28. checkpoint-500/pytorch_model.bin +3 -0
  29. checkpoint-500/random_states_0.pkl +3 -0
  30. checkpoint-500/scaler.pt +3 -0
  31. checkpoint-500/scheduler.bin +3 -0
  32. logs/dreambooth-lora/1680099598.701704/events.out.tfevents.1680099598.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7454559c4cmhp.31717.1 +3 -0
  33. logs/dreambooth-lora/1680099598.703937/hparams.yml +48 -0
  34. logs/dreambooth-lora/events.out.tfevents.1680099598.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7454559c4cmhp.31717.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: girl_zty2
5
+ tags:
6
+ - stable-diffusion
7
+ - stable-diffusion-diffusers
8
+ - text-to-image
9
+ - diffusers
10
+ - lora
11
+ inference: true
12
+ ---
13
+ # LoRA DreamBooth - girl-zty2
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 "girl_zty2" using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
16
+
17
+ Test prompt: girl_zty2
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-100/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99ea0d7837d86317c8cd1ca40cc3b71d0ec5c05f39116efe76c987ab860e0bea
3
+ size 3418585
checkpoint-100/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bab3ebbc2de84a06533a2493360f5d3ce4d15ce3d546320ac60e5f37a881f5d
3
+ size 3492869
checkpoint-100/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a95851184dbf6615dd5fbba7d77269a3a46d8701dd9076c09613a71d0f4ca8d7
3
+ size 3417037
checkpoint-100/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82466eba5c19241a42cc974a3124cb5161d206851095a9838f59ce2207cd0b74
3
+ size 14599
checkpoint-100/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b532da9d1d7c257d19b32880d98a2d9f1d09dc5e1e9b07fd713bcff39fb140ff
3
+ size 557
checkpoint-100/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aeb6feb615844fe73001640d0bb229aad2665ec2c2000da5799b2477b2c8106d
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:99ea0d7837d86317c8cd1ca40cc3b71d0ec5c05f39116efe76c987ab860e0bea
3
+ size 3418585
checkpoint-200/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bab3ebbc2de84a06533a2493360f5d3ce4d15ce3d546320ac60e5f37a881f5d
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:a95851184dbf6615dd5fbba7d77269a3a46d8701dd9076c09613a71d0f4ca8d7
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:bc06f357c69958e274552311cd5325156ef2f94c00e04c1113309db91d99999a
3
+ size 14599
checkpoint-200/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
3
+ size 557
checkpoint-200/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f388d2513d0a12ac80593a550aa89a43017f768ab4dacd75a1bc10aa936d39b7
3
+ size 563
checkpoint-300/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99ea0d7837d86317c8cd1ca40cc3b71d0ec5c05f39116efe76c987ab860e0bea
3
+ size 3418585
checkpoint-300/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bab3ebbc2de84a06533a2493360f5d3ce4d15ce3d546320ac60e5f37a881f5d
3
+ size 3492869
checkpoint-300/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a95851184dbf6615dd5fbba7d77269a3a46d8701dd9076c09613a71d0f4ca8d7
3
+ size 3417037
checkpoint-300/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8b69c845743bf09d314725961fcb1f94b7908c8dff056b48f38eb55d3cdc0ed
3
+ size 14599
checkpoint-300/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
3
+ size 557
checkpoint-300/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e7b3066061003866e361c251a245a2002f18aa21899d6e4f8141b9c0d443c32
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:99ea0d7837d86317c8cd1ca40cc3b71d0ec5c05f39116efe76c987ab860e0bea
3
+ size 3418585
checkpoint-400/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bab3ebbc2de84a06533a2493360f5d3ce4d15ce3d546320ac60e5f37a881f5d
3
+ size 3492869
checkpoint-400/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a95851184dbf6615dd5fbba7d77269a3a46d8701dd9076c09613a71d0f4ca8d7
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:5f18006f2dce5b26752ba179320c2949ca8ee8d9a1a3ec8da3d63165d67a9a20
3
+ size 14599
checkpoint-400/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
3
+ size 557
checkpoint-400/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6273ec096edbb281772b4ffe7665e2e59130249a1f26766ba3087f2a6cd3ffd4
3
+ size 563
checkpoint-500/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99ea0d7837d86317c8cd1ca40cc3b71d0ec5c05f39116efe76c987ab860e0bea
3
+ size 3418585
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bab3ebbc2de84a06533a2493360f5d3ce4d15ce3d546320ac60e5f37a881f5d
3
+ size 3492869
checkpoint-500/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a95851184dbf6615dd5fbba7d77269a3a46d8701dd9076c09613a71d0f4ca8d7
3
+ size 3417037
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d84f1bb4dfdf0589fe54beab793b2604a54ec2c97850729233741e8032a02f4c
3
+ size 14599
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
3
+ size 557
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdb8a7b8fe4f81f210f79b25f5106b1d7a0604dd97f3f30c49ef36370786affa
3
+ size 563
logs/dreambooth-lora/1680099598.701704/events.out.tfevents.1680099598.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7454559c4cmhp.31717.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d28a09b2aa9d9b0b12086fcd61972631321088e0d8bdc58569e97d3919229e9a
3
+ size 2431
logs/dreambooth-lora/1680099598.703937/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: 100
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/girl-zty2
17
+ instance_prompt: girl_zty2
18
+ learning_rate: 3.0
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: 500
27
+ mixed_precision: fp16
28
+ num_class_images: 100
29
+ num_train_epochs: 125
30
+ num_validation_images: 4
31
+ output_dir: /home/user/app/experiments/girl-zty2
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: 0
43
+ tokenizer_name: null
44
+ train_batch_size: 1
45
+ use_8bit_adam: true
46
+ validation_epochs: 100
47
+ validation_prompt: girl_zty2
48
+ with_prior_preservation: false
logs/dreambooth-lora/events.out.tfevents.1680099598.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7454559c4cmhp.31717.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e24898b1bf780fe9ec00f85251a8dfe0b59439f42922d305ba109fc82fdeed8b
3
+ size 51342
pytorch_lora_weights.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f52a0bd3a60a885fe2ac322fa36d023858958483f0cbde2fa3d65d29ec2e03a
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/girl-zty2 --output_dir=/home/user/app/experiments/girl-zty2 --instance_prompt="girl_zty2" --resolution=512 --train_batch_size=1 --gradient_accumulation_steps=1 --learning_rate=3.0 --lr_scheduler=constant --lr_warmup_steps=0 --max_train_steps=500 --checkpointing_steps=100 --validation_prompt="girl_zty2" --validation_epochs=100 --seed=0 --mixed_precision fp16 --use_8bit_adam