This repository contains the final YOLO11n model trained for gun and knife object detection.
Fonte do modelo
Descrição da fonte
This repository contains the final YOLO11n model trained for gun and knife object detection.
0: gun1: knifeThe model was trained on a custom merged gun/knife YOLO dataset.
Fontes
1 fonteVerificado 16 de set.
Artefatos de modelo
1 artefatoTrechos de fonte
2 trechosFinal dataset statistics:
| Split | Images |
|---|---|
| Train | 29,446 |
| Validation | 3,681 |
| Test | 3,681 |
Overall class distribution:
| Class | Images | Instances |
|---|---|---|
| gun | 23,694 | 25,333 |
| knife | 13,103 | 13,324 |
| Class | Precision | Recall | mAP50 | mAP50-95 |
|---|---|---|---|---|
| all | 0.942 | 0.934 | 0.964 | 0.698 |
| gun | 0.970 | 0.959 | 0.984 | 0.748 |
| knife | 0.915 | 0.909 | 0.944 | 0.647 |
This model is intended for academic demonstration and comparative evaluation in a computer engineering graduation project. It should not be used as a standalone safety-critical detection system without additional validation.
--- license: mit library_name: ultralytics tags: - object-detection - yolo - yolov11 - gun-detection - knife-detection - streamlit datasets: - custom --- # Gun / Knife Detection - YOLO11n This repository contains the final YOLO11n model trained for gun and knife object detection. ## Classes - `0`: gun - `1`: knife ## Dataset The model was trained on a custom merged gun/knife YOLO dataset. Final dataset statistics: | Split | Images | |---|---:| | Train | 29,446 | | Validation | 3,681 | | Test | 3,681 | Overall class distribution: | Class | Images | Instances | |---|---:|---:| | gun | 23,694 | 25,333 | | knife | 13,103 | 13,324 | ## Training - Model: YOLO11n - Epochs: 50 - Image size: 640 - Batch size: 16 - Device: NVIDIA GeForce RTX 3050 Ti Laptop GPU ## Test Results | Class | Precision | Recall | mAP50 | mAP50-95 | |---|---:|---:|---:|---:| | all | 0.942 | 0.934 | 0.964 | 0.698 | | gun | 0.970 | 0.959 | 0.984 | 0.748 | | knife | 0.915 | 0.909 | 0.944 | 0.647 | ## Intended Use This model is intended for academic demonstration and comparative evaluation in a computer engineering graduation project. It should not be used as a standalone safety-critical detection system without additional validation.
Source context: 459 downloads · 0 likes · Pipeline object-detection · Library ultralytics · Repo cosgun99/gun-knife-yolo11n