DarshanM0di/fireandsmoke
By DarshanM0di · ↓ 0 · ♥ 0 · Updated 2026-02-20
What's in this repo
This page lists the files in DarshanM0di/fireandsmoke, including best (4).onnx.
- 1 ONNX models (.onnx files)
- 6 files, including 1 .md, 1 .png, 1 .onnx, 1 .webp, 1 .mp4
- Last updated 2026-02-20
ONNX files
| File | Size | Download |
|---|---|---|
| best (4).onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
🔥 Fire & Smoke Detection — YOLO‑26n (ONNX)
📝 Overview This model is a fire and smoke detection system built using YOLO‑26n (YOLO‑NAS) and exported to ONNX format for fast, lightweight deployment. It is trained for 100 epochs on a custom dataset containing annotated fire and smoke images. The model is optimized for CPU‑only environments, making it suitable for real‑time safety monitoring on edge devices, CCTV systems, and low‑resource hardware. The detector identifies two critical hazard classes:
- Fire (Flames)
- Smoke By analyzing each frame of a video stream, the model predicts bounding boxes, confidence scores, and class labels, enabling early detection of hazardous conditions before traditional sensors react.
📊 Performance Metrics (100 Epochs)
- AP50 (74.3%) — Strong detection accuracy for flames and smoke at IoU ≥ 0.50.
- mAP50‑95 (43.9%) — Good robustness across stricter IoU thresholds, especially for smoke.
- Precision (73.6%) — Low false‑positive rate; reliable for real‑world alerts.
- Recall (68.3%) — Detects most real fire/smoke events, reducing missed hazards. These metrics indicate a balanced, reliable model suitable for early hazard detection.
⚙️ Model Details
- Architecture: YOLO‑26n (YOLO‑NAS)
- Format: ONNX
- Input Size: 640 × 640
- Batch Size: 1
- Precision: FP32 (CPU‑friendly)
- Post‑processing: Custom NMS + confidence filtering
- Training Epochs: 100
🌍 Use Cases
- Forest fire early‑warning systems
- Industrial safety monitoring
- Warehouse and factory surveillance
- Smart building fire detection
- CCTV‑based hazard detection
- Drone‑based fire inspection
📦 Intended Audience
- Researchers working on fire‑safety automation
- Developers building real‑time hazard detection systems
- Smart‑city and industrial monitoring teams
- Students and engineers exploring ONNX deployment
Author: Darshan Modi
Model info
Created: 2026-02-18
Updated: 2026-02-20
View on Hugging Face