spaceml-org / ml4floods

An ecosystem of data, models and code pipelines to tackle flooding with ML🌊
https://spaceml-org.github.io/ml4floods/
GNU Lesser General Public License v3.0
137 stars 40 forks source link

Abstracted GT creation #79

Closed gonzmg88 closed 3 years ago

gonzmg88 commented 3 years ago

Hi,

I've abstracted the part of copying the files to create the WorldFloods dataset to the ml4floods module. With this code I've cleaned-up the content of 0_DEV/2_Mart/worldfloods_v1_0 and 0_DEV/2_Mart/worldfloods_v1_0 so that all sub-folders have the same products (i.e. if an element is present, it exists the image, the meta, the floodmap, the cloudprob, the ground truth and the permanent water layer).

jejjohnson commented 3 years ago

Hi,

I've abstracted the part of copying the files to create the WorldFloods dataset to the ml4floods module. With this code I've cleaned-up the content of 0_DEV/2_Mart/worldfloods_v1_0 and 0_DEV/2_Mart/worldfloods_v1_0 so that all sub-folders have the same products (i.e. if an element is present, it exists the image, the meta, the floodmap, the cloudprob, the ground truth and the permanent water layer).

Do you mean ...._v1_0 and ...._v2_0? I think I saw both of them in the generating scripts.

Merge whenever you're ready :)

gonzmg88 commented 3 years ago

Yes, I also moved the training script to the script folder (it was on ml4floods module)