Upload . with huggingface_hub
Browse files- README.md +22 -0
- checkpoint-1000/custom_checkpoint_0.pkl +3 -0
- checkpoint-1000/optimizer.bin +3 -0
- checkpoint-1000/pytorch_model.bin +3 -0
- checkpoint-1000/random_states_0.pkl +3 -0
- checkpoint-1000/scaler.pt +3 -0
- checkpoint-1000/scheduler.bin +3 -0
- checkpoint-500/custom_checkpoint_0.pkl +3 -0
- checkpoint-500/optimizer.bin +3 -0
- checkpoint-500/pytorch_model.bin +3 -0
- checkpoint-500/random_states_0.pkl +3 -0
- checkpoint-500/scaler.pt +3 -0
- checkpoint-500/scheduler.bin +3 -0
- logs/dreambooth-lora/1675595800.5051873/events.out.tfevents.1675595800.s-ysharma-lora-dreambooth-training-ui-90852-6fc688cf68-mnphc.265.1 +3 -0
- logs/dreambooth-lora/1675595800.5068517/hparams.yml +48 -0
- logs/dreambooth-lora/events.out.tfevents.1675595800.s-ysharma-lora-dreambooth-training-ui-90852-6fc688cf68-mnphc.265.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: a photo of simbatheog
|
5 |
+
tags:
|
6 |
+
- stable-diffusion
|
7 |
+
- stable-diffusion-diffusers
|
8 |
+
- text-to-image
|
9 |
+
- diffusers
|
10 |
+
- lora
|
11 |
+
inference: true
|
12 |
+
---
|
13 |
+
# LoRA DreamBooth - simbatheoglion
|
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 "a photo of simbatheog" using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
|
16 |
+
|
17 |
+
Test prompt: A photo of simbatheog in a bucket
|
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:155d7c9707d9c291c3383223511a23d906aad4515fc870097c92ea58cffd2204
|
3 |
+
size 3418585
|
checkpoint-1000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bdb1f5629f8e930bd19ae659518ce75b617e1cfcc648c04884c2584d6b4794fd
|
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:ce0a784cdd198f00820f7d776d1e0ae9467a955f039047a016838f3d40ffba8f
|
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:7102b4014425864633a6405beea3b165fa9ba57acbce9aeb9ee604817da984d9
|
3 |
+
size 14599
|
checkpoint-1000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fa181fa360d46feed4180ea17c8b6a4a879a9b4231c2e91aff2be20be9076cc
|
3 |
+
size 557
|
checkpoint-1000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77b9ebea123ef27976d26da3da6318c1ad6e54aba8cea7a2c88d3b85e8811d78
|
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:fce8566679f73e08e1dc2ef2c3c3073b77d57fb8c015e0496564ae99badf8091
|
3 |
+
size 3418585
|
checkpoint-500/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b93028eee98f1c801d77d9a7bbc96fa79862a9e220fad79bd5627647035e518d
|
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:b74964ab4f325f65307c1bf23b8f000a272f1e98ffb934a8cc395f412ca94abc
|
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: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:62783ff6f0ae2c2ccc177b097e430c03940c5e70c38a191df273c5cf7ab1227c
|
3 |
+
size 563
|
logs/dreambooth-lora/1675595800.5051873/events.out.tfevents.1675595800.s-ysharma-lora-dreambooth-training-ui-90852-6fc688cf68-mnphc.265.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12f443425ced777cc17eb85aa9ed370e2ec16c930e385f7cac33695634564576
|
3 |
+
size 2477
|
logs/dreambooth-lora/1675595800.5068517/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: 1
|
13 |
+
gradient_checkpointing: false
|
14 |
+
hub_model_id: null
|
15 |
+
hub_token: null
|
16 |
+
instance_data_dir: /home/user/app/training_data/simbatheoglion
|
17 |
+
instance_prompt: a photo of simbatheog
|
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: 250
|
30 |
+
num_validation_images: 4
|
31 |
+
output_dir: /home/user/app/experiments/simbatheoglion
|
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: A photo of simbatheog in a bucket
|
48 |
+
with_prior_preservation: false
|
logs/dreambooth-lora/events.out.tfevents.1675595800.s-ysharma-lora-dreambooth-training-ui-90852-6fc688cf68-mnphc.265.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06a8836a102a8bdc5b5656d6582f0d63181910633889733d10c8636ca6818a8b
|
3 |
+
size 5346864
|
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/simbatheoglion --output_dir=/home/user/app/experiments/simbatheoglion --instance_prompt="a photo of simbatheog" --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=500 --validation_prompt="A photo of simbatheog in a bucket" --validation_epochs=100 --seed=0 --mixed_precision fp16 --use_8bit_adam
|