Views
No views yet

| Metric | Score |
|---|---|
| mIoU | 68.6 |
| Pixel Accuracy | 87.31 |
| Parameters (M) | 9.17 |
| FLOPs (GFLOPs @ 1024px) | 54.8 |
| Rank | Model | mIoU (%) | Pixel Acc (%) | Params (M) | FLOPs (GFLOPs) |
|---|---|---|---|---|---|
| 1 | CABiNet (MobileNetV3-Large) | 68.6 | 87.31 | 9.17 | 54.8 |
| 2 | CABiNet (MobileNetV3-Small) | 66.84 | 86.45 | 5.36 | 44.1 |
| 3 | YOLO26x-sem | 64.41 | 85.82 | 40.16 | 430.9 |
| 4 | YOLO26l-sem | 63.28 | 84.75 | 17.87 | 192.4 |
| 5 | YOLO26m-sem | 61.98 | 84.41 | 14.32 | 152.3 |
| 6 | YOLO26s-sem | 61.69 | 84.27 | 6.50 | 44.4 |
| 7 | YOLO26n-sem | 58.17 | 82.31 | 1.63 | 11.4 |
| Class | CABiNet (MobileNetV3-Large) | CABiNet (MobileNetV3-Small) | YOLO26x-sem | YOLO26l-sem | YOLO26m-sem | YOLO26s-sem | YOLO26n-sem |
|---|---|---|---|---|---|---|---|
| Clutter | 69.37 | 67.96 | 67.34 | 65.63 | 64.63 | 63.8 | 61.46 |
| Building | 87.77 | 86.59 | 87.37 | 85.9 | 86.1 | 85.01 | 82.29 |
| Road | 81.62 | 80.94 | 79.82 | 78.87 | 78.61 | 78.14 | 75.25 |
| Static Car | 59.3 | 55.69 | 51.33 | 54.48 | 44.74 | 47.39 | 41.08 |
| Tree | 81.23 | 80.09 | 78.19 | 76.68 | 76.44 | 76.8 | 74.06 |
| Vegetation | 65.88 | 64.12 | 63.3 | 59.97 | 60.07 | 60.25 | 55.65 |
| Human | 30.04 | 27.32 | 21.09 | 19.34 | 20.41 | 18.88 | 15.82 |
| Moving Car | 73.62 | 71.99 | 66.81 | 65.38 | 64.88 | 63.3 | 59.73 |
1pip install torch huggingface_hub
2git clone https://github.com/dronefreak/CABiNet.git
3cd CABiNet
4python -m venv venv
5source venv/bin/activate # On Windows: venv\Scripts\activate
6pip install -e .[dev]1from huggingface_hub import hf_hub_download
2import torch
3
4from src.models.cabinet import CABiNet
5
6weights = hf_hub_download(
7 repo_id="dronefreak/cabinet-mobilenetv3-large-uavid",
8 filename="cabinet_best.pth"
9)
10
11model = CABiNet(n_classes=8, mode="large")
12ckpt = torch.load(weights, map_location="cpu", weights_only=True)
13state_dict = ckpt["model_state"] if isinstance(ckpt, dict) and "model_state" in ckpt else ckpt
14model.load_state_dict(state_dict)
15model.eval()1import torch
2
3image = ... # (1, 3, H, W) normalized float tensor
4with torch.no_grad():
5 logits = model(image)[0]
6mask = logits.argmax(dim=1).squeeze(0).cpu().numpy() # (H, W) class-ID map| Setting | Value |
|---|---|
| Epochs | 5000 |
| Image size | 1024 |
| Batch size | 4 |
| Dataset | UAVid (converted images/+masks/ format) |
| Framework | CABiNet custom PyTorch trainer |
| cls_pw (class weighting) | 0.5 |
1@article{LYU2020108,
2 author = "Ye Lyu and George Vosselman and Gui-Song Xia and Alper Yilmaz and Michael Ying Yang",
3 title = "UAVid: A semantic segmentation dataset for UAV imagery",
4 journal = "ISPRS Journal of Photogrammetry and Remote Sensing",
5 volume = "165",
6 pages = "108 - 119",
7 year = "2020",
8 issn = "0924-2716",
9 doi = "https://doi.org/10.1016/j.isprsjprs.2020.05.009",
10 url = "http://www.sciencedirect.com/science/article/pii/S0924271620301295",
11}
12
13@INPROCEEDINGS{9560977,
14 author={Kumaar, Saumya and Lyu, Ye and Nex, Francesco and Yang, Michael Ying},
15 booktitle={2021 IEEE International Conference on Robotics and Automation (ICRA)},
16 title={CABiNet: Efficient Context Aggregation Network for Low-Latency Semantic Segmentation},
17 year={2021},
18 pages={13517-13524},
19 doi={10.1109/ICRA48506.2021.9560977}
20}
21
22@article{Kumaar_Real-time_Semantic_Segmentation_2021,
23 author = {Kumaar, Saumya and Lyu, Ye and Nex, Francesco and Yang, Michael Ying},
24 doi = {10.1016/j.isprsjprs.2021.06.006},
25 journal = {ISPRS Journal of Photogrammetry and Remote Sensing},
26 pages = {124--134},
27 title = {{Real-time Semantic Segmentation with Context Aggregation Network}},
28 url = {https://www.sciencedirect.com/science/article/pii/S0924271621001647},
29 volume = {178},
30 year = {2021}
31}
32
33@article{jocher2026ultralytics,
34 title={Ultralytics YOLO26: Unified Real-Time End-to-End Vision Models},
35 author={Jocher, Glenn and Qiu, Jing and Liu, Mengyu and Lyu, Shuai and Akyon, Fatih Cagatay and Kalfaoglu, Muhammet Esat},
36 journal={arXiv preprint arXiv:2606.03748},
37 year={2026}
38}
39
40@software{cabinet_uavid_benchmark,
41 author = {Kumaar, Saumya},
42 title = {CABiNet: Semantic Segmentation Benchmarking on UAVid (CABiNet vs. YOLO26)},
43 url = {https://github.com/dronefreak/CABiNet},
44 year = {2026}
45}