Downloads · 30 days
225
52% of all-time downloads
RehmanKhalid/yolo26-military-detection
yolo26-military-detection is a object detection model from RehmanKhalid. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as other.
Fine-tuned Ultralytics YOLO26n models for multi-class object detection of military vehicles and aircraft (bounding box + class label).
Downloads · 30 days
225
52% of all-time downloads
All-time downloads
430
Public
Repo size
18.3 MB
Likes
1
Public
Click a slice to open those files.
.pt16.3 MB · 88%
From the Hugging Face model README
Fine-tuned Ultralytics YOLO26n models for multi-class object detection of military vehicles and aircraft (bounding box + class label).
| Task | Object detection (detect + identify class) |
| Base model | YOLO26n (COCO pretrained) |
| Fine-tuned models | 3 specialized checkpoints |
| Hardware used | NVIDIA GeForce RTX 3090 (24 GB) |
| Framework | Ultralytics / PyTorch |
Training images are not shipped in this repo. Only weights, configs, metrics, and a few sample images are included.
| Checkpoint | Domain | Classes | Val mAP50 | Val mAP50-95 | Precision | Recall |
|---|---|---|---|---|---|---|
weights/yolo26n_mvrsd_best.pt | Remote-sensing vehicles (MVRSD) | 5 | 0.842 | 0.586 | 0.812 | 0.792 |
weights/yolo26n_vehicles8_best.pt | Ground vehicles | 8 | 0.644 | 0.419 | 0.751 | 0.553 |
weights/yolo26n_aircraft_best.pt | Military aircraft | 74 | 0.706 | 0.625 | 0.770 | 0.605 |
| Model | Baseline mAP50 (COCO YOLO26n) | Fine-tuned mAP50 | Gain |
|---|---|---|---|
| MVRSD | 0.005 | 0.842 | +83.7 pp |
| Vehicles8 | 0.063 | 0.644 | +58.1 pp |
| Aircraft | 0.001 | 0.706 | +70.5 pp |
Training recipe (all three): 100 epochs · imgsz=640 · batch=16 · cos_lr · optimizer=auto · start from yolo26n.pt.
| ID | Code | Description |
|---|---|---|
| 0 | SMV | Small Military Vehicle |
| 1 | LMV | Light / Large Military Vehicle |
| 2 | AFV | Armored Fighting Vehicle |
| 3 | CV | Combat / Civilian Vehicle |
| 4 | MCV | Medium / Military Cargo Vehicle |
APC · ENG · IFV · IMV · MRL · ART · Tanks · Trucks
Full list in configs/aircraft.yaml (F16, F35, Su57, AH64, C130, …).
pip install ultralytics huggingface_hub
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
repo = "RehmanKhalid/yolo26-military-detection"
ckpt = hf_hub_download(repo_id=repo, filename="weights/yolo26n_mvrsd_best.pt")
model = YOLO(ckpt)
results = model.predict("your_image.jpg", conf=0.25, imgsz=640)
results[0].show() # draw boxes
results[0].save("out.jpg")
# Ground vehicles (8-class)
ckpt = hf_hub_download(repo_id=repo, filename="weights/yolo26n_vehicles8_best.pt")
# Aircraft (74-class)
ckpt = hf_hub_download(repo_id=repo, filename="weights/yolo26n_aircraft_best.pt")
yolo detect predict \
model=weights/yolo26n_mvrsd_best.pt \
source=your_image.jpg \
conf=0.25 imgsz=640
weights/
yolo26n_mvrsd_best.pt # 5-class remote-sensing vehicles
yolo26n_vehicles8_best.pt # 8-class ground vehicles
yolo26n_aircraft_best.pt # 74-class aircraft
configs/
mvrsd.yaml
vehicles8.yaml
aircraft.yaml
categories10.yaml # folder labels only (no boxes)
metrics/
military_id_*.json # baseline & fine-tuned val reports
examples/
*_sample.* # illustrative images (not the full dataset)
REPORT.md # technical write-up (MVRSD experiment)
Standard benchmarking (before/after), not score-chasing:
yolo26n on each dataset val splitbest.ptmetrics/Primary metrics: mAP50, mAP50-95, precision, recall.
Not intended for: production targeting, weapons control, or unlawful surveillance.
n) favors speed over max accuracy — try larger YOLO26 scales for tighter boxesPlease cite Ultralytics YOLO and the original dataset authors if you use these weights.
@software{ultralytics_yolo,
title = {Ultralytics YOLO},
author = {Ultralytics},
url = {https://github.com/ultralytics/ultralytics}
}
Model weights and configs in this repository: provided for research/education.
Underlying training datasets: follow their original licenses and terms.
Base architecture: Ultralytics YOLO (see Ultralytics license).