File size: 1,104 Bytes
c440541 a108ec3 c440541 |
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 |
---
license: odbl
---
# How to use it
Install Dataset4EO
```git clone --branch streaming https://github.com/EarthNets/Dataset4EO.git```
```pip install -e .```
Then download the dataset from this Huggingface repo.
```python
import dataset4eo as eodata
import time
train_dataset = eodata.StreamingDataset(input_dir="optimized_mmflood_sar_train", num_channels=3, shuffle=True, drop_last=True)
sample = dataset[101]
print(sample.keys())
print(sample["image"])
print(sample["simage"].shape)
print(sample["label"])
```
We acknowledge and give full credit to the original authors of SpectralEarth for their effort in creating this dataset.
The dataset is re-hosted in compliance with its original license to facilitate further research. Please cite the following paper for the creation of the dataset:
```
@article{montello2022mmflood,
title={Mmflood: A multimodal dataset for flood delineation from satellite imagery},
author={Montello, Fabio and Arnaudo, Edoardo and Rossi, Claudio},
journal={IEEE Access},
volume={10},
pages={96774--96787},
year={2022},
publisher={IEEE}
}
``` |