Downloads · 30 days
2.3K
28% of all-time downloads
rabahdev/fire-smoke-yolov8n
fire-smoke-yolov8n is a object detection model from rabahdev. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as agpl-3.0.
YOLOv8n fine-tuned on the D-Fire dataset for detecting smoke and fire in images.
Downloads · 30 days
2.3K
28% of all-time downloads
All-time downloads
8.3K
Public
Repo size
12.8 MB
Likes
6
Public
Click a slice to open those files.
.pt12.5 MB · 97%
From the Hugging Face model README
YOLOv8n fine-tuned on the D-Fire dataset for detecting smoke and fire in images.
0 — smoke1 — firebest.pt — fine-tuned weights (use this)last.pt — final-epoch weights| Metric | All | Smoke | Fire |
|---|---|---|---|
| mAP50 | 0.754 | — | — |
| mAP50-95 | 0.430 | 0.499 | 0.362 |
| Precision | 0.766 | — | — |
| Recall | 0.688 | — | — |
yolov8n.pt (COCO pretrained)from huggingface_hub import hf_hub_download
from ultralytics import YOLO
ckpt = hf_hub_download(repo_id="rabahdev/fire-smoke-yolov8n", filename="best.pt")
model = YOLO(ckpt)
results = model("image.jpg")
results[0].show()
AGPL-3.0 (inherited from Ultralytics YOLOv8).