Downloads · 30 days
38
8% of all-time downloads
NewtNewt/MESA
MESA is a text-to-image model from NewtNewt. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
<h1 align="center"MESA: Text-Driven Terrain Generation Using Latent Diffusion and Global Copernicus Data </h1 <p align="center"<a href="https://www.linkedin.com/in/paul-bp-cs/" target="blank"Paul Borne--Pons</a, <a hr…
Downloads · 30 days
38
8% of all-time downloads
All-time downloads
486
Public
Parameters
896M
4.6 GB on disk
Likes
9
Public
Click a slice to open those files.
.safetensors4.4 GB · 96%
From the Hugging Face model README
MESA is a novel generative model based on latent denoising diffusion capable of generating 2.5D representations of terrain based on the text prompt conditioning supplied via natural language. The model produces two co-registered modalities of optical and depth maps. This model is a finetune of stable-diffusion-2-1 and is builds upon Hugging Face’s Diffusers library.
# Clone the repository
git clone https://github.com/PaulBorneP/MESA
cd MESA
# using python 3.11.12
pip install -r requirements.txt
mkdir weights
huggingface-cli download NewtNewt/MESA --local-dir ./weights
from MESA.pipeline_terrain import TerrainDiffusionPipeline
import torch
pipe = TerrainDiffusionPipeline.from_pretrained("./weights", torch_dtype=torch.float16)
pipe.to("cuda");
prompt = "A sentinel-2 image of montane forests and mountains in Mexico in August"
image,dem = pipe(prompt, num_inference_steps=50, guidance_scale=7.5)
@inproceedings{mesa2025,
title={MESA: Text-Driven Terrain Generation Using Latent Diffusion and Global Copernicus Data},
author={Paul Borne--Pons and Mikolaj Czerkawski and Rosalie Martin and Romain Rouffet},
year={2025},
booktitle={MORSE Workshop at CVPR 2025},
eprint={2504.07210},
url={https://arxiv.org/abs/2504.07210},}
This model is the product of a collaboration between Φ-lab, European Space Agency (ESA) and the Adobe Research (Paris, France).