Outer-Spatial
commited on
Commit
·
2325b23
1
Parent(s):
f82aea3
saving checkpoint-100
Browse files- .gitattributes +23 -0
- README.md +62 -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
- n1.jpg +3 -0
- n10.jpg +3 -0
- n11.jpg +3 -0
- n13.jpg +3 -0
- n14.jpg +3 -0
- n15.jpg +3 -0
- n16.jpg +3 -0
- n17.jpg +3 -0
- n18.jpg +3 -0
- n19.jpg +3 -0
- n2.jpg +3 -0
- n20.jpg +3 -0
- n21.jpg +3 -0
- n22.jpg +3 -0
- n23.jpg +3 -0
- n24.jpg +3 -0
- n3.jpg +3 -0
- n4.jpg +3 -0
- n5.jpg +3 -0
- n6.jpg +3 -0
- n7.jpg +3 -0
- n8.jpg +3 -0
- n9.jpg +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,26 @@ 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 |
+
n1.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
n10.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
n11.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
n13.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
n14.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
n15.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
n16.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
n17.jpg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
n18.jpg filter=lfs diff=lfs merge=lfs -text
|
45 |
+
n19.jpg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
n2.jpg filter=lfs diff=lfs merge=lfs -text
|
47 |
+
n20.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
+
n21.jpg filter=lfs diff=lfs merge=lfs -text
|
49 |
+
n22.jpg filter=lfs diff=lfs merge=lfs -text
|
50 |
+
n23.jpg filter=lfs diff=lfs merge=lfs -text
|
51 |
+
n24.jpg filter=lfs diff=lfs merge=lfs -text
|
52 |
+
n3.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
+
n4.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
n5.jpg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
n6.jpg filter=lfs diff=lfs merge=lfs -text
|
56 |
+
n7.jpg filter=lfs diff=lfs merge=lfs -text
|
57 |
+
n8.jpg filter=lfs diff=lfs merge=lfs -text
|
58 |
+
n9.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
4 |
+
instance_prompt: abbeyy
|
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 |
+
- Outer-Spatial/nathan2
|
14 |
+
---
|
15 |
+
|
16 |
+
# LoRA DreamBooth - Outer-Spatial/nathan2
|
17 |
+
## MODEL IS CURRENTLY TRAINING ...
|
18 |
+
Last checkpoint saved: checkpoint-100
|
19 |
+
These are LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0 trained on @fffiloni's SD-XL trainer.
|
20 |
+
The weights were trained on the concept prompt:
|
21 |
+
```
|
22 |
+
abbeyy
|
23 |
+
```
|
24 |
+
Use this keyword to trigger your custom model in your prompts.
|
25 |
+
LoRA for the text encoder was enabled: False.
|
26 |
+
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
|
27 |
+
## Usage
|
28 |
+
Make sure to upgrade diffusers to >= 0.19.0:
|
29 |
+
```
|
30 |
+
pip install diffusers --upgrade
|
31 |
+
```
|
32 |
+
In addition make sure to install transformers, safetensors, accelerate as well as the invisible watermark:
|
33 |
+
```
|
34 |
+
pip install invisible_watermark transformers accelerate safetensors
|
35 |
+
```
|
36 |
+
To just use the base model, you can run:
|
37 |
+
```python
|
38 |
+
import torch
|
39 |
+
from diffusers import DiffusionPipeline, AutoencoderKL
|
40 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
41 |
+
vae = AutoencoderKL.from_pretrained('madebyollin/sdxl-vae-fp16-fix', torch_dtype=torch.float16)
|
42 |
+
pipe = DiffusionPipeline.from_pretrained(
|
43 |
+
"stabilityai/stable-diffusion-xl-base-1.0",
|
44 |
+
vae=vae, torch_dtype=torch.float16, variant="fp16",
|
45 |
+
use_safetensors=True
|
46 |
+
)
|
47 |
+
pipe.to(device)
|
48 |
+
# This is where you load your trained weights
|
49 |
+
specific_safetensors = "pytorch_lora_weights.safetensors"
|
50 |
+
lora_scale = 0.9
|
51 |
+
pipe.load_lora_weights(
|
52 |
+
'Outer-Spatial/nathan2',
|
53 |
+
weight_name = specific_safetensors,
|
54 |
+
# use_auth_token = True
|
55 |
+
)
|
56 |
+
prompt = "A majestic abbeyy jumping from a big stone at night"
|
57 |
+
image = pipe(
|
58 |
+
prompt=prompt,
|
59 |
+
num_inference_steps=50,
|
60 |
+
cross_attention_kwargs={"scale": lora_scale}
|
61 |
+
).images[0]
|
62 |
+
```
|
checkpoint-100/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:facb5592e9bb9c9d6d0c825055cb71d571b1597cb75ec0f9a2c89990a3a65baf
|
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:9fc1a09ec848e7806e356de74115e937c5aae7cd1e95d0a0b2c6dc57f811ee66
|
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:9b82afc1a8bd0a8d6f51977493ac9eb452eece0e5856999d4e658a2a5cbff483
|
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
|
n1.jpg
ADDED
Git LFS Details
|
n10.jpg
ADDED
Git LFS Details
|
n11.jpg
ADDED
Git LFS Details
|
n13.jpg
ADDED
Git LFS Details
|
n14.jpg
ADDED
Git LFS Details
|
n15.jpg
ADDED
Git LFS Details
|
n16.jpg
ADDED
Git LFS Details
|
n17.jpg
ADDED
Git LFS Details
|
n18.jpg
ADDED
Git LFS Details
|
n19.jpg
ADDED
Git LFS Details
|
n2.jpg
ADDED
Git LFS Details
|
n20.jpg
ADDED
Git LFS Details
|
n21.jpg
ADDED
Git LFS Details
|
n22.jpg
ADDED
Git LFS Details
|
n23.jpg
ADDED
Git LFS Details
|
n24.jpg
ADDED
Git LFS Details
|
n3.jpg
ADDED
Git LFS Details
|
n4.jpg
ADDED
Git LFS Details
|
n5.jpg
ADDED
Git LFS Details
|
n6.jpg
ADDED
Git LFS Details
|
n7.jpg
ADDED
Git LFS Details
|
n8.jpg
ADDED
Git LFS Details
|
n9.jpg
ADDED
Git LFS Details
|