Skip to content
ModelListedExternal
Download

Gun Knife Yolo11n

This repository contains the final YOLO11n model trained for gun and knife object detection.

KindOtherVersionRevision 572728c

Model source

Kind
Other
File size
5.22 MB
Version
vRevision 572728c
Updated
Sep 16, 2026
Downloads
459
Tasks
Object detection
Source
Hugging Face

Source description

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:

SplitImages
Train29,446
Validation3,681
Test3,681

Overall class distribution:

ClassImagesInstances
gun23,69425,333
knife13,10313,324

Training

  • Model: YOLO11n
  • Epochs: 50
  • Image size: 640
  • Batch size: 16
  • Device: NVIDIA GeForce RTX 3050 Ti Laptop GPU

Test Results

ClassPrecisionRecallmAP50mAP50-95
all0.9420.9340.9640.698
gun0.9700.9590.9840.748
knife0.9150.9090.9440.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.

Sources

1 source
Hugging FacePrimaryVersion 572728ceaad5f1b5e3344da0a98e043749c49427
huggingface.co/cosgun99/gun-knife-yolo11n/tree/572728ceaad5f1b5e3344da0a98e043749c49427

Verified Sep 16

Model artifacts

1 artifact

best.pt

pt · 5.22 MB · SHA-256 07241a8fc57d…7cb5 · Hugging Face

Download

Source excerpts

2 excerpts

--- 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