CoolFace
Modelpublic

rayaanoidpr/wongkarwai_sd-v1-5_Kohya_LoRA

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
Model Card

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:

  1. 1.Load the base Stable Diffusion v1.5 model
  2. 2.Load these LoRA weights
  3. 3.Generate images with your preferred prompts

Example:

python
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')