LoRA Weights for Fine-tuned Stable Diffusion Model
This repository contains LoRA (Low-Rank Adaptation) weights for a fine-tuned version of the Stable Diffusion v1.5 model.
Usage
To use these LoRA weights:
- Load the base Stable Diffusion v1.5 model
- Load these LoRA weights
- Generate images with your preferred prompts
Example:
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('your-username/your-lora-model-name', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('your prompt here').images[0]
image.save('output.png')