How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("MVRL/GeoSynth", dtype=torch.bfloat16, device_map="cuda")

prompt = "city neighborhood"
image = pipe(prompt).images[0]

Model Card for Model ID

This is a StableDiffusion based model that synthesizes satellite images given text prompts. The base stable diffusion model used is stable-diffusion-2-1-base (v2-1_512-ema-pruned.ckpt).

Model Sources [optional]

Examples

from diffusers import StableDiffusionPipeline

pipe = StableDiffusionPipeline.from_pretrained("MVRL/GeoSynth")
pipe = pipe.to("cuda:0")

image = pipe(
    "Satellite image features a city neighborhood",
).images[0]

image.save("generated_city.jpg")
Downloads last month
340
Inference Examples
Examples
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Spaces using MVRL/GeoSynth 2

Collection including MVRL/GeoSynth