Text-to-Image
Diffusers
TensorBoard
stable-diffusion-xl
stable-diffusion-xl-diffusers
lora
template:sd-lora
Instructions to use kchoi/lora-sdxl-caricature with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kchoi/lora-sdxl-caricature with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("kchoi/lora-sdxl-caricature") prompt = "a woman in szn style" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse files- checkpoint-1000/optimizer.bin +1 -1
- checkpoint-1000/pytorch_lora_weights.safetensors +1 -1
- checkpoint-1000/random_states_0.pkl +1 -1
- checkpoint-500/optimizer.bin +1 -1
- checkpoint-500/pytorch_lora_weights.safetensors +1 -1
- checkpoint-500/random_states_0.pkl +1 -1
- image_0.png +2 -2
- image_1.png +2 -2
- image_2.png +2 -2
- image_3.png +2 -2
- logs/dreambooth-lora-sd-xl/1700934142.0314882/events.out.tfevents.1700934142.3e0cc9ee5a55.1334.1 +3 -0
- logs/dreambooth-lora-sd-xl/1700934142.0553832/hparams.yml +67 -0
- logs/dreambooth-lora-sd-xl/events.out.tfevents.1700934142.3e0cc9ee5a55.1334.0 +3 -0
- pytorch_lora_weights.safetensors +1 -1
checkpoint-1000/optimizer.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 187411231
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:567233be3937c5012438311bc758134d6dc46f1c685ff4c3f7b138cfc7dcfc47
|
| 3 |
size 187411231
|
checkpoint-1000/pytorch_lora_weights.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 371764576
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4516a7a44d944402b5fb5936ee0461d7ad0056c8fc11c8440e112c7176851a1d
|
| 3 |
size 371764576
|
checkpoint-1000/random_states_0.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14599
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb5c7acaa1b46ecc6a822df79d6f5bd20c379e20ac48ebf765576fb007d19444
|
| 3 |
size 14599
|
checkpoint-500/optimizer.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 187411231
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20b89be8c552311bad8001273780878e269da49dcb1a7b6a82ce87c628c37f9f
|
| 3 |
size 187411231
|
checkpoint-500/pytorch_lora_weights.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 371764576
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20825845110c4253629f55958f9f661893996b7cd28caac7967376bca80db139
|
| 3 |
size 371764576
|
checkpoint-500/random_states_0.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14599
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6db80aec5596b7a7132ef3e55e88603547da652aa93a2cb00ab95587f7e6f786
|
| 3 |
size 14599
|
image_0.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
image_1.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
image_2.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
image_3.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
logs/dreambooth-lora-sd-xl/1700934142.0314882/events.out.tfevents.1700934142.3e0cc9ee5a55.1334.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69bc877f01e69c345b34dc3e630261addd002fc444df13b217b73f45460a1c70
|
| 3 |
+
size 3233
|
logs/dreambooth-lora-sd-xl/1700934142.0553832/hparams.yml
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
adam_beta1: 0.9
|
| 2 |
+
adam_beta2: 0.999
|
| 3 |
+
adam_epsilon: 1.0e-08
|
| 4 |
+
adam_weight_decay: 0.0001
|
| 5 |
+
adam_weight_decay_text_encoder: 0.001
|
| 6 |
+
allow_tf32: false
|
| 7 |
+
cache_dir: null
|
| 8 |
+
caption_column: null
|
| 9 |
+
center_crop: false
|
| 10 |
+
checkpointing_steps: 500
|
| 11 |
+
checkpoints_total_limit: null
|
| 12 |
+
class_data_dir: null
|
| 13 |
+
class_prompt: null
|
| 14 |
+
crops_coords_top_left_h: 0
|
| 15 |
+
crops_coords_top_left_w: 0
|
| 16 |
+
dataloader_num_workers: 0
|
| 17 |
+
dataset_config_name: null
|
| 18 |
+
dataset_name: null
|
| 19 |
+
enable_xformers_memory_efficient_attention: false
|
| 20 |
+
gradient_accumulation_steps: 1
|
| 21 |
+
gradient_checkpointing: true
|
| 22 |
+
hub_model_id: null
|
| 23 |
+
hub_token: null
|
| 24 |
+
image_column: image
|
| 25 |
+
instance_data_dir: caricature
|
| 26 |
+
instance_prompt: a woman in szn style
|
| 27 |
+
learning_rate: 5.0e-05
|
| 28 |
+
local_rank: -1
|
| 29 |
+
logging_dir: logs
|
| 30 |
+
lr_num_cycles: 1
|
| 31 |
+
lr_power: 1.0
|
| 32 |
+
lr_scheduler: constant
|
| 33 |
+
lr_warmup_steps: 0
|
| 34 |
+
max_grad_norm: 1.0
|
| 35 |
+
max_train_steps: 1000
|
| 36 |
+
mixed_precision: fp16
|
| 37 |
+
num_class_images: 100
|
| 38 |
+
num_train_epochs: 112
|
| 39 |
+
num_validation_images: 4
|
| 40 |
+
optimizer: AdamW
|
| 41 |
+
output_dir: lora-sdxl-caricature
|
| 42 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-xl-base-1.0
|
| 43 |
+
pretrained_vae_model_name_or_path: madebyollin/sdxl-vae-fp16-fix
|
| 44 |
+
prior_generation_precision: null
|
| 45 |
+
prior_loss_weight: 1.0
|
| 46 |
+
prodigy_beta3: null
|
| 47 |
+
prodigy_decouple: true
|
| 48 |
+
prodigy_safeguard_warmup: true
|
| 49 |
+
prodigy_use_bias_correction: true
|
| 50 |
+
push_to_hub: true
|
| 51 |
+
rank: 64
|
| 52 |
+
repeats: 1
|
| 53 |
+
report_to: tensorboard
|
| 54 |
+
resolution: 1024
|
| 55 |
+
resume_from_checkpoint: null
|
| 56 |
+
revision: null
|
| 57 |
+
sample_batch_size: 4
|
| 58 |
+
scale_lr: false
|
| 59 |
+
seed: 0
|
| 60 |
+
snr_gamma: null
|
| 61 |
+
text_encoder_lr: 5.0e-06
|
| 62 |
+
train_batch_size: 1
|
| 63 |
+
train_text_encoder: false
|
| 64 |
+
use_8bit_adam: true
|
| 65 |
+
validation_epochs: 25
|
| 66 |
+
validation_prompt: a woman in szn style
|
| 67 |
+
with_prior_preservation: false
|
logs/dreambooth-lora-sd-xl/events.out.tfevents.1700934142.3e0cc9ee5a55.1334.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7533713a72725a1071f15c61e219bfaa355d06b7376450f2b864aa2f2ae22f46
|
| 3 |
+
size 34320865
|
pytorch_lora_weights.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 371764576
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4516a7a44d944402b5fb5936ee0461d7ad0056c8fc11c8440e112c7176851a1d
|
| 3 |
size 371764576
|