Downloads · 30 days
3
8% of all-time downloads
litvan/SDXL_finetuned_for_russian_churches
SDXL_finetuned_for_russian_churches is a text-to-image model from litvan. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as openrail++.
Downloads · 30 days
3
8% of all-time downloads
All-time downloads
37
Public
Repo size
121 MB
Likes
0
Public
Click a slice to open those files.
.safetensors93.6 MB · 65%
From the Hugging Face model README
These are litvan/SDXL_finetuned_for_russian_churches LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
The main purpose of the model: Generate Orthodox churches in different cultural and architectural codes of countries
The weights were trained using DreamBooth.
LoRA for the text encoder was enabled: False.
Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
Dataset for finetuning: litvan/russian_churches_with_blip_captioning
For training were used: 3 GPU A100(80Gb)
You should use Orthodox church to trigger the image generation.
You can do this using the following lines of code:
from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0").cuda()
pipeline.load_lora_weights("litvan/SDXL_finetuned_for_russian_churches")
refiner = DiffusionPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-refiner-1.0",
text_encoder_2=pipeline.text_encoder_2,
vae=pipeline.vae,
torch_dtype=torch.float32,
use_safetensors=True,
).cuda()