Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dataloader for Kuro Siwo Flood Dataset #3

Open
wants to merge 2 commits into
base: geofm
Choose a base branch
from

Conversation

ngbountos
Copy link

Dataloader for Kuro Siwo dataset.

It accepts as input the flood events selected for train/val and test. This can be modified to simulate low data regimes and assess generalization in multiple setups. Default split is as reported in the original paper.

Assumes data are downloaded in root path. Samples are stored in root/data and extra information is stored in root/pickles/.

There are two pickles, publicly available in the original repo, containing metadata and paths of samples.

Pickle "grid_dict_full.pkl" has information on all samples, while "grid_dict_water.pkl" includes all samples with at least one pixel containing water.

SAR Mean and stds (i.e data_mean and data_std) are calculated with input clipped at 0.15 max value. If clip value is changed these stats should be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant