Views
No views yet
| File | Description | Input bands |
|---|---|---|
glacier_segmentation_6band.keras | Glacier segmentation — main model | 6 (RGB + NIR + SWIR1 + SWIR2) |
deforestation_amazon_4band.keras | Replication — Amazon deforestation | 4 (RGB + NIR) |
deforestation_atlantic_4band.keras | Replication — Atlantic Forest | 4 (RGB + NIR) |
deforestation_amazon_rgb_3band.keras | Replication — Amazon RGB only | 3 (RGB) |
| Metric | Score |
|---|---|
| IoU | 0.9839 |
| Precision | 0.9919 |
| Recall | 0.9915 |
| F1 | 0.9917 |
1from keras.models import load_model
2import numpy as np
3
4# Load model
5model = load_model("glacier_segmentation_6band.keras")
6
7# Input shape: (batch, 512, 512, 6) — normalised to [0, 1]
8# Output shape: (batch, 512, 512, 1) — binary mask
9prediction = model.predict(image[np.newaxis, ...])1@misc{tyriard2025glacier,
2 author = {Tyriard, Camille},
3 title = {Attention U-Net for Glacier Extent Segmentation in the Swiss Alps},
4 year = {2025},
5 url = {https://github.com/camilletyriard-dev/glacier-segmentation-attention-unet}
6}1@article{john2022attention,
2 title = {An attention-based U-Net for detecting deforestation within satellite sensor imagery},
3 author = {John, David A. and Zhang, Chuanxin},
4 journal = {International Journal of Applied Earth Observation and Geoinformation},
5 volume = {107},
6 year = {2022},
7 doi = {10.1016/j.jag.2022.102685}
8}