Machine learning models for end-to-end flood extent segmentation.
Project description
ML4Floods is an end-to-end ML pipeline for flood extent estimation: from data preprocessing, model training, model deployment to visualization.
Install
Install from pip:
pip install ml4floods
Install the latest version from GitHub:
pip install git+https://github.com/spaceml-org/ml4floods#egg=ml4floods
Docs
spaceml-org.github.io/ml4floods
These tutorials may help you explore the datasets and models:
- Run the clouds-aware flood segmentation model in Sentinel-2 and Landsat and vectorise the flood maps
- Run the model on time series of Sentinel-2 images
- Ingest data from Copernicus EMS
- ML-models step by step
- Training
- Inference on new data (a Sentinel-2 image)
- Perf metrics
The WorldFloods database
The WorldFloods database contains 509 pairs of Sentinel-2 images and flood segmentation masks. It requires approximately 300GB of hard-disk storage.
The WorldFloods database and all pre-trained models are released under a Creative Commons non-commercial licence
To download the WorldFloods database or the pretrained flood segmentation models see the instructions to download the database.
Cite
If you find this work useful please cite:
@article{portales-julia_global_2023,
title = {Global flood extent segmentation in optical satellite images},
volume = {13},
issn = {2045-2322},
doi = {10.1038/s41598-023-47595-7},
number = {1},
urldate = {2023-11-30},
journal = {Scientific Reports},
author = {Portalés-Julià, Enrique and Mateo-García, Gonzalo and Purcell, Cormac and Gómez-Chova, Luis},
month = nov,
year = {2023},
pages = {20316},
}
@article{mateo-garcia_towards_2021,
title = {Towards global flood mapping onboard low cost satellites with machine learning},
volume = {11},
issn = {2045-2322},
doi = {10.1038/s41598-021-86650-z},
number = {1},
urldate = {2021-04-01},
journal = {Scientific Reports},
author = {Mateo-Garcia, Gonzalo and Veitch-Michaelis, Joshua and Smith, Lewis and Oprea, Silviu Vlad and Schumann, Guy and Gal, Yarin and Baydin, Atılım Güneş and Backes, Dietmar},
month = mar,
year = {2021},
pages = {7249},
}
About
ML4Floods has been funded by the United Kingdom Space Agency (UKSA) and led by Trillium Technologies. It has also been partially supported by the Spanish Ministry of Science and Innovation project PID2019-109026RB-I00 (MINECO-ERDF MCIN/AEI/10.13039/501100011033).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ml4floods-1.0.1.tar.gz
.
File metadata
- Download URL: ml4floods-1.0.1.tar.gz
- Upload date:
- Size: 120.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffc9ff9351c8ef0d72a8a2d9ac554aba67e930768806f7adf7384f3ddacac13e |
|
MD5 | 8fdd582d07abbd15bd809a6594de38f8 |
|
BLAKE2b-256 | 7c579ccc4296d18773c1d246619853df50b8c5dfae74e52bc4f0599c5fe0e11a |
File details
Details for the file ml4floods-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: ml4floods-1.0.1-py3-none-any.whl
- Upload date:
- Size: 138.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9844efe204433152a0b0f8acea4d49e4fae1fc479009836950558cde7a3d3077 |
|
MD5 | 967a579e1f07d9b5e688a14c4682362e |
|
BLAKE2b-256 | dca288bad8ce07172235f411318a97c3d8569e817daefe3e990a3771d2f73a9a |