Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ValueError
Message: Invalid string class label ValaisCD@dbf58176968d17c964cfda960a314b243f73ca8b
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1537, in _prepare_split_single
example = self.info.features.encode_example(record) if self.info.features is not None else record
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2162, in encode_example
return encode_nested_example(self, example)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1446, in encode_nested_example
{k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1469, in encode_nested_example
return schema.encode_example(obj) if obj is not None else None
~~~~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1144, in encode_example
example_data = self.str2int(example_data)
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1081, in str2int
output = [self._strval2int(value) for value in values]
~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1102, in _strval2int
raise ValueError(f"Invalid string class label {value}")
ValueError: Invalid string class label ValaisCD@dbf58176968d17c964cfda960a314b243f73ca8b
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1382, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1560, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed 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 image | label class label |
|---|---|
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 | |
02017 |
ValaisCD Dataset
High-Resolution Aerial Change Detection (Switzerland, 2017β2023)
Project page: https://manonbechaz.github.io/2Player/
πΊοΈ Overview
ValaisCD is a high-resolution change detection dataset built from SwissTopo SWISSIMAGE 10 cm aerial imagery, covering several urban and peri-urban regions of the canton of Valais, Switzerland.
It provides pairs of aerial images captured in 2017 and 2023, along with automatically generated building-change labels derived from the SwissTLM3D topographic vector database.
π¦ Data Summary
- Source imagery:
- SWISSIMAGE 10 cm aerial photographs
- Original resolution: 0.1 m/pixel
- Downsampled to 0.5 m/pixel for dataset construction
- Geographic coverage:
- Martigny
- Sion
- Sierre
- Brig
(all located in the canton of Valais, Switzerland)
- Temporal coverage:
- 2017 and 2023
- Patch extraction:
- Original tiles: 10,000 Γ 10,000 pixels
- Converted into non-overlapping 256 Γ 256 pixel patches
- Label source:
- Building-change annotations derived from the SwissTLM3D landscape model
- Labels correspond to differences between 2017 and 2023 building footprints
- Task: Binary change detection (building changes)
π§Ή Dataset Pruning & Quality Filtering
Despite the detailed SwissTLM3D vector labels, some discrepancies remain due to temporal misalignment between image capture and map updates.
To address this, ValaisCD introduces an automatic pruning pipeline that filters out mislabeled or noisy samples:
- Train a supervised CD model (FC-Siam-Diff) on a development subset.
- Run the model on the rest of the dataset.
- Identify samples with significant false positives or false negatives.
- Remove these samples, under the assumption that they contain annotation errors.
- Preserve a fixed ratio of 5% changed samples to ensure distributional balance.
- Apply the filtering independently to changed and unchanged samples.
π Development region
- Brig is used as the development set for training the filtering model.
π Final geographic split (after pruning)
- Train: Sion (70%)
- Validation: Sierre (20%)
- Test: Martigny (10%)
This split ensures geographical independence and avoids spatial leakage.
π How Pruning Quality Was Evaluated
Dataset quality was evaluated indirectly:
- Train FC-Siam-Diff models on datasets with progressively more aggressive pruning.
- Evaluate all models on a fixed test set.
- Observe performance trends as noisy samples are removed.
Findings:
- Moderate pruning improves model performance, confirming removal of mislabeled or ambiguous samples.
- Excessive pruning hurts performance, due to loss of informative examples.
- Optimal size for ValaisCD is 5,000 samples, balancing label quality and dataset sufficiency.
This curated version (5000 samples) is the official version used in the associated paper.
Note that all the images, i.e. the non pruned dataset is provided here. The list of images of each kept pruned version of the dataset are provided for each split in respective .pkl files.
π Citation
If you use ValaisCD or if you find this work helpful, please cite:
@article{bechaz_2player_2026,
title = {{2Player}: {A} general framework for self-supervised change detection via cooperative learning},
volume = {232},
issn = {0924-2716},
url = {https://www.sciencedirect.com/science/article/pii/S0924271625004630},
doi = {https://doi.org/10.1016/j.isprsjprs.2025.11.024},
journal = {ISPRS Journal of Photogrammetry and Remote Sensing},
author = {BΓ©chaz, Manon and Dalsasso, Emanuele and TomoiagΔ, Ciprian and Detyniecki, Marcin and Tuia, Devis},
year = {2026},
keywords = {Change detection, Cooperative learning, Self-supervised learning, Very high-resolution imagery},
pages = {34--47},
}
- Downloads last month
- 33