Downloads · 30 days
0
pyronear/yolo11s_sensitive-detector
yolo11s_sensitive-detector is a object detection model from pyronear. Use it when you need objects located in an image. The card lists the license as apache-2.0.
Pyronear YOLO model for early wildfire smoke detection.
Downloads · 30 days
0
Access
Public
Updated Jul 11, 2026
Repo size
169 MB
Likes
2
Public
Click a slice to open those files.
.gz65.2 MB · 77%
From the Hugging Face model README
Pyronear YOLO model for early wildfire smoke detection.
Release name: Sensitive Detector Latest version: v1.1.0
Each release is a git tag on this repo (e.g. v1.1.0). Pin a version with
revision="v1.1.0" in hf_hub_download / snapshot_download.
| Field | Value |
|---|---|
| Architecture | yolo11s |
| Image size | 1024 |
| Epochs | 50 |
| Optimizer | AdamW |
| Weights SHA-256 | a9bfa11c559e4b22... |
| Training data MD5 | 409302377938ce2a... |
| File | Description |
|---|---|
best.pt | PyTorch weights |
onnx_cpu.tar.gz | ONNX export (cpu) |
ncnn_cpu.tar.gz | NCNN export (cpu) |
manifest.yaml | Full training manifest |
from ultralytics import YOLO
model = YOLO("best.pt")
results = model.predict("image.jpg", imgsz=1024, conf=0.2, iou=0.01)
for r in results:
print(r.boxes) # bounding boxes + confidences
from huggingface_hub import hf_hub_download
import onnxruntime as ort
import numpy as np
from PIL import Image
path = hf_hub_download(repo_id="pyronear/yolo11s_sensitive-detector", filename="onnx_cpu.tar.gz")
session = ort.InferenceSession(path, providers=["CPUExecutionProvider"])
img = Image.open("image.jpg").resize((1024, 1024))
x = np.array(img).transpose(2, 0, 1)[None].astype(np.float32) / 255.0
outputs = session.run(None, {session.get_inputs()[0].name: x})
# Unzip first
tar -xzf ncnn_cpu.tar.gz
from huggingface_hub import snapshot_download
local_dir = snapshot_download(repo_id="pyronear/yolo11s_sensitive-detector") # latest
local_dir = snapshot_download(repo_id="pyronear/yolo11s_sensitive-detector", revision="v1.1.0") # pinned
from pyroengine.engine import Engine
engine = Engine(
conf_thresh=0.20,
nb_consecutive_frames=5,
)
# feed frames one by one — engine.predict() returns a score
score = engine.predict(pil_image, cam_id="camera_01")
if score > engine.conf_thresh:
print("Smoke detected!")
Pyronear builds open-source tools for early wildfire detection.