Update README.md (#3)
Browse files- Update README.md (a108ec34f366ef9e3e63257245cf15f98d7ca449)
Co-authored-by: zhitong <[email protected]>
README.md
CHANGED
@@ -15,7 +15,7 @@ Then download the dataset from this Huggingface repo.
|
|
15 |
import dataset4eo as eodata
|
16 |
import time
|
17 |
|
18 |
-
train_dataset = eodata.StreamingDataset(input_dir="optimized_mmflood_sar_train", num_channels=
|
19 |
sample = dataset[101]
|
20 |
print(sample.keys())
|
21 |
print(sample["image"])
|
|
|
15 |
import dataset4eo as eodata
|
16 |
import time
|
17 |
|
18 |
+
train_dataset = eodata.StreamingDataset(input_dir="optimized_mmflood_sar_train", num_channels=3, shuffle=True, drop_last=True)
|
19 |
sample = dataset[101]
|
20 |
print(sample.keys())
|
21 |
print(sample["image"])
|