Upload . with huggingface_hub
Browse files- README.md +17 -0
- logs/dreambooth-lora/1719369793.2067692/events.out.tfevents.1719369793.r-kmilesz-lora-dreambooth-training-ui-qianli-iamo8vnm-5ffba-p54.86.1 +3 -0
- logs/dreambooth-lora/1719369793.2086463/hparams.yml +48 -0
- logs/dreambooth-lora/events.out.tfevents.1719369793.r-kmilesz-lora-dreambooth-training-ui-qianli-iamo8vnm-5ffba-p54.86.0 +3 -0
- train.sh +1 -0
README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: creativeml-openrail-m
|
| 3 |
+
base_model: stabilityai/stable-diffusion-2-1-base
|
| 4 |
+
instance_prompt: swd
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
- lora
|
| 11 |
+
inference: true
|
| 12 |
+
---
|
| 13 |
+
# LoRA DreamBooth - swd
|
| 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 "swd" using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
|
| 16 |
+
|
| 17 |
+
|
logs/dreambooth-lora/1719369793.2067692/events.out.tfevents.1719369793.r-kmilesz-lora-dreambooth-training-ui-qianli-iamo8vnm-5ffba-p54.86.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:217d990cd33a5e95eaf9d2b6020e8ef79437fbce66fbc7e3dd8f86619f5b64b1
|
| 3 |
+
size 2407
|
logs/dreambooth-lora/1719369793.2086463/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/swd
|
| 17 |
+
instance_prompt: swd
|
| 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: 167
|
| 30 |
+
num_validation_images: 4
|
| 31 |
+
output_dir: /home/user/app/experiments/swd
|
| 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: swd
|
| 48 |
+
with_prior_preservation: false
|
logs/dreambooth-lora/events.out.tfevents.1719369793.r-kmilesz-lora-dreambooth-training-ui-qianli-iamo8vnm-5ffba-p54.86.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa8b0367178c82974add4197c3252dfb4561aea6cf6b23a827cec0440ed90912
|
| 3 |
+
size 40
|
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/swd --output_dir=/home/user/app/experiments/swd --instance_prompt="swd" --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=100 --validation_prompt="swd" --validation_epochs=100 --seed=0 --mixed_precision fp16 --use_8bit_adam
|