Downloads · 30 days
42
47% of all-time downloads
dronefreak/pklot-yolov8s
pklot-yolov8s is a object detection model from dronefreak. 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.
Fine-tuned YOLOv8s object detector on the PKLot benchmark dataset, trained and evaluated as part of DetectionBench -- a framework for reproducibly benchmarking modern object detectors with identical training recipes a…
Downloads · 30 days
42
47% of all-time downloads
All-time downloads
89
Public
Repo size
26 MB
Likes
0
Public
Click a slice to open those files.
.pt22.5 MB · 92%
From the Hugging Face model README
Fine-tuned YOLOv8s object detector on the PKLot benchmark dataset, trained and evaluated as part of DetectionBench -- a framework for reproducibly benchmarking modern object detectors with identical training recipes and evaluation metrics across multiple real-world datasets.
<p align="center"> <img src="pklot_yolov8s_showcase.jpg" alt="PKLot Detection Demo" width="900"> </p> <br> <!-- ROW 1: Identity & Tech Stack --> <div style="display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap;"> <img src="https://img.shields.io/badge/Task-Object_Detection-blue?style=flat-square" alt="Task"> <img src="https://img.shields.io/badge/Framework-Ultralytics_YOLO-0aa1a7?style=flat-square" alt="Framework"> <img src="https://img.shields.io/badge/Base_Model-YOLOv8s-purple?style=flat-square" alt="Base Model"> </div> <!-- ROW 2: Performance Metrics --> <div style="display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap;"> <img src="https://img.shields.io/badge/[email protected]%25-success?style=flat-square" alt="mAP@50"> <img src="https://img.shields.io/badge/mAP@50:95-95.33%25-orange?style=flat-square" alt="mAP@50:95"> <img src="https://img.shields.io/badge/Params-11.2M-lightgrey?style=flat-square" alt="Params"> </div> <!-- ROW 3: Metadata --> <div style="display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap;"> <img src="https://img.shields.io/badge/License-AGPL--3.0-lightgrey?style=flat-square" alt="License"> <a href="https://github.com/dronefreak/DetectionBench"><img src="https://img.shields.io/badge/Source-DetectionBench-black?style=flat-square" alt="Source"></a> </div>pip install ultralytics huggingface_hub
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
weights = hf_hub_download(
repo_id="dronefreak/pklot-yolov8s",
filename="best.pt"
)
model = YOLO(weights)
results = model.predict(
source="image.jpg",
conf=0.25
)
results[0].show()
Evaluated on the PKLot test split, using DetectionBench's standard evaluation pipeline (detectionbench-evaluate).
| Metric | Score (%) |
|---|---|
| mAP@50 | 99.33 |
| mAP@50-95 | 95.33 |
| Precision | 99.5 |
| Recall | 96.18 |
| F1 Score | 97.81 |
| Parameters | 11.2M |
| FLOPs | 28.6B (at 640 px) |
Every model DetectionBench has trained and evaluated on PKLot so far, for full transparency -- see DetectionBench for the smaller, curated comparison set used on the project README.
| Model | mAP@50 | mAP@50-95 | Precision | Recall |
|---|---|---|---|---|
| YOLO11n | 99.42 | 94.99 | 99.78 | 99.92 |
| YOLO26n | 99.42 | 94.6 | 99.66 | 99.37 |
| YOLOv8n | 99.42 | 94.85 | 99.49 | 98.68 |
| YOLO26m | 99.41 | 94.92 | 99.6 | 99.64 |
| YOLOv8s | 99.33 | 95.33 | 99.5 | 96.18 |
| YOLO26s | 99.31 | 94.32 | 99.52 | 92.31 |
| RF-DETR Nano | 98.93 | 91.63 | 99.66 | 99.81 |
| YOLOv8m | 98.41 | 95.4 | 99.55 | 97.67 |
| Class | mAP@50 | mAP@50-95 |
|---|---|---|
| vacant | 99.46 | 97.7 |
| occupied | 99.19 | 92.96 |

This model was trained on PKLot. For the full dataset description, provenance, license, and citation, see the dataset card:
https://huggingface.co/datasets/dronefreak/PKLot
| Setting | Value |
|---|---|
| Dataset | PKLot |
| Framework | Ultralytics YOLO |
| Training Toolkit | DetectionBench |
| Epochs (configured max) | 60 |
| Epochs (actually trained) | 41 |
| Early Stopping Patience | 15 |
| Batch Size | auto (Ultralytics AutoBatch) |
| Image Size | 960 |
| Optimizer | AdamW |
| Initial Learning Rate | 0.001 |
| Seed | 0 |
best.pt
results.csv
args.yaml
BoxPR_curve.png
BoxF1_curve.png
BoxP_curve.png
BoxR_curve.png
confusion_matrix.png
confusion_matrix_normalized.png
val_batch0_pred.jpg
pklot_yolov8s_showcase.jpg
README.md
This model was trained using DetectionBench, an open-source framework for benchmarking object detectors across multiple real-world datasets with a common pipeline.
Features include:
If you find this model useful, please consider starring the repository.
vacant / occupied), so scores reflect that easier, location-aware task, not general-purpose car detection or the classification literature's numbers.If you use this model in your research, please consider citing the dataset and the model architecture:
@article{almeida2015pklot,
title={PKLot -- A robust dataset for parking lot classification},
author={de Almeida, Paulo R. L. and Oliveira, Luiz S. and Britto Jr, Alceu S. and Silva Jr, Eunelson J. and Koerich, Alessandro L.},
journal={Expert Systems with Applications},
volume={42},
number={11},
pages={4937--4949},
year={2015},
doi={10.1016/j.eswa.2015.02.009}
}
No official YOLOv8 research paper has been published by Ultralytics; this is their own recommended software citation instead:
@software{jocher2023yolov8,
author = {Glenn Jocher and Ayush Chaurasia and Jing Qiu},
title = {Ultralytics YOLOv8},
version = {8.0.0},
year = {2023},
url = {https://github.com/ultralytics/ultralytics},
license = {AGPL-3.0}
}