Skip to content

eceo-epfl/CanadaFireSat-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥🛰️ CanadaFireSat Model

License Python Version Datasets on Hugging Face

This repository contains the code for training models on the benchmark CanadaFireSat available online. In this benchmark, we investigate the potential of deep learning with multiple sensors for high-resolution wildfire forecasting.

Summary Representation:

Model Architectures

In this repository, we train models following two different deep learning architectures, CNN-based using ResNet encoders and Transformer-based using ViT encoders.

Those models are trained across three data settings namely:

Setting Source Format Type
SITS ONLY Sentinel-2 Spatial Multi-Spectral Images
ENV ONLY MODIS Spatial Environmental Products
ERA5-Land Spatial Climate Reanalysis
CEMS Spatial Fire Indices
Multi-Modal Sentinel-2 Spatial Multi-Spectral Images
MODIS Tabular Environmental Products
ERA5-Land Tabular Climate Reanalysis
CEMS Tabular Fire Indices

CNN-Based Multi-Modal Architecture

ViT-Based Multi-Modal Architecture

🛠️ Set-Up

  • In order to log the model training, you need to set-up a WandB profile or switch model loggers. You can specify your WandB information in global_config.yaml.

  • Then, you also need to install the Python virtual environment:

python -m venv fire-env
source fire-env/bin/activate
pip install -r requirements/requirements.txt --extra-index-url https://download.pytorch.org/whl/cu117
  • You can then download the data from Hugging Face 🤗 leveraging src.huggingface.download | Config: download.yaml.

  • Specify the data paths in the global_config.yaml.

🏋️ Model Training & Evaluation

  • Training: Run the src.train.segmentation_training script with your selected training config: ResNet_MULTI.yaml, ViT_MULTI.yaml, ...

  • Evaluation: Run the src.eval.eval script with your selected evaluation config: eval.yaml, eval_tab.yaml, ... . The model config described in the evaluation should matched the one of the its training config.

📷 Results

📊 Performance Analysis: In this table, we describe the models' performances across data settings and architectures.

Encoder Modality Params (M) Val Test Test Hard Avg
PRAUCF1 PRAUCF1 PRAUCF1 PRAUCF1
ResNet-50 SITS Only 52.2 45.949.4 54.059.9 26.236.7 42.048.7
ENV Only 97.5 41.646.7 50.855.2 24.533.1 39.045.0
Multi-Modal 52.2 46.151.2 57.060.3 27.137.4 43.449.6
ViT-S SITS Only 36.5 45.250.6 51.251.9 25.733.8 40.745.2
ENV Only 54.8 34.845.7 49.259.9 21.235.1 35.146.9
Multi-Modal 37.7 43.950.0 56.259.2 24.735.6 41.648.3
Baseline (FWI) ENV Only - 20.032.7 43.150.3 21.132.7 28.138.6

🗺️ Use Cases on large ROI: We plot a large target area where a wildfire occurred in Québec in 2023, then the fire polygons corresponding to the wildfires, then our model predictions across the region.

Figure 1: Sentinel-2 tile from 2023/06/28 of size 14 km × 26 km before a large wildfire in Québec.

Figure 2: Fire polygons for the large wildfire on 2023/07/05 over the same tile.

Figure 3: Binary model predictions (in red) over the 2.64 km × 2.64 km center-cropped positive samples outlined in black.

🖋️ Citation

@article{porta2025canadafiresat,
  title={CanadaFireSat: Toward high-resolution wildfire forecasting with multiple modalities},
  author={Porta, Hugo and Dalsasso, Emanuele and McCarty, Jessica L and Tuia, Devis},
  journal={arXiv preprint arXiv:2506.08690},
  year={2025}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages