Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,28 @@ If you use ClimateVision in your research, please cite:
 · 
<a href="https://github.com/Climate-Vision/ClimateVision/issues">Report a Bug</a>
</p>

---

## Contributors

Thanks to everyone who has contributed to ClimateVision! 🎉

<a href="https://github.com/Climate-Vision/ClimateVision/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Climate-Vision/ClimateVision" />
</a>a>

| Contributor | Merged PRs |
|-------------|-----------|
| [@Goldokpa](https://github.com/Goldokpa) | #1, #2, #3, #4, #5, #6, #16, #29, #30 |
| [@Oshgig](https://github.com/Oshgig) | #7, #8, #33 |
| [@femi23](https://github.com/femi23) | #34, #40, #41, #42 |
| [@obielin](https://github.com/obielin) | #35, #36, #37, #38, #39 |
| [@franchaise](https://github.com/franchaise) | #46, #47, #48, #49 |
| [@Hopelynconsult](https://github.com/Hopelynconsult) | #51 |
| [@emekambachu](https://github.com/emekambachu) | Co-author contributions |
| [@Godswill-code](https://github.com/Godswill-code) | Co-author contributions |
| [@cutewizzy11](https://github.com/cutewizzy11) | Co-author contributions |
| [@edoh-Onuh](https://github.com/edoh-Onuh) | Co-author contributions |

Want to join this list? Check out our [Contributing Guide](CONTRIBUTING.md) and pick up a [`good first issue`](https://github.com/Climate-Vision/ClimateVision/issues?q=label%3A%22good+first+issue%22)!
21 changes: 21 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,27 @@ analysis_types:
- "flooded_area_km2"
- "mndwi_stats"

# Flood Detection (SAR / Sentinel-1) -- all-weather, ensemble-based, no trained
# weights required. Separates permanent water from flood given a JRC GSW
# reference or a pre-event scene.
flooding_sar:
enabled: true
display_name: "Flood Detection (SAR)"
description: "All-weather flood detection from Sentinel-1 VV/VH using a physics-based ensemble"
model:
architecture: "ensemble" # LIST + DLR + TUW majority vote; no neural weights
in_channels: 2 # VV, VH
num_classes: 3
bands: ["VV", "VH"]
classes: ["dry_land", "permanent_water", "flooded"]
thresholds:
alert_flood_area: 5.0
critical_flood_area: 20.0
metrics:
- "flooded_percentage"
- "flooded_area_km2"
- "permanent_water_km2"

# Drought Monitoring
drought:
enabled: false # Not yet implemented
Expand Down
59 changes: 59 additions & 0 deletions config/train_flood.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# ============================================================
# ClimateVision — Flood Detection Training Config
# ============================================================

# --- Data --------------------------------------------------
data:
dir: data/processed/flood
image_size: 256
batch_size: 8
num_workers: 4
use_weighted_sampler: true
pin_memory: true

# --- Model -------------------------------------------------
model:
architecture: flood_unet_s2only
in_channels: 3
num_classes: 3
encoder: efficientnet-b7

# --- Loss --------------------------------------------------
loss:
type: combined
focal_weight: 0.5
focal_alpha: 0.25
focal_gamma: 2.0
use_class_weights: true

# --- Optimiser --------------------------------------------
optimizer:
learning_rate: 1.0e-4
weight_decay: 1.0e-4
min_lr: 1.0e-6

# --- Schedule ---------------------------------------------
schedule:
epochs: 20
warmup_epochs: 3
checkpoint_interval: 5

# --- Regularisation / Tricks ------------------------------
training:
mixed_precision: true
grad_clip: 1.0
use_ema: true
ema_decay: 0.99
early_stopping_patience: 10

# --- Outputs ----------------------------------------------
output:
save_dir: models
run_name: ""

# --- Normalisation stats ----------------------------------
normalizer_stats: ""

# --- Analysis type ----------------------------------------
analysis:
type: flooding
Loading
Loading