DreamBooth LoRA Adapters for Aerial Imagery
Collection
Stable Diffusion 2.1 base-based DreamBooth LoRA Adapters for Aerial Imagery. • 13 items • Updated
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-base", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("dinushiTJ/src_lora")
prompt = "A <SRC> aerial view"
image = pipe(prompt).images[0]These are LoRA adaption weights for stabilityai/stable-diffusion-2-1-base. The weights were trained on A aerial view using DreamBooth. You can find some example images in the following.
LoRA for the text encoder was enabled: True.
# TODO: add an example code snippet for running this diffusion pipeline
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]
Base model
stabilityai/stable-diffusion-2-1-base