Downloads · 30 days
178
44% of all-time downloads
Beehzod/smoking-detection-finetuned
smoking-detection-finetuned is a object detection model from Beehzod. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as mit.
Fine-tuned from Enos-123/smoking-detection (YOLOv11-Medium) using Ultralytics.
Downloads · 30 days
178
44% of all-time downloads
All-time downloads
402
Public
Repo size
40.5 MB
Likes
1
Public
Click a slice to open those files.
.pt40.5 MB · 100%
From the Hugging Face model README
Fine-tuned from Enos-123/smoking-detection (YOLOv11-Medium) using Ultralytics.
cigarettelicense field, which reflects the base model's license.| Parameter | Value |
|---|---|
| Base checkpoint | Enos-123/smoking-detection |
| Epochs | 100 |
| Image size | 640 |
| Batch size | 18 |
| Optimizer | AdamW |
| Initial LR (lr0) | 0.001 |
| Patience (early stop) | 20 |
| Metric | Value |
|---|---|
| mAP50 | 0.8698 |
| mAP50-95 | 0.5886 |
| Precision | 0.9432 |
| Recall | 0.7957 |
from ultralytics import YOLO
model = YOLO("best.pt")
results = model.predict("image.jpg", conf=0.25)
for r in results:
for box in r.boxes:
print(model.names[int(box.cls[0])], float(box.conf[0]))