Update README.md
Browse files
README.md
CHANGED
@@ -42,13 +42,13 @@ tags:
|
|
42 |
should probably proofread and complete it, then remove this comment. -->
|
43 |
|
44 |
|
45 |
-
# SD3 DreamBooth LoRA - Prgckwb/trpfrog-sd3.
|
46 |
|
47 |
<Gallery />
|
48 |
|
49 |
## Model description
|
50 |
|
51 |
-
These are Prgckwb/trpfrog-sd3.
|
52 |
|
53 |
The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [SD3 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_sd3.md).
|
54 |
|
@@ -60,7 +60,7 @@ You should use `an icon of trpfrog` to trigger the image generation.
|
|
60 |
|
61 |
## Download model
|
62 |
|
63 |
-
[Download the *.safetensors LoRA](Prgckwb/trpfrog-sd3.
|
64 |
|
65 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
66 |
|
@@ -69,19 +69,21 @@ from diffusers import AutoPipelineForText2Image
|
|
69 |
import torch
|
70 |
|
71 |
pipeline = AutoPipelineForText2Image.from_pretrained(
|
72 |
-
stabilityai/stable-diffusion-3.5-medium,
|
73 |
torch_dtype=torch.float16
|
74 |
).to('cuda')
|
|
|
75 |
pipeline.load_lora_weights(
|
76 |
-
'Prgckwb/trpfrog-sd3.5m-lora',
|
77 |
weight_name='pytorch_lora_weights.safetensors'
|
78 |
)
|
79 |
-
image = pipeline('an icon of trpfrog
|
|
|
80 |
```
|
81 |
|
82 |
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
|
83 |
|
84 |
-
- **LoRA**: download **[`
|
85 |
- Rename it and place it on your `models/Lora` folder.
|
86 |
- On AUTOMATIC1111, load the LoRA by adding `<lora:your_new_name:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
87 |
|
@@ -90,4 +92,3 @@ For more details, including weighting, merging and fusing LoRAs, check the [docu
|
|
90 |
## License
|
91 |
|
92 |
Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE.md).
|
93 |
-
|
|
|
42 |
should probably proofread and complete it, then remove this comment. -->
|
43 |
|
44 |
|
45 |
+
# SD3 DreamBooth LoRA - Prgckwb/trpfrog-sd3.5-medium-lora
|
46 |
|
47 |
<Gallery />
|
48 |
|
49 |
## Model description
|
50 |
|
51 |
+
These are Prgckwb/trpfrog-sd3.5-medium-lora DreamBooth LoRA weights for stabilityai/stable-diffusion-3.5-medium.
|
52 |
|
53 |
The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [SD3 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_sd3.md).
|
54 |
|
|
|
60 |
|
61 |
## Download model
|
62 |
|
63 |
+
[Download the *.safetensors LoRA](Prgckwb/trpfrog-sd3.5-medium-lora/tree/main) in the Files & versions tab.
|
64 |
|
65 |
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
66 |
|
|
|
69 |
import torch
|
70 |
|
71 |
pipeline = AutoPipelineForText2Image.from_pretrained(
|
72 |
+
'stabilityai/stable-diffusion-3.5-medium',
|
73 |
torch_dtype=torch.float16
|
74 |
).to('cuda')
|
75 |
+
|
76 |
pipeline.load_lora_weights(
|
77 |
+
'Prgckwb/trpfrog-sd3.5m-lora',
|
78 |
weight_name='pytorch_lora_weights.safetensors'
|
79 |
)
|
80 |
+
image = pipeline('an icon of trpfrog').images[0]
|
81 |
+
image.save('trpfrog.png')
|
82 |
```
|
83 |
|
84 |
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
|
85 |
|
86 |
+
- **LoRA**: download **[`pytorch_lora_weights.safetensors` here 💾](/Prgckwb/trpfrog-sd3.5-medium-lora/blob/main/pytorch_lora_weights.safetensors)**.
|
87 |
- Rename it and place it on your `models/Lora` folder.
|
88 |
- On AUTOMATIC1111, load the LoRA by adding `<lora:your_new_name:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
89 |
|
|
|
92 |
## License
|
93 |
|
94 |
Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE.md).
|
|