SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.13336 · NeurIPS · 2023

FLAIR: a Country-Scale Land Cover Semantic Segmentation Dataset From Multi-Source Optical Imagery

Anatol Garioud, Nicolas Gonthier, Loic Landrieu, Apolline De Wit, Marion Valette, Marc Poupée, Sébastien Giordano, Boris Wattrelos

arXiv · PDF · Open in the Atlas

Code that ran

6 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.13336.json · badge: /api/ran/2310.13336.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ignf/flair-2-ai-challenge canonical (classifier label)
classifier basis: census
6 ran · 2 no recorded run
FunctionStatusWhere it lives
adding_encoded_metadata Ran
ran; our contract draft was wrong, not the code
ignf/flair-2-ai-challenge/src/load_data.py
code served (permissive licence) · get_code("57c4bd138cdc1c1a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import json
import tempfile
import os

# Create a temporary metadata file
metadata = {
    "image_001": {
        "patch_centroid_x": 2000000.0,
        "patch_centroid_y": 3000000.0,
        "patch_centroid_z": 500,
        "camera": "UCE_camera_1",
        "date": "2020-06-15",
        "time": "14h30"
    },
    "image_002": {
        "patch_centroid_x": 2500000.0,
        "patch_centroid_y": 3500000.0,
        "patch_centroid_z": 800,
        "camera": "OTHER_camera_2",
        "date": "2019-03-22",
        "time": "10h45"
    }
}

# Write metadata to temporary file
temp_dir = tempfile.mkdtemp()
metadata_file = os.path.join(temp_dir, "metadata.json")
with open(metadata_file, 'w') as f:
    json.dump(metadata, f)

# Construct dict_paths argument
dict_paths = {
    "PATH_IMG": [
        "/path/to/image_001.tif",
        "/path/to/image_002.tif"
    ],
    "MTD_AERIAL": []
}

ARGS = {
    "path_metadata_file": metadata_file,
    "dict_paths": dict_paths,
    "loc_enc_size": 32
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_to_color Ran
ran; our contract draft was wrong, not the code
ignf/flair-2-ai-challenge/notebook/data_display.py
code served (permissive licence) · get_code("f2307bddfca5467b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family int, shape (4, 3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from matplotlib.colors import hex2color

lut_colors = {1: '#db0e9a', 2: '#938e7b', 3: '#f80c00', 4: '#a97101', 5: '#1553ae', 6: '#194a26', 7: '#46e483', 8: '#f3a60d', 9: '#660082', 10: '#55ff00', 11: '#fff30d', 12: '#e4df7c', 13: '#3de6eb', 14: '#ffffff', 15: '#8ab3a0', 16: '#6b714f', 17: '#c5dc42', 18: '#9999ff', 19: '#000000'}

# Create a 2D array with shape (4, 3) containing color indices from the palette
arr_2d = np.array([[1, 2, 3], 
                    [4, 5, 6],
                    [7, 8, 9],
                    [10, 11, 12]], dtype=np.uint8)

# Use default palette
palette = lut_colors

ARGS = {
    'arr_2d': arr_2d,
    'palette': palette
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (4, 3, 3) — shape (4, 3, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
filter_dates Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ignf/flair-2-ai-challenge/src/utils_dataset.py
code served (permissive licence) · get_code("5739c68581d4ac7d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small mask array with shape T*2*H*W
# T=3 time steps, 2 channels (clouds and snow), H=4 height, W=5 width
T, C, H, W = 3, 2, 4, 5
mask = np.random.randint(0, 100, size=(T, C, H, W)).astype(np.float32)

# Ensure some variation in coverage for meaningful filtering
mask[0, 0, :, :] = np.random.randint(0, 40, size=(H, W))  # Low cloud coverage
mask[1, 0, :, :] = np.random.randint(70, 100, size=(H, W))  # High cloud coverage
mask[2, 1, :, :] = np.random.randint(50, 80, size=(H, W))  # Medium snow coverage

ARGS = {
    "mask": mask,
    "clouds": 2,
    "area_threshold": 0.5,
    "proba_threshold": 60
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad_tensor Ran
ran; our contract draft was wrong, not the code
ignf/flair-2-ai-challenge/src/utils_dataset.py
code served (permissive licence) · get_code("314a47dca812f4f4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Create a small tensor to pad
# Using shape (2, 4) - batch size 2, feature dim 4
x = torch.randn(2, 4)

# Target length to pad to
l = 5

# Pad value (default is 0, but we can specify it)
pad_value = 0

ARGS = {
    "x": x,
    "l": l,
    "pad_value": pad_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float — no output shape is stated: observe_signature.py could not observe it (read:AttributeError)
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_config Ran
ran; our contract draft was wrong, not the code
ignf/flair-2-ai-challenge/src/utils_dataset.py
code served (permissive licence) · get_code("f99b92265e606433")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import yaml
import tempfile
import os

# Create a temporary YAML file with valid content
temp_dir = tempfile.mkdtemp()
config_file = os.path.join(temp_dir, "config.yaml")

config_content = """
model:
  name: "test_model"
  layers: 3
  hidden_dim: 128
training:
  batch_size: 32
  learning_rate: 0.001
  epochs: 10
data:
  train_path: "/path/to/train"
  val_path: "/path/to/val"
"""

with open(config_file, 'w') as f:
    f.write(config_content)

ARGS = {
    "file_path": config_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
remapping Ran
ran; our contract draft was wrong, not the code
ignf/flair-2-ai-challenge/notebook/data_display.py
code served (permissive licence) · get_code("6619f48fbf2e986c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# Construct a lookup table (LUT) dictionary with color hex codes
lut = {
    0: '#FF0000',
    1: '#00FF00',
    2: '#0000FF',
    3: '#FFFF00',
    4: '#FF00FF',
    5: '#00FFFF',
    6: '#800000',
    7: '#008000',
    8: '#000080',
    9: '#808000',
    10: '#800080',
    11: '#008080',
    12: '#C0C0C0',
    13: '#808080',
    14: '#FF6347',
    15: '#FFD700',
    16: '#90EE90',
    17: '#87CEEB',
    18: '#DDA0DD',
    19: '#F0E68C',
}

ARGS = {
    'lut': lut,
    'recover': 'color'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_miou Not yet run
unverified (harvested, no recorded run)
ignf/flair-2-ai-challenge/src/metrics.py
code served (permissive licence) · get_code("6af59f1db7827af8")
How it ran

no invocation recorded.

load_data Not yet run
unverified (harvested, no recorded run)
ignf/flair-2-ai-challenge/src/load_data.py
code served (permissive licence) · get_code("1dfeb86dcb7964ec")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
pad_tensor 2 other papers
2 dated earlier
2301.04944 (2023-01)
ViTs for SITS: Vision Transformers for Satellite Image Time Series
2305.13277 (2023-05)
U-TILISE: A Sequence-to-sequence Model for Cloud Removal in Optical Satellite Time Series
read_config 1 other paper
1 dated earlier
2211.12979 (2022-11)
FLAIR #1: semantic segmentation and domain adaptation dataset

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We introduce the French Land cover from Aerospace ImageRy (FLAIR), an extensive dataset from the French National Institute of Geographical and Forest Information (IGN) that provides a unique and rich resource for large-scale geospatial analysis. FLAIR contains high-resolution aerial imagery with a ground sample distance of 20 cm and over 20 billion individually labeled pixels for precise landcover classification. The dataset also integrates temporal and spectral data from optical satellite time series. FLAIR thus combines data with varying spatial, spectral, and temporal resolutions across over 817 km 2 of acquisitions representing the full landscape diversity of France. This diversity makes FLAIR a valuable resource for the development and evaluation of novel methods for large-scale land-cover semantic segmentation and raises significant challenges in terms of computer vision, data fusion, and geospatial analysis. We also provide powerful uni-and multi-sensor baseline models that can be employed to assess algorithm's performance and for downstream applications. Through its extent and the quality of its annotation, FLAIR aims to spur improvements in monitoring and understanding key anthropogenic development indicators such as urban growth, deforestation, and soil artificialization. Dataset and codes can be accessed at https://ignf.github.io/FLAIR/ According to a 2015 report by the Food and Agriculture Organization of the United Nations (FAO) [1], approximately 75% of the world's soils are in fair, poor, or very poor condition. This degradation poses significant threats to the health and long-term sustainability of ecosystems. Healthy soils provide invaluable ecosystem services, including: (i) providing natural habitats for numerous plant and animal species [2], (ii) acting as the largest carbon sink, surpassing the atmosphere and all combined biomass [3], and (iii) functioning as a rainwater reservoir, supporting food production and storing freshwater [4]. The degradation of soils and biodiversity is largely attributed to land artificialization [1], which causes long-term damage to the biological, hydrological, climatic, and agronomic functions of the soil due to its occupation or use [5,6]. In order to effectively monitor and manage land artificialization, public authorities have expressed the need for scalable land-cover monitoring tools. With the increasing availability of high-quality Earth Observation (EO) data, the French National Institute 37th Conference on Neural Information Processing Systems (NeurIPS 2023) Track on Datasets and Benchmarks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.13336")
get_code_for_paper("2310.13336")
have("2310.13336")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.13336.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.13336.svg)](https://syntology.ai/paper/2310.13336)

Connect an agent — have() is free.