Downloads · 30 days
2
0% of all-time downloads
sshh12/sd2-lora-inpainting-sentinel-2-rgb
sd2-lora-inpainting-sentinel-2-rgb is a text-to-image model from sshh12. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as cc-by-nc-4.0.
These are LoRA adaption weights for stabilityai/stable-diffusion-2-inpainting. The weights were fine-tuned on the sshh12/sentinel-2-rgb-captioned dataset.
Downloads · 30 days
2
0% of all-time downloads
All-time downloads
1.6K
Public
Repo size
17.1 MB
Likes
1
Public
Click a slice to open those files.
.bin20.5 MB · 100%
From the Hugging Face model README
These are LoRA adaption weights for stabilityai/stable-diffusion-2-inpainting. The weights were fine-tuned on the sshh12/sentinel-2-rgb-captioned dataset.
from diffusers import StableDiffusionInpaintPipeline
import torch
pipe = StableDiffusionInpaintPipeline.from_pretrained(
"stabilityai/stable-diffusion-2-inpainting",
torch_dtype=torch.float16,
device_map="auto",
cache_dir=CACHE_DIR,
)
pipe.unet.load_attn_procs(
lora_model,
use_safetensors=False,
)