CoolFace
Datasetpublic

ibm-esa-geospatial/TerraMesh-Masks

TerraMesh-Masks TerraMesh-Masks is a dataset for open-vocabulary segmentation of satellite imagery. This dataset provides binary segmentation masks with captions that extend the samples from TerraMesh. We also provide an human-verfied evaluation benchmark, called TerraMesh-Masks-Eval. Examples from the training subset: Usage Download the data loading code from GitHub and install requirements with pip install -r requirements.txt. For development, you can… See the full description on the dataset page: https://huggingface.co/datasets/ibm-esa-geospatial/TerraMesh-Masks.

sourceHugging Faceodblupdated 26d agoView on Hugging Face
0likes1kdownloads
Dataset Card

![arXiv](https://arxiv.org/) ![Code](https://github.com/IBM/TerraMesh-Masks) ![HuggingFace](https://huggingface.co/ibm-esa-geospatial/TerraMesh-Masks-Eval)

TerraMesh-Masks

TerraMesh-Masks is a dataset for open-vocabulary segmentation of satellite imagery. This dataset provides binary segmentation masks with captions that extend the samples from TerraMesh. We also provide an human-verfied evaluation benchmark, called TerraMesh-Masks-Eval.

Examples from the training subset:

train_examples.png

Usage

Download the data loading code from GitHub and install requirements with pip install -r requirements.txt. For development, you can stream data directly from Hugging Face.

Load training samples with:

python
from torch.utils.data import DataLoader
from terramesh.masks_dataset import build_terramesh_masks_dataset

dataset = build_terramesh_masks_dataset(
    urls="https://huggingface.co/datasets/ibm-esa-geospatial/TerraMesh-Masks/resolve/main/val/[BINARY_MASK,S2RGB]/majortom_shard_{000001...000793}.tar",
    batch_size=4,
    shardshuffle=100,
)

dataloader  = DataLoader(dataset, batch_size=None)
batch = next(iter(dataloader))

Download

Please note that the full dataset requires 18TB or storage and input images are provided by https://huggingface.co/ibm-esa-geospatial/TerraMesh.

shell
# Download image data
hf download ibm-esa-geospatial/TerraMesh --repo-type dataset --local-dir data/TerraMesh

# Download binary mask data
hf download ibm-esa-geospatial/TerraMesh-Masks --repo-type dataset --local-dir data/TerraMesh

If you like to download only a subset of the data, you can specify it with --include.

shell
# Only download a single modality (e.g., S2L2A)
hf download ibm-esa-geospatial/TerraMesh --repo-type dataset --include "*/S2L2A/*" --local-dir data/TerraMesh

# Only download val data from TerraMesh-Masks
hf download ibm-esa-geospatial/TerraMesh-Masks --repo-type dataset --include "val/*" --local-dir data/TerraMesh

Citation

Preprint for TerraMesh-Masks is coming soon!

TerraMesh:

bibtex
@article{blumenstiel2025terramesh,
  title={Terramesh: A planetary mosaic of multimodal earth observation data},
  author={Blumenstiel, Benedikt and Fraccaro, Paolo and Marsocci, Valerio and Jakubik, Johannes and Maurogiovanni, Stefano and Czerkawski, Mikolaj and Sedona, Rocco and Cavallaro, Gabriele and Brunschwiler, Thomas and Bernabe-Moreno, Juan and others},
  journal={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
  year={2025},
}

Licenses

The mask annotations are released under ODbL, following the OpenStreetMap license.

The image data in TerraMesh is released under CC-BY-SA 4.0.

Acknowledgements

TerraMesh is part of the FAST‑EO project funded by the European Space Agency Φ‑Lab.

The binary annotations are based on the base layer provided by Overture Maps and from OpenStreetMap tags.