Datasets and models for wildfire detection in PyTorch
Project description
PyroNear: early wildfire detection
The increasing adoption of mobile phones have significantly shortened the time required for firefighting agents to be alerted of a starting wildfire. In less dense areas, limiting and minimizing this duration remains critical to preserve forest areas.
PyroNear aims at offering an wildfire early detection system with state-of-the-art performances at minimal deployment costs.
Table of Contents
Getting started
Prerequisites
- Python 3.6 (or more recent)
- pip
Installation
Use pip to install the package from git
pip install git+https://github.com/frgfm/PyroNear@master
Usage
datasets
Access all PyroNear datasets just like any torchvision.datasets.VisionDataset
:
from pyronear.datasets import OpenFire
dataset = OpenFire('./data', download=True)
References
You are free to use any training script, but some are already provided for reference. In order to use them, install the specific requirements and check script options as follows:
pip install -r references/classification/fastai/requirements.txt
python references/classification/fastai/train.py --help
You can then run the script with your own arguments:
python references/classification/fastai/train.py --data-path ./data --lr 3e-3 --epochs 4 --pretrained --deterministic
Please note that most tasks are provided with two training scripts (and their requirements.txt
): one using fastai and the other without it.
Documentation
The full package documentation is available here for detailed specifications. The documentation was built with Sphinx using a theme provided by Read the Docs.
Contributing
Please refer to CONTRIBUTING
if you wish to contribute to this project.
Credits
This project is developed and maintained by the repo owner and volunteers from Data for Good.
License
Distributed under the MIT License. See LICENSE
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyronear-0.1.0.tar.gz
.
File metadata
- Download URL: pyronear-0.1.0.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5e79cf5f54a01637c9178026ece8ad02f183ba7088a6678ad470b7ce8e62dc4 |
|
MD5 | 555b3a9807a5c89fedfba91d8f08aded |
|
BLAKE2b-256 | 5e677d48d09b827b4509f777ffc6d0ca931488fdcab6da5b6364299b412ccbf4 |
File details
Details for the file pyronear-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyronear-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10a3045272a78dd8aef002f20f3ada453f90a61419db851b094d9e43f141b4d9 |
|
MD5 | f229e64e7422d42fca358c7c6d972160 |
|
BLAKE2b-256 | ba6c34086c348695a492b7a61fa19acef300fb421f76399c6bf69ce951f2259d |