Instructions to use vgoradia/PyroSight with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use vgoradia/PyroSight with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://vgoradia/PyroSight") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- wildfire-detection
|
| 5 |
+
- computer-vision
|
| 6 |
+
- cnn
|
| 7 |
+
- remote-sensing
|
| 8 |
+
- image-classification
|
| 9 |
+
- pytorch
|
| 10 |
+
language:
|
| 11 |
+
- en
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# PyroSight: Wildfire Detection CNN
|
| 15 |
+
|
| 16 |
+
**PyroSight** is a convolutional neural network for automated wildfire detection from satellite and aerial imagery. It was developed by Veer Goradia as an independent AI research project.
|
| 17 |
+
|
| 18 |
+
## Model Description
|
| 19 |
+
|
| 20 |
+
Wildfires are among the most destructive natural disasters, and early detection is critical for rapid response. PyroSight uses deep learning to classify remote sensing imagery as wildfire or non-wildfire, enabling automated large-scale monitoring.
|
| 21 |
+
|
| 22 |
+
**Architecture:**
|
| 23 |
+
- Custom CNN backbone trained from scratch for wildfire-specific feature extraction
|
| 24 |
+
- Pretrained baseline comparisons: ResNet50, EfficientNetB0 (frozen + finetuned)
|
| 25 |
+
- Resolution ablation: 150x150 vs 224x224 input
|
| 26 |
+
- Saliency map analysis for failure case interpretability
|
| 27 |
+
- Geographic split analysis to evaluate spatial generalization
|
| 28 |
+
|
| 29 |
+
**Total accuracy:** 97.62% (deterministic across repeated runs)
|
| 30 |
+
|
| 31 |
+
## Performance
|
| 32 |
+
|
| 33 |
+
| Model | Accuracy |
|
| 34 |
+
|-------|----------|
|
| 35 |
+
| PyroSight (custom CNN) | **97.62%** |
|
| 36 |
+
| ResNet50 (finetuned) | baseline |
|
| 37 |
+
| EfficientNetB0 (finetuned) | baseline |
|
| 38 |
+
|
| 39 |
+
Geographic split analysis: 28% of test images within proximity of training regions — model evaluated on strict geographic splits to assess real-world generalization.
|
| 40 |
+
|
| 41 |
+
## Training Data
|
| 42 |
+
|
| 43 |
+
- Satellite and aerial wildfire imagery dataset
|
| 44 |
+
- Binary classification: wildfire vs. non-wildfire
|
| 45 |
+
- Geographic split applied to prevent data leakage between train/test sets
|
| 46 |
+
|
| 47 |
+
## Intended Use
|
| 48 |
+
|
| 49 |
+
- Automated wildfire monitoring from satellite imagery feeds
|
| 50 |
+
- Early warning systems for fire detection
|
| 51 |
+
- Research on remote sensing and environmental AI
|
| 52 |
+
|
| 53 |
+
## How to Use
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
import torch
|
| 57 |
+
from tensorflow import keras
|
| 58 |
+
|
| 59 |
+
# Load model
|
| 60 |
+
model = keras.models.load_model('pyrosight_model')
|
| 61 |
+
|
| 62 |
+
# Predict on an image (224x224 RGB)
|
| 63 |
+
import numpy as np
|
| 64 |
+
img = np.random.rand(1, 224, 224, 3) # replace with real satellite image
|
| 65 |
+
prediction = model.predict(img)
|
| 66 |
+
print(f"Wildfire probability: {prediction[0][0]:.3f}")
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
## Publications
|
| 70 |
+
|
| 71 |
+
- Submitted to **IEEE Big Data High School Symposium 2026** (Paper ID: SP19206)
|
| 72 |
+
- Accepted to **Harvard HSRC 2026**
|
| 73 |
+
|
| 74 |
+
## Citation
|
| 75 |
+
|
| 76 |
+
```
|
| 77 |
+
@misc{goradia2026pyrosight,
|
| 78 |
+
title={PyroSight: Deep Learning for Automated Wildfire Detection from Remote Sensing Imagery},
|
| 79 |
+
author={Goradia, Veer},
|
| 80 |
+
year={2026}
|
| 81 |
+
}
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
## License
|
| 85 |
+
|
| 86 |
+
Apache 2.0 — see LICENSE file.
|
| 87 |
+
|
| 88 |
+
## Contact
|
| 89 |
+
|
| 90 |
+
Veer Goradia · vgoradia07@gmail.com
|