Dataset Viewer
Auto-converted to Parquet Duplicate
The dataset viewer is not available for this split.
Parquet error: Scan size limit exceeded: attempted to read 309515466 bytes, limit is 300000000 bytes Make sure that 1. the Parquet files contain a page index to enable random access without loading entire row groups2. otherwise use smaller row-group sizes when serializing the Parquet files
Error code:   TooBigContentError

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.

FLAIR multi-domain pack — 256 px

24,475 tiles · 9 French domains · 1.94 GB, repacked from IGNF/FLAIR-HUB into Parquet so a Colab runtime can stream it.

Use this pack for: the headline runs; 256 px gives the sharpest boundaries.

Pack Patch Size One shard per domain
flair-multidomain-parquet 256 px 1.94 GB yes ← this repo
flair-multidomain-parquet-128 128 px 0.9 GB yes

Columns

column type contents
rgb JPEG bytes aerial RGB, 256², quality 95
nir JPEG bytes aerial near-infrared, same grid
lab PNG bytes raw COSIA values 0–18, bit-exact
s2 zstd bytes Sentinel-2 uint16, decompress to s2_shape = (12, 10, 10, 10)
s2_dates_raw int32 acquisitions before compositing (38–73)
s2_cloudy int32 dates dropped at >50% cloud probability
domain, sector, stem string provenance — split by domain

Why the labels are raw, and where the class sets live

Labels are 2.3% of a shard (1.7 KB per tile) and are stored as raw COSIA 0–18. Pre-remapping them to a smaller class set would save ~25 MB and permanently destroy the ability to derive any other set without re-downloading. So the class set is a training-time lookup table, shipped here as class_sets.json:

set classes groups
environment6 6 Deciduous = Deciduous · Herbaceous vegetation = Herbaceous vegetation · Bare soil = Bare soil · Coniferous = Coniferous · Agricultural land = Agricultural land · Water = Water
thematic4 4 Forest & woody = Deciduous+Coniferous+Brushwood · Herbaceous & cropland = Herbaceous vegetation+Agricultural land+Plowed land · Bare soil = Bare soil · Water = Water
forestmerged5 5 Forest = Deciduous+Coniferous · Herbaceous vegetation = Herbaceous vegetation · Bare soil = Bare soil · Agricultural land = Agricultural land · Water = Water
import json, numpy as np
from huggingface_hub import hf_hub_download
cs = json.load(open(hf_hub_download("FatimahEmadEldin/flair-multidomain-parquet", "class_sets.json",
                                     repo_type="dataset")))
remap = np.full(256, 255, np.uint8)          # 255 = ignore_index
for i, g in enumerate(cs["environment6"]):
    for v in g["cosia"]:
        remap[v] = i
y = remap[label_array]                        # any set, same file

A note on choosing a set. Measured per-class fusion gains on this data: Coniferous +26.4 IoU, Water +15.3, Bare soil +10.2, Herbaceous +6.3, Deciduous +3.7, Agricultural −1.6. Conifer and broadleaf canopy look alike in summer RGB and are separated by red-edge and SWIR, which only the satellite carries — so thematic4, which merges them, dissolves the confusion the satellite is resolving. It is a useful experiment (does the benefit survive a coarser taxonomy?) but its higher mIoU is not a better model.

Fidelity

  • Labels bit-exact. PNG, lossless, no remapping applied.
  • RGB is JPEG q95. Measured cost: a model trained on lossless tiles and evaluated on these scores −0.03 mIoU (0.01 σ against this study's 2.00 noise floor). q90 costs −0.23, q85 −0.37.
  • Sentinel-2 bit-exact after zstd, composited to 12 equal-width temporal bins with >50% cloud-probability dates dropped first (~12% of acquisitions). Identical in both packs — S2 is 10×10 regardless of patch size, which is why the 128 px pack is 2.2× smaller rather than 4×.

COSIA nomenclature

Value 0 is Building — a real class, not a no-data marker. Values 15–18 are weak labels that IGN's own baseline excludes.

value class value class
0 Building 8 Herbaceous vegetation
1 Greenhouse 9 Agricultural land
2 Swimming pool 10 Plowed land
3 Impervious surface 11 Vineyard
4 Pervious surface 12 Deciduous
5 Bare soil 13 Coniferous
6 Water 14 Brushwood
7 Snow

Splitting

Split by domain, not randomly. Tiles inside a sector are spatially adjacent and share illumination and phenological state, so a random split leaks between train and test and produces optimistic scores that are not comparable to domain-disjoint ones.

Domains: D004-2021, D006-2020, D011-2021, D017-2021, D022-2021, D033-2021, D037-2021, D040-2021, D044-2022

Notebooks

Downloads last month
105