JessicaYuan
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,40 @@
|
|
1 |
-
---
|
2 |
-
license: odbl
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: odbl
|
3 |
+
---
|
4 |
+
|
5 |
+
# How to use it
|
6 |
+
Install Dataset4EO
|
7 |
+
|
8 |
+
```git clone --branch streaming https://github.com/EarthNets/Dataset4EO.git```
|
9 |
+
|
10 |
+
```pip install -e .```
|
11 |
+
|
12 |
+
Then download the dataset from this Huggingface repo.
|
13 |
+
|
14 |
+
```python
|
15 |
+
import dataset4eo as eodata
|
16 |
+
import time
|
17 |
+
|
18 |
+
train_dataset = eodata.StreamingDataset(input_dir="optimized_enmap_corine", num_channels=5, channels_to_select=[0,1,2], shuffle=True, drop_last=True)
|
19 |
+
sample = dataset[101]
|
20 |
+
print(sample.keys())
|
21 |
+
print(sample["image"])
|
22 |
+
print(sample["simage"].shape)
|
23 |
+
print(sample["label"])
|
24 |
+
```
|
25 |
+
|
26 |
+
|
27 |
+
We acknowledge and give full credit to the original authors of SpectralEarth for their effort in creating this dataset.
|
28 |
+
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:
|
29 |
+
|
30 |
+
```
|
31 |
+
@article{montello2022mmflood,
|
32 |
+
title={Mmflood: A multimodal dataset for flood delineation from satellite imagery},
|
33 |
+
author={Montello, Fabio and Arnaudo, Edoardo and Rossi, Claudio},
|
34 |
+
journal={IEEE Access},
|
35 |
+
volume={10},
|
36 |
+
pages={96774--96787},
|
37 |
+
year={2022},
|
38 |
+
publisher={IEEE}
|
39 |
+
}
|
40 |
+
```
|