thliang01 commited on
Commit
10978e6
1 Parent(s): 5b26a7c

End of training

Browse files
README.md CHANGED
@@ -8,22 +8,30 @@ tags:
8
  - lora
9
  - template:sd-lora
10
  widget:
11
- - text: photo of a <s0><s1> knight riding a horse
12
- output:
13
- url: images/example_ihuywhsq8.png
14
- - text: photo of a <s0><s1> knight riding a horse
15
- output:
16
- url: images/example_o1fd4aaie.png
17
- - text: photo of a <s0><s1> knight riding a horse
18
- output:
19
- url: images/example_b1n3m3aqo.png
20
- - text: photo of a <s0><s1> knight riding a horse
21
- output:
22
- url: images/example_x2vfydv3b.png
 
 
 
 
 
 
 
 
 
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

  • SHA256: df24b9c10b6347c4141a16b35281a0c9a1e71b6bf879d9949cbaf2b0c8334e19
  • Pointer size: 132 Bytes
  • Size of remote file: 1.28 MB

Git LFS Details

  • SHA256: b87ba662a75824ada5d182d53154146a2732c6a224816b20c7eca565f3fdc6e4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
image_1.png CHANGED

Git LFS Details

  • SHA256: 43642be7836d2304b5968d5df24ec1b5991d24bf2f13ced2f0914ee5878a12b4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.43 MB

Git LFS Details

  • SHA256: 82d279d2f3721eccf6f51e639c39b3379d0eb1e18f4890b67f7011071467eec5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.46 MB
image_2.png CHANGED

Git LFS Details

  • SHA256: d9b5e39f5bd551fb2e055c6aea2babc51f84a677303aa8be90c9f983b7fbd282
  • Pointer size: 132 Bytes
  • Size of remote file: 1.35 MB

Git LFS Details

  • SHA256: e23d14c4ff8941855e90e148b6763c1953bde82c36e5f32bad9b4b26c4a2b93a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.45 MB
image_3.png CHANGED

Git LFS Details

  • SHA256: 35d61020b4007abd4d6c17edc0467664a23265abad729588f038eaa62efa6626
  • Pointer size: 132 Bytes
  • Size of remote file: 1.44 MB

Git LFS Details

  • SHA256: f86895301eae1aaeb49b7bd31d24500a525f260cb603d8ff7bfa41f58464c0af
  • Pointer size: 132 Bytes
  • Size of remote file: 1.46 MB
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:fed57b773bc96fcb4a726c2fe9381d057dc5f431849288068fededed60b979ee
3
- size 46698072
 
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:578b6f608f90cd0f32a0fe63a454967839b804a56debf3928aff3400b2e26b6c
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:19ff420d0396f981fcf1c350759f669f53db3bfd94fd3174dc727ba12e61f33f
3
- size 46615272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4123efebb0d095b21d97e7813873f7810c14ea347c3ad33646b5d446166db11
3
+ size 185963768