|
|
--- |
|
|
tags: |
|
|
- text-to-image |
|
|
- stable-diffusion |
|
|
- lora |
|
|
- diffusers |
|
|
- template:sd-lora |
|
|
widget: |
|
|
- text: A picture of Irankhodro IKCO Dena car 1403 dena in paris |
|
|
output: |
|
|
url: >- |
|
|
images/A picture of Irankhodro IKCO Dena car 1403 dena in |
|
|
paris_9_finetuned.png |
|
|
base_model: stabilityai/stable-diffusion-3-medium |
|
|
instance_prompt: '"A picture of Irankhodro IKCO Dena car 1403 dena"' |
|
|
|
|
|
--- |
|
|
# Dena-car |
|
|
|
|
|
<Gallery /> |
|
|
|
|
|
## Model description |
|
|
|
|
|
These are Mahdi01/Dena-sd3 DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers. |
|
|
|
|
|
The weights were trained using DreamBooth with the SD3 diffusers trainer on ~300 images. |
|
|
|
|
|
Was LoRA for the text encoder enabled? False. |
|
|
|
|
|
|
|
|
## Trigger words |
|
|
|
|
|
You should use `"A picture of Irankhodro IKCO Dena car 1403 dena"` to trigger the image generation. |
|
|
|
|
|
|
|
|
## Download model |
|
|
|
|
|
[Download the *.safetensors LoRA](Mahdi01/Dena-sd3/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-medium-diffusers', torch_dtype=torch.float16).to('cuda') |
|
|
pipeline.load_lora_weights('Mahdi01/Dena_sd3', weight_name='pytorch_lora_weights.safetensors') |
|
|
image = pipeline('A picture of Irankhodro Dena').images[0] |
|
|
``` |
|
|
|
|
|
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke |
|
|
|
|
|
- **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/Mahdi01/Dena_sd3/blob/main/diffusers_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) |
|
|
|
|
|
|
|
|
## Download model |
|
|
|
|
|
|
|
|
[Download](/Mahdi01/Dena_sd3/tree/main) them in the Files & versions tab. |
|
|
|