Commit
·
42fd02b
1
Parent(s):
6605715
End of training
Browse files- README.md +63 -0
- checkpoint-100/optimizer.bin +3 -0
- checkpoint-100/pytorch_lora_weights.safetensors +3 -0
- checkpoint-100/random_states_0.pkl +3 -0
- checkpoint-100/scaler.pt +3 -0
- checkpoint-100/scheduler.bin +3 -0
- checkpoint-200/optimizer.bin +3 -0
- checkpoint-200/pytorch_lora_weights.safetensors +3 -0
- checkpoint-200/random_states_0.pkl +3 -0
- checkpoint-200/scaler.pt +3 -0
- checkpoint-200/scheduler.bin +3 -0
- checkpoint-300/optimizer.bin +3 -0
- checkpoint-300/pytorch_lora_weights.safetensors +3 -0
- checkpoint-300/random_states_0.pkl +3 -0
- checkpoint-300/scaler.pt +3 -0
- checkpoint-300/scheduler.bin +3 -0
- checkpoint-400/optimizer.bin +3 -0
- checkpoint-400/pytorch_lora_weights.safetensors +3 -0
- checkpoint-400/random_states_0.pkl +3 -0
- checkpoint-400/scaler.pt +3 -0
- checkpoint-400/scheduler.bin +3 -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
- pytorch_lora_weights.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 4 |
+
instance_prompt: marcelsamyn
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion-xl
|
| 7 |
+
- stable-diffusion-xl-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
- lora
|
| 11 |
+
inference: false
|
| 12 |
+
datasets:
|
| 13 |
+
- marcelsamyn/marcelsamyn3
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# LoRA DreamBooth - marcelsamyn/lora-trained-xl-folder
|
| 17 |
+
|
| 18 |
+
These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
|
| 19 |
+
|
| 20 |
+
The weights were trained on the concept prompt:
|
| 21 |
+
|
| 22 |
+
`marcelsamyn`
|
| 23 |
+
|
| 24 |
+
Use this keyword to trigger your custom model in your prompts.
|
| 25 |
+
|
| 26 |
+
LoRA for the text encoder was enabled: False.
|
| 27 |
+
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
|
| 28 |
+
|
| 29 |
+
## Usage
|
| 30 |
+
|
| 31 |
+
Make sure to upgrade diffusers to >= 0.19.0:
|
| 32 |
+
```
|
| 33 |
+
pip install diffusers --upgrade
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
In addition make sure to install transformers, safetensors, accelerate as well as the invisible watermark:
|
| 37 |
+
```
|
| 38 |
+
pip install invisible_watermark transformers accelerate safetensors
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
To just use the base model, you can run:
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
import torch
|
| 45 |
+
from diffusers import DiffusionPipeline, AutoencoderKL
|
| 46 |
+
|
| 47 |
+
vae = AutoencoderKL.from_pretrained('madebyollin/sdxl-vae-fp16-fix', torch_dtype=torch.float16)
|
| 48 |
+
|
| 49 |
+
pipe = DiffusionPipeline.from_pretrained(
|
| 50 |
+
"stabilityai/stable-diffusion-xl-base-1.0",
|
| 51 |
+
vae=vae, torch_dtype=torch.float16, variant="fp16",
|
| 52 |
+
use_safetensors=True
|
| 53 |
+
)
|
| 54 |
+
|
| 55 |
+
# This is where you load your trained weights
|
| 56 |
+
pipe.load_lora_weights('marcelsamyn/lora-trained-xl-folder')
|
| 57 |
+
|
| 58 |
+
pipe.to("cuda")
|
| 59 |
+
|
| 60 |
+
prompt = "A majestic marcelsamyn jumping from a big stone at night"
|
| 61 |
+
|
| 62 |
+
image = pipe(prompt=prompt, num_inference_steps=50).images[0]
|
| 63 |
+
```
|
checkpoint-100/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:881f9a0e5de1ac01c5b830017979b77fd22578702392ad455a1d8bdf228a2e0a
|
| 3 |
+
size 14989511
|
checkpoint-100/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:699c732c674dd7431488a03c7b450287f2cb56983ec91d8d00dea239415ce9a1
|
| 3 |
+
size 23401064
|
checkpoint-100/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1537a55c7b539839ad32b1cd3f31c6972524e34605cc71a586e46cd1f8b68981
|
| 3 |
+
size 14599
|
checkpoint-100/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfa44e8523f62833816d29aa6c576eaa7783e3bbdb3e132e248b1d8aaee6132b
|
| 3 |
+
size 557
|
checkpoint-100/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:906bdd391189fd16d3160fd1e198eb53687dae580f930cf3f64365609fd5f606
|
| 3 |
+
size 563
|
checkpoint-200/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd482e659fc98ba8756506dac2576a0a4ebd9d2c24a7415e774a96290021a591
|
| 3 |
+
size 14989511
|
checkpoint-200/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4977ff6ba781728d9a28464ecfcb1077a0d39225be5188a469c55da7edd90a4
|
| 3 |
+
size 23401064
|
checkpoint-200/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acbb67feef974abeb353f3237ab33680d4e75d6419ff98f9a4194a434d7b8021
|
| 3 |
+
size 14599
|
checkpoint-200/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4fccf0f9be1bb8f24861e4393745b3e09cc2687125a69e3757955fb0f0925ea5
|
| 3 |
+
size 557
|
checkpoint-200/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2565f1f317aadcb95557955732a7a05efb023cacf90620d89fcb0c7ac0f8e04
|
| 3 |
+
size 563
|
checkpoint-300/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bc48d832c4d13d98df5bed879c6d9924b39cd46bc99685e2afdb31eca517a2a
|
| 3 |
+
size 14990599
|
checkpoint-300/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c695f7d8a9c8bb96445c62078b28c039877bf448bd41f6bcda60069838eb0bc
|
| 3 |
+
size 23401064
|
checkpoint-300/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93e507b2a9ef65bdbdc8475848f9d2aa18b63a79624e073dc40399eb5018d939
|
| 3 |
+
size 14599
|
checkpoint-300/scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efafd90182e3d39d1b7c4a686f86e5913f5abc094dc3e2f827a6d479c6cef247
|
| 3 |
+
size 557
|
checkpoint-300/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a84fb1fc02dc9adb8c44beeab2c46fbc41e10a07e99dad3fcd85350ca2bda9d5
|
| 3 |
+
size 563
|
checkpoint-400/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef98b4919dacd8f3f88f0b98ae6b230a1adcecb95911420624f88af8b7a852d8
|
| 3 |
+
size 14990599
|
checkpoint-400/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2cfb0cd8a9bb561779d1ac1ae7dd6987fd9fdb9177254c8bb00710dd2927a987
|
| 3 |
+
size 23401064
|
checkpoint-400/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fe61ffd3e641dfe453fc451e07ba29cfbe407bcbad8f5fed6f00003ac80f063
|
| 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-500/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adab6b5b8de1dac50a953f0eebb7a4c6360e8fbb108486ed4731cafbcc4fef54
|
| 3 |
+
size 14990599
|
checkpoint-500/pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19ea5682852dea6de6c36c516fb48d9a0c88daceac0979cf9632774c0cb13db9
|
| 3 |
+
size 23401064
|
checkpoint-500/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:770ad763a83a58f6ea5658f7a94c9d0596883198c89506dd8c037966855d4932
|
| 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
|
pytorch_lora_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19ea5682852dea6de6c36c516fb48d9a0c88daceac0979cf9632774c0cb13db9
|
| 3 |
+
size 23401064
|