--- license: other license_name: open-licence-2.0 license_link: https://www.etalab.gouv.fr/wp-content/uploads/2018/11/open-licence.pdf pretty_name: French Land Cover from Aerospace Imagery size_categories: - 10B The hereby FLAIR (#2) dataset is sampled countrywide and is composed of over 20 billion annotated pixels of very high resolution aerial imagery at 0.2 m spatial resolution, acquired over three years and different months (spatio-temporal domains). Aerial imagery patches consist of 5 channels (RVB-Near Infrared-Elevation) and have corresponding annotation (with 19 semantic classes or 13 for the baselines). Furthermore, to integrate broader spatial context and temporal information, high resolution Sentinel-2 satellite 1-year time series with 10 spectral band are also provided. More than 50,000 Sentinel-2 acquisitions with 10 m spatial resolution are available.
The dataset covers 50 spatial domains, encompassing 916 areas spanning 817 km². This dataset provides a robust foundation for advancing land cover mapping techniques.

Class Freq.-train (%) Freq.-test (%) Class Freq.-train (%) Freq.-test (%)
(1) Building 8.14 3.26 (11) Agricultural Land 10.98 18.19
(2) Pervious surface 8.25 3.82 (12) Plowed land 3.88 1.81
(3) Impervious surface 13.72 5.87 (13) Swimming pool 0.01 0.02
(4) Bare soil 3.47 1.6 (14) Snow 0.15 -
(5) Water 4.88 3.17 (15) Clear cut 0.15 0.82
(6) Coniferous 2.74 10.24 (16) Mixed 0.05 0.12
(7) Deciduous 15.38 24.79 (17) Ligneous 0.01 -
(8) Brushwood 6.95 3.81 (18) Greenhouse 0.12 0.15
(9) Vineyard 3.13 2.55 (19) Other 0.14 0.04
(10) Herbaceous vegetation 17.84 19.76


## Dataset Structure
The FLAIR dataset consists of 77 762 patches. Each patch includes a high-resolution aerial image (512x512) at 0.2 m, a yearly satellite image time series (40x40 by default by wider areas are provided) with a spatial resolution of 10 m and associated cloud and snow masks, and pixel-precise elevation and land cover annotations at 0.2 m resolution (512x512).


### Band order
Aerial
  • 1. Red
  • 2. Green
  • 3. Blue
  • 4. NIR
  • 5. nDSM
Satellite
  • 1. Blue (B2 490nm)
  • 2. Green (B3 560nm)
  • 3. Red (B4 665nm)
  • 4. Red-Edge (B5 705nm)
  • 5. Red-Edge2 (B6 470nm)
  • 6. Red-Edge3 (B7 783nm)
  • 7. NIR (B8 842nm)
  • 8. NIR-Red-Edge (B8a 865nm)
  • 9. SWIR (B11 1610nm)
  • 10. SWIR2 (B12 2190nm)
### Annotations Each pixel has been manually annotated by photo-interpretation of the 20 cm resolution aerial imagery, carried out by a team supervised by geography experts from the IGN. Movable objects like cars or boats are annotated according to their underlying cover. ### Training Splits The dataset is made up of 50 distinct spatial domains, aligned with the administrative boundaries of the French départements. For our experiments, we designate 32 domains for training, 8 for validation, and reserve 10 as the official test set. This arrangement ensures a balanced distribution of semantic classes, radiometric attributes, bioclimatic conditions, and acquisition times across each set. Consequently, every split accurately reflects the landscape diversity inherent to metropolitan France. It is important to mention that the patches come with meta-data permitting alternative splitting schemes, for example focused on domain shifts. Official domain split:
Your Image
TRAIN: D006, D007, D008, D009, D013, D016, D017, D021, D023, D030, D032, D033, D034, D035, D038, D041, D044, D046, D049, D051, D052, D055, D060, D063, D070, D072, D074, D078, D080, D081, D086, D091
VALIDATION: D004, D014, D029, D031, D058, D066, D067, D077
TEST: D015, D022, D026, D036, D061, D064, D068, D069, D071, D084


## Baseline code
We propose the U-T&T model, a two-branch architecture that combines spatial and temporal information from very high-resolution aerial images and high-resolution satellite images into a single output. The U-Net architecture is employed for the spatial/texture branch, using a ResNet34 backbone model pre-trained on ImageNet. For the spatio-temporal branch, the U-TAE architecture incorporates a Temporal self-Attention Encoder (TAE) to explore the spatial and temporal characteristics of the Sentinel-2 time series data, applying attention masks at different resolutions during decoding. This model allows for the fusion of learned information from both sources, enhancing the representation of mono-date and time series data. U-T&T code repository 📁 : https://github.com/IGNF/FLAIR-2-AI-Challenge
IMPORTANT! The structure of the current dataset differs from the one that comes with the GitHub repository. To work with the current dataset, you need to replace the src/load_data.py file with the one provided here. You also need to add the following content to the flair-2-config.yml file under the data tag:
``` HF_data_path : " " # Path to unzipped HF dataset domains_train : ["D006_2020","D007_2020","D008_2019","D009_2019","D013_2020","D016_2020","D017_2018","D021_2020","D023_2020","D030_2021","D032_2019","D033_2021","D034_2021","D035_2020","D038_2021","D041_2021","D044_2020","D046_2019","D049_2020","D051_2019","D052_2019","D055_2018","D060_2021","D063_2019","D070_2020","D072_2019","D074_2020","D078_2021","D080_2021","D081_2020","D086_2020","D091_2021"] domains_val : ["D004_2021","D014_2020","D029_2021","D031_2019","D058_2020","D066_2021","D067_2021","D077_2021"] domains_test : ["D015_2020","D022_2021","D026_2020","D036_2020","D061_2020","D064_2021","D068_2021","D069_2020","D071_2020","D084_2021"] ```

## Reference
Please include a citation to the following article if you use the FLAIR dataset: ``` @inproceedings{garioud2023flair, title={FLAIR: a Country-Scale Land Cover Semantic Segmentation Dataset From Multi-Source Optical Imagery}, author={Anatol Garioud and Nicolas Gonthier and Loic Landrieu and Apolline De Wit and Marion Valette and Marc Poupée and Sébastien Giordano and Boris Wattrelos}, year={2023}, booktitle={Advances in Neural Information Processing Systems (NeurIPS) 2023}, doi={https://doi.org/10.48550/arXiv.2310.13336}, } ``` ## Acknowledgment
This work was performed using HPC/AI resources from GENCI-IDRIS (Grant 2022-A0131013803). This work was supported by the project "Copernicus / FPCUP” of the European Union, by the French Space Agency (CNES) and by Connect by CNES.
## Contact
If you have any questions, issues or feedback, you can contact us at: ai-challenge@ign.fr
## Dataset license
The "OPEN LICENCE 2.0/LICENCE OUVERTE" is a license created by the French government specifically for the purpose of facilitating the dissemination of open data by public administration.
This licence is governed by French law.
This licence has been designed to be compatible with any free licence that at least requires an acknowledgement of authorship, and specifically with the previous version of this licence as well as with the following licences: United Kingdom’s “Open Government Licence” (OGL), Creative Commons’ “Creative Commons Attribution” (CC-BY) and Open Knowledge Foundation’s “Open Data Commons Attribution” (ODC-BY).