End of training
Browse files- README.md +24 -16
- image_0.png +2 -2
- image_1.png +2 -2
- image_2.png +2 -2
- image_3.png +2 -2
- medieval-knight-sdxl-lora-r8-v0-1.safetensors +2 -2
- medieval-knight-sdxl-lora-r8-v0-1_emb.safetensors +1 -1
- pytorch_lora_weights.safetensors +2 -2
README.md
CHANGED
@@ -8,22 +8,30 @@ tags:
|
|
8 |
- lora
|
9 |
- template:sd-lora
|
10 |
widget:
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
- text: photo of a <s0><s1> knight riding a horse
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
24 |
-
instance_prompt: photo of a <s0><s1>
|
25 |
license: openrail++
|
26 |
-
|
27 |
---
|
28 |
|
29 |
# SDXL LoRA DreamBooth - thliang01/medieval-knight-sdxl-lora-r8-v0-1
|
@@ -43,7 +51,7 @@ license: openrail++
|
|
43 |
- On AUTOMATIC1111, load the LoRA by adding `<lora:medieval-knight-sdxl-lora-r8-v0-1:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
44 |
- *Embeddings*: download **[`medieval-knight-sdxl-lora-r8-v0-1_emb.safetensors` here 💾](/thliang01/medieval-knight-sdxl-lora-r8-v0-1/blob/main/medieval-knight-sdxl-lora-r8-v0-1_emb.safetensors)**.
|
45 |
- Place it on it on your `embeddings` folder
|
46 |
-
- Use it by adding `medieval-knight-sdxl-lora-r8-v0-1_emb` to your prompt. For example, `photo of a medieval-knight-sdxl-lora-r8-v0-1_emb`
|
47 |
(you need both the LoRA and the embeddings as they were trained together for this LoRA)
|
48 |
|
49 |
|
@@ -62,7 +70,7 @@ state_dict = load_file(embedding_path)
|
|
62 |
pipeline.load_textual_inversion(state_dict["clip_l"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
|
63 |
pipeline.load_textual_inversion(state_dict["clip_g"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
|
64 |
|
65 |
-
image = pipeline('photo of a <s0><s1> riding a horse').images[0]
|
66 |
```
|
67 |
|
68 |
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)
|
|
|
8 |
- lora
|
9 |
- template:sd-lora
|
10 |
widget:
|
11 |
+
|
12 |
+
- text: 'photo of a <s0><s1> knight riding a horse'
|
13 |
+
output:
|
14 |
+
url:
|
15 |
+
"image_0.png"
|
16 |
+
|
17 |
+
- text: 'photo of a <s0><s1> knight riding a horse'
|
18 |
+
output:
|
19 |
+
url:
|
20 |
+
"image_1.png"
|
21 |
+
|
22 |
+
- text: 'photo of a <s0><s1> knight riding a horse'
|
23 |
+
output:
|
24 |
+
url:
|
25 |
+
"image_2.png"
|
26 |
+
|
27 |
+
- text: 'photo of a <s0><s1> knight riding a horse'
|
28 |
+
output:
|
29 |
+
url:
|
30 |
+
"image_3.png"
|
31 |
+
|
32 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
33 |
+
instance_prompt: photo of a <s0><s1> knight riding a horse
|
34 |
license: openrail++
|
|
|
35 |
---
|
36 |
|
37 |
# SDXL LoRA DreamBooth - thliang01/medieval-knight-sdxl-lora-r8-v0-1
|
|
|
51 |
- On AUTOMATIC1111, load the LoRA by adding `<lora:medieval-knight-sdxl-lora-r8-v0-1:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
52 |
- *Embeddings*: download **[`medieval-knight-sdxl-lora-r8-v0-1_emb.safetensors` here 💾](/thliang01/medieval-knight-sdxl-lora-r8-v0-1/blob/main/medieval-knight-sdxl-lora-r8-v0-1_emb.safetensors)**.
|
53 |
- Place it on it on your `embeddings` folder
|
54 |
+
- Use it by adding `medieval-knight-sdxl-lora-r8-v0-1_emb` to your prompt. For example, `photo of a medieval-knight-sdxl-lora-r8-v0-1_emb knight riding a horse`
|
55 |
(you need both the LoRA and the embeddings as they were trained together for this LoRA)
|
56 |
|
57 |
|
|
|
70 |
pipeline.load_textual_inversion(state_dict["clip_l"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder, tokenizer=pipeline.tokenizer)
|
71 |
pipeline.load_textual_inversion(state_dict["clip_g"], token=["<s0>", "<s1>"], text_encoder=pipeline.text_encoder_2, tokenizer=pipeline.tokenizer_2)
|
72 |
|
73 |
+
image = pipeline('photo of a <s0><s1> knight riding a horse').images[0]
|
74 |
```
|
75 |
|
76 |
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)
|
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
|
medieval-knight-sdxl-lora-r8-v0-1.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5154a18acfd4a518f25ec6db46f849f1739acd8992338851b632f46833f6caa5
|
3 |
+
size 186046568
|
medieval-knight-sdxl-lora-r8-v0-1_emb.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 16536
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24cc2a701972dd458fefbe0c67a233e23fc19ce1f6ff8ddc0a715c0dc85fb7c3
|
3 |
size 16536
|
pytorch_lora_weights.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4123efebb0d095b21d97e7813873f7810c14ea347c3ad33646b5d446166db11
|
3 |
+
size 185963768
|