Skip to content

RituYadav92/Uni-Temporal-Flood-Detection-Sentinel-1_Frontiers22

Repository files navigation

Python 3.7+ TensorFlow 2.2 License: MIT

Deep Attentive Fusion network for Flood Detection on Uni-temporal Sentinel-1 Data (Frontiers in Remote Sensing)

[DOI: https://doi.org/10.3389/frsen.2022.1060144]

[GEE App : https://erritu92.users.earthengine.app/view/flooddetectionunitemporal]

Description:

Floods are occurring across the globe, and due to climate change, flood events are expected to increase in the coming years. Current situations urge more focus on efficient monitoring of floods and detecting impacted areas. In this study, we propose two segmentation networks for flood detection on uni-temporal Sentinel-1 Synthetic Aperture Radar data. The first network is “Attentive U-Net”. It takes VV, VH, and the ratio VV/VH as input. The network uses spatial and channel-wise attention to enhance feature maps which help in learning better segmentation. “Attentive U-Net” yields 67% Intersection Over Union (IoU) on the Sen1Floods11 dataset, which is 3% better than the benchmark IoU. The second proposed network is a dual-stream “Fusion network”, where we fuse global low-resolution elevation data and permanent water masks with Sentinel-1 (VV, VH) data. Compared to the previous benchmark on the Sen1Floods11 dataset, our fusion network gave a 4.5% better IoU score. Quantitatively, the performance improvement of both proposed methods is considerable. The quantitative comparison with the benchmark method demonstrates the potential of our proposed flood detection networks. The results are further validated by qualitative analysis, in which we demonstrate that the addition of a low-resolution elevation and a permanent water mask enhances the flood detection results. Through ablation experiments and analysis we also demonstrate the effectiveness of various design choices in proposed networks.

Flood Sites     GEE App sample visualization

Flood Sites

Training and Evaluation

Training and evaluation code is in flood.py. Before training or evaluating add dataset path, weight path and weight file name.

# Train the model
python3 flood.py train 

# Evaluate the model
python3 flood.py evaluate 

Cite

Please cite our work if you use our code.

            @article{yadav2022deep,
              title={Deep attentive fusion network for flood detection on uni-temporal Sentinel-1 data},
              author={Yadav, Ritu and Nascetti, Andrea and Ban, Yifang},
              journal={Frontiers in Remote Sensing},
              pages={106},
              year={2022},
              publisher={Frontiers}
            }

Dataset Citation:

Ritu Yadav, “Modified Sen1Floods11 Dataset for Change Detection”. Zenodo, May 17, 2023. doi: 10.5281/zenodo.7946594.

Contact Information:

Ritu Yadav (Email: er.ritu92@gmail.com)