End of training
Browse files- .gitattributes +1 -0
- README.md +81 -0
- checkpoint-500/optimizer.bin +3 -0
- checkpoint-500/pytorch_lora_weights.safetensors +3 -0
- checkpoint-500/random_states_0.pkl +3 -0
- checkpoint-500/scaler.pt +3 -0
- checkpoint-500/scheduler.bin +3 -0
- example-lora-trained-xl.safetensors +3 -0
- image_0.png +0 -0
- image_1.png +0 -0
- image_2.png +0 -0
- image_3.png +3 -0
- pytorch_lora_weights.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
image_3.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- stable-diffusion-xl
|
| 4 |
+
- stable-diffusion-xl-diffusers
|
| 5 |
+
- text-to-image
|
| 6 |
+
- diffusers
|
| 7 |
+
- lora
|
| 8 |
+
- template:sd-lora
|
| 9 |
+
widget:
|
| 10 |
+
|
| 11 |
+
- text: 'A photo of sks cartoon character dancing'
|
| 12 |
+
output:
|
| 13 |
+
url:
|
| 14 |
+
"image_0.png"
|
| 15 |
+
|
| 16 |
+
- text: 'A photo of sks cartoon character dancing'
|
| 17 |
+
output:
|
| 18 |
+
url:
|
| 19 |
+
"image_1.png"
|
| 20 |
+
|
| 21 |
+
- text: 'A photo of sks cartoon character dancing'
|
| 22 |
+
output:
|
| 23 |
+
url:
|
| 24 |
+
"image_2.png"
|
| 25 |
+
|
| 26 |
+
- text: 'A photo of sks cartoon character dancing'
|
| 27 |
+
output:
|
| 28 |
+
url:
|
| 29 |
+
"image_3.png"
|
| 30 |
+
|
| 31 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 32 |
+
instance_prompt: a photo of sks cartoon character
|
| 33 |
+
license: openrail++
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
# SDXL LoRA DreamBooth - LordLiang/example-lora-trained-xl
|
| 37 |
+
|
| 38 |
+
<Gallery />
|
| 39 |
+
|
| 40 |
+
## Model description
|
| 41 |
+
|
| 42 |
+
### These are LordLiang/example-lora-trained-xl LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
|
| 43 |
+
|
| 44 |
+
## Download model
|
| 45 |
+
|
| 46 |
+
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
|
| 47 |
+
|
| 48 |
+
- **LoRA**: download **[`example-lora-trained-xl.safetensors` here 💾](/LordLiang/example-lora-trained-xl/blob/main/example-lora-trained-xl.safetensors)**.
|
| 49 |
+
- Place it on your `models/Lora` folder.
|
| 50 |
+
- On AUTOMATIC1111, load the LoRA by adding `<lora:example-lora-trained-xl:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 54 |
+
|
| 55 |
+
```py
|
| 56 |
+
from diffusers import AutoPipelineForText2Image
|
| 57 |
+
import torch
|
| 58 |
+
|
| 59 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
|
| 60 |
+
pipeline.load_lora_weights('LordLiang/example-lora-trained-xl', weight_name='pytorch_lora_weights.safetensors')
|
| 61 |
+
|
| 62 |
+
image = pipeline('A photo of sks cartoon character dancing').images[0]
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
| 66 |
+
|
| 67 |
+
## Trigger words
|
| 68 |
+
|
| 69 |
+
You should use a photo of sks cartoon character to trigger the image generation.
|
| 70 |
+
|
| 71 |
+
## Details
|
| 72 |
+
All [Files & versions](/LordLiang/example-lora-trained-xl/tree/main).
|
| 73 |
+
|
| 74 |
+
The weights were trained using [🧨 diffusers Advanced Dreambooth Training Script](https://github.com/huggingface/diffusers/blob/main/examples/advanced_diffusion_training/train_dreambooth_lora_sdxl_advanced.py).
|
| 75 |
+
|
| 76 |
+
LoRA for the text encoder was enabled. False.
|
| 77 |
+
|
| 78 |
+
Pivotal tuning was enabled: False.
|
| 79 |
+
|
| 80 |
+
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
|
| 81 |
+
|
checkpoint-500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76a1c10d65f935bbeacee9f373955dac8c22b583c1743adf372e1a1782349405
|
| 3 |
+
size 14991036
|
checkpoint-500/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35e694f0b9f855b034cd87aa7f48446e1ef628f762fc981d37e27ddeeac43fbb
|
| 3 |
+
size 23390424
|
checkpoint-500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2b731b33ebd1988ed94e114463c301f73c15860dfe1c847bd311489839adb1d
|
| 3 |
+
size 14280
|
checkpoint-500/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18b984273ea2d45b7ffb1d047bb359d93111e41fcad70d16a1b453fd38f72636
|
| 3 |
+
size 988
|
checkpoint-500/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cf34ac8dd2addc454aeb1ee4eaba3267c2841857e117be40ac2ed02cf581c9c
|
| 3 |
+
size 1000
|
example-lora-trained-xl.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f83a0b383eb79511e8d4e09b8e4b17fccc5941f17c251cba3c9ba7f1d31941d0
|
| 3 |
+
size 23473224
|
image_0.png
ADDED
|
image_1.png
ADDED
|
image_2.png
ADDED
|
image_3.png
ADDED
|
Git LFS Details
|
pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35e694f0b9f855b034cd87aa7f48446e1ef628f762fc981d37e27ddeeac43fbb
|
| 3 |
+
size 23390424
|