|
--- |
|
base_model: stabilityai/stable-diffusion-3.5-medium |
|
library_name: diffusers |
|
license: other |
|
instance_prompt: an icon of trpfrog |
|
widget: |
|
- text: an icon of trpfrog eating ramen |
|
output: |
|
url: image_1.png |
|
- text: an icon of trpfrog eating ramen |
|
output: |
|
url: image_2.png |
|
- text: an icon of trpfrog eating ramen |
|
output: |
|
url: image_3.png |
|
- text: an icon of trpfrog eating ramen |
|
output: |
|
url: image_4.png |
|
- text: an icon of trpfrog eating ramen |
|
output: |
|
url: image_5.png |
|
- text: an icon of trpfrog eating ramen |
|
output: |
|
url: image_7.png |
|
tags: |
|
- text-to-image |
|
- diffusers-training |
|
- diffusers |
|
- lora |
|
- template:sd-lora |
|
- sd3 |
|
- sd3-diffusers |
|
datasets: |
|
- trpfrog/trpfrog-icons |
|
- Prgckwb/trpfrog-icons-dreambooth |
|
--- |
|
|
|
<!-- This model card has been generated automatically according to the information the training script had access to. You |
|
should probably proofread and complete it, then remove this comment. --> |
|
|
|
|
|
# SD3 DreamBooth LoRA - Prgckwb/trpfrog-sd3.5-medium-lora |
|
|
|
<Gallery /> |
|
|
|
## Model description |
|
|
|
These are Prgckwb/trpfrog-sd3.5-medium-lora DreamBooth LoRA weights for stabilityai/stable-diffusion-3.5-medium. |
|
|
|
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). |
|
|
|
Was LoRA for the text encoder enabled? False. |
|
|
|
## Trigger words |
|
|
|
You should use `an icon of trpfrog` to trigger the image generation. |
|
|
|
## Download model |
|
|
|
[Download the *.safetensors LoRA](Prgckwb/trpfrog-sd3.5-medium-lora/tree/main) in the Files & versions tab. |
|
|
|
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) |
|
|
|
```py |
|
from diffusers import AutoPipelineForText2Image |
|
import torch |
|
|
|
pipeline = AutoPipelineForText2Image.from_pretrained( |
|
'stabilityai/stable-diffusion-3.5-medium', |
|
torch_dtype=torch.float16 |
|
).to('cuda') |
|
|
|
pipeline.load_lora_weights( |
|
'Prgckwb/trpfrog-sd3.5m-lora', |
|
weight_name='pytorch_lora_weights.safetensors' |
|
) |
|
image = pipeline('an icon of trpfrog').images[0] |
|
image.save('trpfrog.png') |
|
``` |
|
|
|
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke |
|
|
|
- **LoRA**: download **[`pytorch_lora_weights.safetensors` here 💾](/Prgckwb/trpfrog-sd3.5-medium-lora/blob/main/pytorch_lora_weights.safetensors)**. |
|
- Rename it and place it on your `models/Lora` folder. |
|
- 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/). |
|
|
|
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) |
|
|
|
## License |
|
|
|
Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE.md). |