Views
No views yet
| 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 |
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 · Trucksconfigs/aircraft.yaml (F16, F35, Su57, AH64, C130, …).pip install ultralytics huggingface_hub1from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4repo = "RehmanKhalid/yolo26-military-detection"
5
6ckpt = hf_hub_download(repo_id=repo, filename="weights/yolo26n_mvrsd_best.pt")
7model = YOLO(ckpt)
8
9results = model.predict("your_image.jpg", conf=0.25, imgsz=640)
10results[0].show() # draw boxes
11results[0].save("out.jpg")1# Ground vehicles (8-class)
2ckpt = hf_hub_download(repo_id=repo, filename="weights/yolo26n_vehicles8_best.pt")
3
4# Aircraft (74-class)
5ckpt = hf_hub_download(repo_id=repo, filename="weights/yolo26n_aircraft_best.pt")1yolo detect predict \
2 model=weights/yolo26n_mvrsd_best.pt \
3 source=your_image.jpg \
4 conf=0.25 imgsz=6401weights/
2 yolo26n_mvrsd_best.pt # 5-class remote-sensing vehicles
3 yolo26n_vehicles8_best.pt # 8-class ground vehicles
4 yolo26n_aircraft_best.pt # 74-class aircraft
5configs/
6 mvrsd.yaml
7 vehicles8.yaml
8 aircraft.yaml
9 categories10.yaml # folder labels only (no boxes)
10metrics/
11 military_id_*.json # baseline & fine-tuned val reports
12examples/
13 *_sample.* # illustrative images (not the full dataset)
14REPORT.md # technical write-up (MVRSD experiment)yolo26n on each dataset val splitbest.ptmetrics/n) favors speed over max accuracy — try larger YOLO26 scales for tighter boxes1@software{ultralytics_yolo,
2 title = {Ultralytics YOLO},
3 author = {Ultralytics},
4 url = {https://github.com/ultralytics/ultralytics}
5}