Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
The dataset viewer is not available for this split.
Server error while post-processing the rows. Please report the issue.
Error code:   RowsPostProcessingError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Image and Signal Processing Group, Universitat de València · ELLIOT

SpaceNet 8 Flood Detection

This is a repackaging, not a new dataset. It is SpaceNet 8 Flood Detection by SpaceNet LLC / Maxar / CosmiQ Works, OpenStreetMap contributors, converted to TACO. Pixel values and labels are kept as released except where the description below says otherwise. All credit belongs to the original authors: if you use it, please cite them and follow their licence.

original dataset · paper · licence: CC-BY-SA-4.0

Repackaged into TACO by the Image and Signal Processing Group (ISP), Universitat de València, within the ELLIOT project.

Citation

Please cite the original work:

@inproceedings{hansch2022spacenet8,
  title     = {{SpaceNet} 8 -- The Detection of Flooded Roads and Buildings},
  author    = {H{\"a}nsch, Ronny and Arndt, Jacob and Lunga, Dalton and Gibb, Matthew and Pedelose, Tyler and Boedihardjo, Arnold and Petrie, Desiree and Bacastow, Todd M.},
  booktitle = {2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},
  pages     = {1471--1479},
  year      = {2022},
  doi       = {10.1109/CVPRW56347.2022.00153}
}

About the data

801 pre/post-event Maxar RGB tile pairs over the July 2021 German floods and Hurricane Ida in Louisiana, with building footprints and road centrelines each tagged flooded or not.

801 samples · splits: test 169 · train 471 · validation 161 · tasks: semantic-segmentation, instance-segmentation

Packaged as TACO v3.

Full description

Target. Which buildings and roads the water reached, rather than which pixels are water. Both labels ship two ways:

  • A three-class mask (background / not flooded / flooded) on the finer 1300x1300 pre-event grid.
  • The geometry itself, so the road graph is available for a routing metric.

Geometry. Roads are buffered 2 m in pixel space: the grid is geographic and the GSD varies (0.265 m over Germany, 0.333-0.445 m over Louisiana).

Post-event coverage. Ragged, and declared as a variable leaf: 80 tiles are seen by two overlapping collects and the rest by one. The axis is redundant coverage, not time.

Splits. Not published by the release, so the partition is geographic within each AOI: 471 train, 161 val, 169 test.

Scope. The challenge's blind Louisiana-West test set, 406 tile pairs with no annotations, is in the held-out half below.

Held-out half

spacenet8_test.zip holds the 406 samples whose targets the publisher withheld. Same inputs, no target slots: it is there to be predicted on and submitted, and it belongs in no training mixture.

import os
from huggingface_hub import snapshot_download
from taco.ml import Dataset

root = snapshot_download("isp-uv-es/spacenet8-taco", repo_type="dataset",
                         allow_patterns=["spacenet8_test.zip", "spacenet8_test.zip/*", "spacenet8_test.zip/.tacocat/*"])
ds = Dataset(os.path.join(root, "spacenet8_test.zip"))

Getting started

git clone --recursive https://github.com/OscarPellicer/taco
pip install -e "taco/python[ml]"     # builds the reader: C++23, CMake, Ninja, pkg-config, libcurl >= 7.83, OpenSSL >= 3

Read it straight from the Hub:

import os
from huggingface_hub import hf_hub_download, snapshot_download
from taco.ml import Dataset, plot_sample

path = hf_hub_download("isp-uv-es/spacenet8-taco", "spacenet8.zip", repo_type="dataset")
ds = Dataset(path)
plot_sample(ds[0])

or from a local copy:

ds = Dataset("spacenet8.zip")
sample = ds[0]                      # {slot name: SlotValue}, arrays decoded
sample["pre"].array.shape

Metadata without decoding anything:

import taco
taco.read("spacenet8.zip")              # one Arrow table, levels joined

Samples

sample sample sample sample sample

What a sample contains

role slot holds modality detail
input pre raster optical 3 band(s), render
input post raster_series optical 3 band(s), render
target buildings mask label_raster 3 classes
target roads mask label_raster 3 classes
target footprints polygon unit degree
target footprint_flooded class_sequence 2 classes
target centrelines polygon unit degree
target centreline_flooded class_sequence 2 classes

Licence

CC-BY-SA-4.0

Terms of use:

  • Adapted material must be shared under CC-BY-SA-4.0.

Required credits:

  • The SpaceNet Dataset by SpaceNet Partners is licensed under CC-BY-SA-4.0
  • Imagery: Maxar

Providers: SpaceNet LLC / Maxar / CosmiQ Works, OpenStreetMap contributors

Acknowledgements

TACO was designed by César Aybar and is specified at https://asterisk.coop/taco/spec/.

Built by Oscar Pellicer within the ELLIOT project at the Image and Signal Processing Group (ISP), Universitat de València.

Downloads last month
168