Datasets:
File size: 2,238 Bytes
afde3f6 c96f12e afde3f6 c96f12e 6109f61 c96f12e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
---
dataset_info:
features:
- name: image
dtype: image
- name: mask
dtype: image
splits:
- name: train
num_bytes: 93594923
num_examples: 790
download_size: 93617398
dataset_size: 93594923
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
license: cc-by-4.0
task_categories:
- image-segmentation
tags:
- geodata
- satellite
- sentinel2
- ESA
pretty_name: Simple Satelite Segmentation (Norway)
size_categories:
- n<1K
---
# Satellite Segmentation
Summary
-------
This dataset contains paired Sentinel-2 RGB tiles and corresponding land-cover masks (derived from ESA WorldCover) prepared for semantic segmentation. Each example has:
- `image`: RGB image (PNG)
- `mask`: integer-labelled mask (PNG, uint8)
Key details
-----------
- Source imagery: Sentinel-2 L2A via Microsoft Planetary Computer (STAC)
- Land-cover masks: ESA WorldCover (derived)
- Spatial resolution: 10 m (aligned to Sentinel-2 grid)
- CRS: EPSG:4326
- Number of samples: 790
- Train/validation split: Train
Provenance & license
--------------------
This dataset was derived from third‑party datasets:
- Sentinel‑2 (Copernicus)
- ESA WorldCover
The user of this dataset must respect the original licenses and terms of use. The repository contains derived files (tiles).
Data format
-----------
- Images: PNG, RGB, 3 channels
- Masks: PNG, integer values representing classes (do not normalize/convert to RGB)
- Filenames: `{prefix}.png` and `{prefix}_mask.png` (paired by prefix)
How to load
-----------
Example (datasets library):
```python
from datasets import load_dataset
ds = load_dataset("nikolkoo/SatelliteSegmentation")
```
Example evaluation/training snippet
-----------------------------------
Use CrossEntropyLoss with logits and integer masks:
```python
# pseudocode
images = batch["image"] # (B,H,W,3) -> to tensor & permute
masks = batch["mask"] # (B,H,W) ints
logits = model(images)
loss = torch.nn.CrossEntropyLoss()(logits, masks)
```
Citation
--------
If you publish results using this dataset, cite the original data providers (Copernicus / ESA / Microsoft Planetary Computer) and this dataset repo.
Contact
-------
Feel free to add a comment in the Community 🤗 |