Datasets:
File size: 1,907 Bytes
7442303 |
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 |
---
pretty_name: FranceCrops
license: cc-by-sa-4.0
tags:
- earth-observation
- remote-sensing
- agriculture
- timeseries
- geospatial
task_categories:
- image-classification
size_categories:
- 10K<n<100K
---
# Dataset Card for FranceCrops
## Dataset Summary
FranceCrops is a satellite imagery time series dataset for crop classification in France.
Each sample in the dataset consists of:
- **Input Features (`x`)**: 3D arrays of shape (100, 60, 12) in float16:
- 100: number of timeseries sampled within an agricultural field
- 60: temporal dimension (measurements every 5 days from 01/02/2022 to 30/11/2022)
- 12: spectral bands from Sentinel-2 satellite
- **Labels (`y`)**: Integer class labels (int16), one of 20 crop types
## Splits
π§ Work in Progress π§
- `train`: 20,000 samples (~3.4GB)
## Usage
```python
from datasets import load_dataset
# Load the dataset
dataset = load_dataset("saget-antoine/francecrops", split="train")
# Example of accessing a single sample
sample = dataset[0]
x = sample["x"] # Get the input features
y = sample["y"] # Get the label
```
Typical usage with PyTorch:
```python
import torch
from torch.utils.data import DataLoader
from datasets import load_dataset
dataset = load_dataset("saget-antoine/francecrops", split="train").with_format("torch", columns=["x", "y"], dtype=torch.float16)
train_loader = DataLoader(dataset, batch_size=1024, shuffle=True, num_workers=8)
```
## Dataset Creation
### Source Data
π§ Work in Progress π§
- Features: Sentinel-2 L2A satellite imagery extracted using GEE
- Labels: Crop type classification from the 2022French Registre Parcellaire Graphique (RPG)
### Preprocessing
π§ Work in Progress π§
- Remove clouds, shadows, and missing data time steps
- Temporal alignment
- Temporal interpolation when missing
## License
Creative Commons Attribution-ShareAlike 4.0 International (CC-BY-SA-4.0)
|