Skip to content

Commit

Permalink
Merge branch 'Add-data-North-Uganda-2016' of https://github.com/nasah…
Browse files Browse the repository at this point in the history
…arvest/crop-mask into Add-data-North-Uganda-2016
  • Loading branch information
yashgadhiya10 committed Jul 26, 2024
2 parents 8248f7d + 33ef13f commit 7d44bb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def load_labels(self) -> pd.DataFrame:
df[START], df[END] = date(2022, 1, 1), date(2023, 7, 31)
df[SUBSET] = train_val_test_split(df.index, 0.3, 0.3)
return df

class Uganda_NorthCEO2016(LabeledDataset):
def load_labels(self) -> pd.DataFrame:
raw_folder = raw_dir / "Uganda_North_2016"
Expand Down Expand Up @@ -613,7 +613,7 @@ def load_labels(self) -> pd.DataFrame:
df[START], df[END] = date(2019, 1, 1), date(2020, 12, 31)
df[SUBSET] = train_val_test_split(df.index, 0.3, 0.3)
return df

class RwandaCropArea2019(LabeledDataset):
def load_labels(self) -> pd.DataFrame:
raw_folder = raw_dir / "Rwanda-Crop-Area-2019"
Expand Down

0 comments on commit 7d44bb0

Please sign in to comment.