Instructions to use jcjo/pjy-cat-sd-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jcjo/pjy-cat-sd-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("jcjo/pjy-cat-sd-lora") prompt = "<pjy0><pjy1> realistic, 4k, high resolution cat, " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
SDXL LoRA DreamBooth - jcjo/pjy-cat-sd-lora
Model description
These are jcjo/pjy-cat-sd-lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
Download model
Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
- LoRA: download [
/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/pet_babyAI//ckpt/cat3.safetensorshere 💾](/jcjo/pjy-cat-sd-lora/blob/main//content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/pet_babyAI//ckpt/cat3.safetensors).- Place it on your
models/Lorafolder. - On AUTOMATIC1111, load the LoRA by adding
<lora:/content/drive/MyDrive/Colab_Notebooks/DA Matching Algorithm/AI/pet_babyAI//ckpt/cat3:1>to your prompt. On ComfyUI just load it as a regular LoRA.
- Place it on your
Use it with the 🧨 diffusers library
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-xl-base-1.0', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('jcjo/pjy-cat-sd-lora', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('True').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Trigger words
You should use realistic, 4k, high resolution cat, to trigger the image generation.
Details
All Files & versions.
The weights were trained using 🧨 diffusers Advanced Dreambooth Training Script.
LoRA for the text encoder was enabled. True.
Pivotal tuning was enabled: False.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
- Downloads last month
- 5
Model tree for jcjo/pjy-cat-sd-lora
Base model
stabilityai/stable-diffusion-xl-base-1.0