Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-michail/firecastnet
https://github.com/d-michail/firecastnet
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/d-michail/firecastnet
- Owner: d-michail
- Created: 2024-09-18T16:58:36.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-19T06:32:27.000Z (27 days ago)
- Last Synced: 2024-10-19T09:00:24.833Z (27 days ago)
- Language: Python
- Size: 4.74 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FireCastNet
Uses Lightning CLI and supports multiple models. Configuration files are located in `configs/`.
## Classification
In order to run for classification:
```
python main.py fit --model FireCastNet --config configs/config.yaml
```Other models can be run using:
```
python main.py fit --model GRU --config configs/gru-config.yaml
python main.py fit --model ConvGRU --config configs/conv-gru-config.yaml
python main.py fit --model ConvLSTM --config configs/conv-lstm-config.yaml
python main.py fit --model UTAE --config configs/utae-config.yaml
```## Regression
Adjust the configuration file and name it with a `regr` suffix.
```
python main.py fit --model FireCastNet --config configs/config-regr.yaml
```## Requirements
You need to install pytorch, DGL and lightning.
DGL version 2.0.0 from
```
curl -LO https://data.dgl.ai/wheels/cu121/dgl-2.0.0%2Bcu121-cp310-cp310-manylinux1_x86_64.whl
```### Download the data
Download the [SeasFire dataset](https://zenodo.org/record/8055879) from zenodo. Note it is 44GB.
Unzip the dataset to a folder of your choice. Reference the dataset from the config file.
## Acknowledgements
This work is part of the SeasFire project, which deals with
”Earth System Deep Learning for Seasonal Fire Forecasting”
and is funded by the European Space Agency (ESA) in the
context of the ESA Future EO-1 Science for Society Call.