antonellaavad
commited on
Commit
•
a6550ed
1
Parent(s):
0b71cd7
Upload . with huggingface_hub
Browse files- README.md +22 -0
- checkpoint-1200/custom_checkpoint_0.pkl +3 -0
- checkpoint-1200/optimizer.bin +3 -0
- checkpoint-1200/pytorch_model.bin +3 -0
- checkpoint-1200/random_states_0.pkl +3 -0
- checkpoint-1200/scaler.pt +3 -0
- checkpoint-1200/scheduler.bin +3 -0
- checkpoint-1600/custom_checkpoint_0.pkl +3 -0
- checkpoint-1600/optimizer.bin +3 -0
- checkpoint-1600/pytorch_model.bin +3 -0
- checkpoint-1600/random_states_0.pkl +3 -0
- checkpoint-1600/scaler.pt +3 -0
- checkpoint-1600/scheduler.bin +3 -0
- checkpoint-2000/custom_checkpoint_0.pkl +3 -0
- checkpoint-2000/optimizer.bin +3 -0
- checkpoint-2000/pytorch_model.bin +3 -0
- checkpoint-2000/random_states_0.pkl +3 -0
- checkpoint-2000/scaler.pt +3 -0
- checkpoint-2000/scheduler.bin +3 -0
- checkpoint-2400/custom_checkpoint_0.pkl +3 -0
- checkpoint-2400/optimizer.bin +3 -0
- checkpoint-2400/pytorch_model.bin +3 -0
- checkpoint-2400/random_states_0.pkl +3 -0
- checkpoint-2400/scaler.pt +3 -0
- checkpoint-2400/scheduler.bin +3 -0
- checkpoint-400/custom_checkpoint_0.pkl +3 -0
- checkpoint-400/optimizer.bin +3 -0
- checkpoint-400/pytorch_model.bin +3 -0
- checkpoint-400/random_states_0.pkl +3 -0
- checkpoint-400/scaler.pt +3 -0
- checkpoint-400/scheduler.bin +3 -0
- checkpoint-800/custom_checkpoint_0.pkl +3 -0
- checkpoint-800/optimizer.bin +3 -0
- checkpoint-800/pytorch_model.bin +3 -0
- checkpoint-800/random_states_0.pkl +3 -0
- checkpoint-800/scaler.pt +3 -0
- checkpoint-800/scheduler.bin +3 -0
- logs/dreambooth-lora/1679804777.3887854/events.out.tfevents.1679804777.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7454559c4cmhp.8745.1 +3 -0
- logs/dreambooth-lora/1679804777.3909063/hparams.yml +48 -0
- logs/dreambooth-lora/events.out.tfevents.1679804777.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7454559c4cmhp.8745.0 +3 -0
- pytorch_lora_weights.bin +3 -0
- test_images/image_0.png +0 -0
- test_images/image_1.png +0 -0
- test_images/image_2.png +0 -0
- test_images/image_3.png +0 -0
- 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: wyt
|
5 |
+
tags:
|
6 |
+
- stable-diffusion
|
7 |
+
- stable-diffusion-diffusers
|
8 |
+
- text-to-image
|
9 |
+
- diffusers
|
10 |
+
- lora
|
11 |
+
inference: true
|
12 |
+
---
|
13 |
+
# LoRA DreamBooth - wyt1-1
|
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 "wyt" using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
|
16 |
+
|
17 |
+
Test prompt: wyt,1girl,
|
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-1200/custom_checkpoint_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:155d7c9707d9c291c3383223511a23d906aad4515fc870097c92ea58cffd2204
|
3 |
+
size 3418585
|
checkpoint-1200/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa68738df0b54c543d184b4a6cb7f1ed8fcb526e24399cda28c867ec2e817905
|
3 |
+
size 3493125
|
checkpoint-1200/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce0a784cdd198f00820f7d776d1e0ae9467a955f039047a016838f3d40ffba8f
|
3 |
+
size 3417037
|
checkpoint-1200/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0cd60b35025232c9d9fd43063f64db396d8af31e8a4a89e09b44feedccf315f
|
3 |
+
size 14599
|
checkpoint-1200/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
|
3 |
+
size 557
|
checkpoint-1200/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7673b2de45c26c1db3b9250aa16b22592be89f695c31079d3e8e90bd02b7f225
|
3 |
+
size 563
|
checkpoint-1600/custom_checkpoint_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:155d7c9707d9c291c3383223511a23d906aad4515fc870097c92ea58cffd2204
|
3 |
+
size 3418585
|
checkpoint-1600/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa68738df0b54c543d184b4a6cb7f1ed8fcb526e24399cda28c867ec2e817905
|
3 |
+
size 3493125
|
checkpoint-1600/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce0a784cdd198f00820f7d776d1e0ae9467a955f039047a016838f3d40ffba8f
|
3 |
+
size 3417037
|
checkpoint-1600/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84ce573b039906cb916867c09ebd6e4214590da6a77e715589b85a196d33d00e
|
3 |
+
size 14599
|
checkpoint-1600/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
|
3 |
+
size 557
|
checkpoint-1600/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6a53996ab20122b83edf6541bebd73aaaf7315e04cc4a60289fa0bfd52a24371
|
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:155d7c9707d9c291c3383223511a23d906aad4515fc870097c92ea58cffd2204
|
3 |
+
size 3418585
|
checkpoint-2000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa68738df0b54c543d184b4a6cb7f1ed8fcb526e24399cda28c867ec2e817905
|
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:ce0a784cdd198f00820f7d776d1e0ae9467a955f039047a016838f3d40ffba8f
|
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:60022d1843b25478d6403e39e46f569fb4dd2989a614fdcda8b71a405c5d85a2
|
3 |
+
size 14599
|
checkpoint-2000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
|
3 |
+
size 557
|
checkpoint-2000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:456e0f82e1f69c1c7c3f294d8d9ee5a27f11a3af5067518517fb2354b1dae333
|
3 |
+
size 563
|
checkpoint-2400/custom_checkpoint_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:155d7c9707d9c291c3383223511a23d906aad4515fc870097c92ea58cffd2204
|
3 |
+
size 3418585
|
checkpoint-2400/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa68738df0b54c543d184b4a6cb7f1ed8fcb526e24399cda28c867ec2e817905
|
3 |
+
size 3493125
|
checkpoint-2400/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce0a784cdd198f00820f7d776d1e0ae9467a955f039047a016838f3d40ffba8f
|
3 |
+
size 3417037
|
checkpoint-2400/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ddacb19fadf4e54401d2bcb96a6a7f9f83faf457c86713e6c94de2fc2444c3f8
|
3 |
+
size 14599
|
checkpoint-2400/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
|
3 |
+
size 557
|
checkpoint-2400/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5d1624b3128453bc6d334069e7cea06043e6e3fb0203cfe424b02fa42021efe
|
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:82bf389c7e5e1ca2e3439d68ed72f749202b3da1167f26786cfff40cf9ec3ffa
|
3 |
+
size 3418585
|
checkpoint-400/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b203000af01c74de20ba53d303cbe12e108fbe3c3b3c00c7e29a849f0b54ac4
|
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:619a494809116c8393d3b0f404314aa05ff310ded5db3fce8954ce1f68582697
|
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:9d216b64128b8f252240cfdaa26ff6ff29a37195b3f4d72b5388cdf53531b3df
|
3 |
+
size 14599
|
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-800/custom_checkpoint_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:571495a56463eb3cfce03a730879b6f238fd96817cfe0878374faefc6662850a
|
3 |
+
size 3418585
|
checkpoint-800/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45ef7837c5716ff45ea6ad2ed7dfe124de193c883cef4eafe1ad835bd31d5e2e
|
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:ae22b94c66a00c3e9bc680be320ea7e7c2e60dc268a90068ba43baae72bd1a0e
|
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:3f61dea9f1f34953c676f567ec875345e7d4a7907d7127848a293705b23192ae
|
3 |
+
size 14599
|
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/1679804777.3887854/events.out.tfevents.1679804777.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7454559c4cmhp.8745.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0350d9ab6c4624577ad5c97e6d226c7b3c4def2b25754b7e7de1af29ce5a7d06
|
3 |
+
size 2420
|
logs/dreambooth-lora/1679804777.3909063/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: 400
|
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/wyt1-1
|
17 |
+
instance_prompt: wyt
|
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: 2400
|
27 |
+
mixed_precision: fp16
|
28 |
+
num_class_images: 100
|
29 |
+
num_train_epochs: 100
|
30 |
+
num_validation_images: 4
|
31 |
+
output_dir: /home/user/app/experiments/wyt1-1
|
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: wyt,1girl,
|
48 |
+
with_prior_preservation: false
|
logs/dreambooth-lora/events.out.tfevents.1679804777.s-antonellaavad-lora-dreambooth-training-ui-33f5a-7454559c4cmhp.8745.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7926a235b74e81ee92cc9bc8182e5f0aaa696c6afbdd249b0d09880c5bf987d
|
3 |
+
size 2044318
|
pytorch_lora_weights.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4357a54f28600cba0da6aa842c11b7429761d87fef20380998b9f2dda0f26e4
|
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/wyt1-1 --output_dir=/home/user/app/experiments/wyt1-1 --instance_prompt="wyt" --resolution=512 --train_batch_size=1 --gradient_accumulation_steps=1 --learning_rate=0.0001 --lr_scheduler=constant --lr_warmup_steps=0 --max_train_steps=2400 --checkpointing_steps=400 --validation_prompt="wyt,1girl," --validation_epochs=100 --seed=0 --mixed_precision fp16 --use_8bit_adam
|