antonellaavad commited on
Commit
6ea51bd
1 Parent(s): 79d2ef6

Upload . with huggingface_hub

Browse files
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: skkjuju
5
+ tags:
6
+ - stable-diffusion
7
+ - stable-diffusion-diffusers
8
+ - text-to-image
9
+ - diffusers
10
+ - lora
11
+ inference: true
12
+ ---
13
+ # LoRA DreamBooth - skkjuju
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 "skkjuju" using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
16
+
17
+ Test prompt: 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:44f24bdef8c5912b8032ae03eea6bffc8d90a75ae369e469fae1bbe7fa363b42
3
+ size 3418585
checkpoint-1000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dc19f8efd91ea8696c75b19faf60f2dd5a6f442e790f3cb37a8569d945de705
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:0a2721f0547e65a106d392bc602dd831cf219304fc838a281b17b076108929b4
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:508464d3e4250fdd853328992d0c94c333d0cdd42340e95f7964b712adf42595
3
+ size 14599
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:9e7907c4d74e791b6dfa1b5025b058caefd1502d002ac91f02a607fcd8b6d9b9
3
+ size 563
checkpoint-1500/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98c6f8fa5b403b1037caf795cf0d205a7a03ca985598914ff19fe4154a9ab318
3
+ size 3418585
checkpoint-1500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30fee22bcc7fd6389a3699434e0e73a1e5e84942ffa8274a3011323ac1d7f7ab
3
+ size 3493125
checkpoint-1500/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dd8adc39dbbb71d373f022495fdaf2215e5254ea01bbc305c1c1e1af04c0336
3
+ size 3417037
checkpoint-1500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d30097e0d6852e77e8085de0ccb9c916b224b564c792a28b5975d881a9095756
3
+ size 14599
checkpoint-1500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:203a72d6c29f42a0e2964fdddc8d7a98df1eccee78fea9de0fa416613390f5c6
3
+ size 557
checkpoint-1500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b44a478a5a025952c2c99625683d1d0bdf2360b5caf3dc006563f0a6a2a9e8a6
3
+ size 563
checkpoint-2000/custom_checkpoint_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c2a1d235f1788a209ce5b358e89f44fa751cce050aea0c0a3f30b66ca601cd1
3
+ size 3418585
checkpoint-2000/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b168c4772cf9bcbc797d94eb53e7d9312b751cc88115ab65199c1d6af4389907
3
+ size 3493125
checkpoint-2000/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0a76723d369f68e29fa981378b6838f8b8239dc949b72a577981bcbe82f69a6
3
+ size 3417037
checkpoint-2000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:090871a1ebcd27f74bb92e6fbe1ced0774aa4c67ed41865e383fbdc6f6bc019f
3
+ size 14599
checkpoint-2000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd2de9749828adacdf103bf6e9592702bb7067a2c1df27dd62ab38c1eb8c070f
3
+ size 557
checkpoint-2000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b00926184b56724eb4d588c51f2f86b9fdbd8d102dc44b2ef3f7142a9280ca5b
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:1787fad9112768d778456a188f42ee0a5010530bc3fd4d5006e95e78445ad484
3
+ size 3418585
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81d509b410be7f86e47775af14662effe3214436b531738eedbad88097a93938
3
+ size 3493125
checkpoint-500/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3a119e058211499d4abfce1f4d10b630407d546a2081f1a1aa8ff0ac2b7165a
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:456a5e4b8f6a6a8014723556ca0260faf796822dff1eb71dc72344f1784ef3ce
3
+ size 14599
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3f196a54202bb4ba1220e8c59f42f9cda0702d68ea83147d814c2fb2f36b8f2
3
+ size 557
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4650a6f5496b910621f7e4ab7ede4e96c1613959998f59d6ea95daf3908508e7
3
+ size 563
logs/dreambooth-lora/1675977864.3960752/events.out.tfevents.1675977864.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7c48f886llc6n.178.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8a88c18eb778f0214f87fa73360cf4a740016aec574be7b5f0f41c60ac06ea4
3
+ size 2422
logs/dreambooth-lora/1675977864.3981774/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
+ class_data_dir: null
9
+ class_prompt: null
10
+ dataloader_num_workers: 0
11
+ enable_xformers_memory_efficient_attention: false
12
+ gradient_accumulation_steps: 3
13
+ gradient_checkpointing: false
14
+ hub_model_id: null
15
+ hub_token: null
16
+ instance_data_dir: /home/user/app/training_data/skkjuju
17
+ instance_prompt: skkjuju
18
+ learning_rate: 5.0e-05
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: 2000
27
+ mixed_precision: fp16
28
+ num_class_images: 100
29
+ num_train_epochs: 400
30
+ num_validation_images: 4
31
+ output_dir: /home/user/app/experiments/skkjuju
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: 768
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: person
48
+ with_prior_preservation: false
logs/dreambooth-lora/events.out.tfevents.1675977864.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7c48f886llc6n.178.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:729187b53c8fb30b148d6f0736ba28123e360bc2913594e582d2258948f47ffc
3
+ size 9874107
pytorch_lora_weights.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9456b74757dcdbe8d54af6b9351cb7d7edb3e8a7d22c2dc2a7a09879505b4567
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/skkjuju --output_dir=/home/user/app/experiments/skkjuju --instance_prompt="skkjuju" --resolution=768 --train_batch_size=1 --gradient_accumulation_steps=3 --learning_rate=5e-05 --lr_scheduler=constant --lr_warmup_steps=0 --max_train_steps=2000 --checkpointing_steps=500 --validation_prompt="person" --validation_epochs=100 --seed=0 --mixed_precision fp16 --use_8bit_adam