Instructions to use LuckyPlay7/lucky-poodle-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LuckyPlay7/lucky-poodle-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("LuckyPlay7/lucky-poodle-lora") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Lucky Poodle โ SDXL DreamBooth LoRA
A LoRA fine-tuned on Lucky, a real poodle dog, using DreamBooth on Stable Diffusion XL.
Trigger word
Use the token sks poodle dog in your prompt to activate the LoRA.
Training details
| Parameter | Value |
|---|---|
| Base model | stabilityai/stable-diffusion-xl-base-1.0 |
| Training images | 69 photos |
| Resolution | 512 ร 512 |
| Epochs | 30 |
| LoRA rank | 8 |
| Mixed precision | fp16 |
| Learning rate | 1e-4 |
| Trigger word | sks poodle dog |
How to use
diffusers
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16,
)
pipe.load_lora_weights("YOUR_USERNAME/lucky-poodle-lora")
pipe = pipe.to("cuda")
image = pipe(
"a photo of sks poodle dog sitting in front of the Eiffel Tower in Paris",
num_inference_steps=50,
guidance_scale=7.5,
cross_attention_kwargs={"scale": 0.85},
).images[0]
image.save("lucky_paris.png")
ComfyUI / AUTOMATIC1111
- Download
pytorch_lora_weights.safetensors - Place in your
models/Lora/folder - Use trigger word
sks poodle dogin your prompt - Set LoRA weight to
0.85
Example prompts
a photo of sks poodle dog wearing a red beret in Paris, photorealistic, 8k
a photo of sks poodle dog on a tropical beach in Thailand, photorealistic, 8k
a photo of sks poodle dog near the Great Pyramids of Giza, photorealistic, 8k
License
- Downloads last month
- 16
Model tree for LuckyPlay7/lucky-poodle-lora
Base model
stabilityai/stable-diffusion-xl-base-1.0