Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
  • Loading branch information
Joao-L-S-Almeida committed Jan 7, 2025
1 parent d58ff1b commit d6486f3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions terratorch/datasets/sen1floods11.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

class Sen1Floods11NonGeo(NonGeoDataset):
"""NonGeo dataset implementation for sen1floods11."""
all_band_names = (

all_band_names = (
"COASTAL_AEROSOL",
"BLUE",
"GREEN",
Expand All @@ -37,15 +38,11 @@ class Sen1Floods11NonGeo(NonGeoDataset):
"CIRRUS",
"SWIR_1",
"SWIR_2",
)

)
rgb_bands = ("RED", "GREEN", "BLUE")

BAND_SETS = {"all": all_band_names, "rgb": rgb_bands}

num_classes = 2
splits = {"train": "train", "val": "valid", "test": "test"}

data_dir = "v1.1/data/flood_events/HandLabeled/S2Hand"
label_dir = "v1.1/data/flood_events/HandLabeled/LabelHand"
split_dir = "v1.1/splits/flood_handlabeled"
Expand Down

0 comments on commit d6486f3

Please sign in to comment.