Amir Claude Sonnet 5.5 commited on
Commit ·
b015502
1
Parent(s): 247a2c3
Add YOLO11n reference detector checkpoint (seed 42)
Browse filesTraining checkpoint, per-epoch results and run record. No thresholds, ONNX or test
results yet (produced on the Jetson). README documents the missing RS fire boxes in
the released training labels.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Files changed (7)
30 unmodified lines31323334353637383930 unmodified linesbest.pt mobilenet_v3_large_seed42.onnx mobilenet_v3_large_seed42.onnx.manifest.json history.json README.mdresnet50/seed42/ ResNet-50 (23.5M params), 90 MB each, test macro acc 0.9014best.pt resnet50_seed42.onnx resnet50_seed42.onnx.manifest.json history.json README.md```See `baselines/<model>/seed42/README.md` (MobileNetV3-Large, ResNet-50) for preprocessing, the ONNX interface, test results and loading code.## Loading (project repo `firecls`)30 unmodified lines313233343536373839404130 unmodified linesbest.pt mobilenet_v3_large_seed42.onnx mobilenet_v3_large_seed42.onnx.manifest.json history.json README.mdresnet50/seed42/ ResNet-50 (23.5M params), 90 MB each, test macro acc 0.9014best.pt resnet50_seed42.onnx resnet50_seed42.onnx.manifest.json history.json README.mdyolo11n/seed42/ YOLO11n detector (2.6M params), 5 MB, training checkpoint only, val mAP50-95 0.509best.pt results.csv train_summary.json args.yaml README.md```See `baselines/<model>/seed42/README.md` (MobileNetV3-Large, ResNet-50, YOLO11n) for preprocessing, the ONNX interface, test results and loading code.## Loading (project repo `firecls`)
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970# YOLO11n reference detector (seed 42), training checkpoint
One-stage detector baseline (Ultralytics YOLO11n, COCO-initialised) trained under the same budget as the otherbaselines: FASDD CV + RS + UAV `train` splits, 20 epochs, batch 16, seed 42. It detects two object classes(`fire` = 0, `smoke` = 1); the four-way image-level labels (`fire`, `smoke`, `both`, `neither`) are derived from itsdetections by a decision rule (see below).
**Status: training checkpoint only.** No image-level thresholds, ONNX export, test results or speed numbers areincluded here; those are produced on the Jetson and published on the `results` branch of the project repo.
| File | What it is ||---|---|| `best.pt` | Ultralytics checkpoint (optimizer state stripped), 5.4 MB, epoch 20 of 20 || `results.csv` | per-epoch training losses and validation precision / recall / mAP || `train_summary.json` | run record: hashes, resolved optimizer, training arguments, environment || `args.yaml` | the full Ultralytics training arguments |
## Model
- Ultralytics `yolo11n`, initialised from the official MS COCO checkpoint (`yolo11n.pt`, SHA-256 `0ebbc80d4a7680d14987a577cd21342b65ecfd94632bd9a8da63ae6417644ee1`); the 80-class head is replaced by a 2-class head.- 2,590,230 parameters (training graph, before Conv+BN fusion).- Input 640x640 letterbox (grey padding 114, RGB scaled to [0, 1], no mean/std).
## Training
- Data: FASDD CV + RS + UAV `train` splits (61,323 images), splits from the project's `data_index/*.csv`; boxes from the FASDD YOLO label files.- Ultralytics 8.4.164 defaults except the protocol budget: SGD (lr0 0.01, momentum 0.9, weight decay 5e-4), 3 warm-up epochs, linear decay to lrf 0.01, mosaic 1.0 (off for the last 10 epochs), AMP, EMA, deterministic, 20 epochs, batch 16.- The saved checkpoint is Ultralytics' own best fitness on the combined validation set (mAP50-95), which is epoch 20. This is not the protocol's equal-weight mean validation accuracy used for the classifiers.
## Validation (combined CV + RS + UAV validation set, epoch 20)
| precision | recall | mAP50 | mAP50-95 ||---|---|---|---|| 0.779 | 0.683 | 0.773 | 0.509 |
CV images are about 78% of the validation images, so these numbers mostly reflect CV. Per-domain test metrics are notincluded.
## Image-level decision rule (used for the thesis comparison)
For each image, `p_fire` and `p_smoke` are the highest fire and smoke confidences over all anchors (before NMS). Twothresholds calibrated on the validation split map them to the four classes. The thresholds are not part of this upload.Without them the project loader falls back to 0.5 / 0.5 and records that they are uncalibrated.
## Known issue: no RS fire boxes in the training data
The FASDD remote-sensing box files used for training (`COCO_RS_RGB` and `YOLO_RS_RGB`) contain 2,770 smoke boxes and**no fire boxes**, whereas the full annotation `FASDD_RS_RGB_TDML.json` has 3,549 fire and 2,770 smoke boxes. In theRS split, 1,132 of the 2,223 images (51%) therefore have a smoke box only in the training labels but are `both` in theproject's image-level labels, which are derived from the TDML file. In the images inspected, the TDML fire boxes sit atthe base of the smoke plumes. CV and UAV box files agree with the image-level labels on every image. The model wastrained on the released box files as they are, so it has seen no RS fire examples. Expect it to under-detect fire in RSimages and score lower on RS against the image-level labels. RS is 1.8% of the training images.
## Loading
```pythonfrom ultralytics import YOLO
model = YOLO("best.pt") # names: {0: 'fire', 1: 'smoke'}results = model.predict("image.jpg", imgsz=640, conf=0.001)```
## Integrity
SHA-256: `best.pt` cc3382210558e2d9c4e96e2a95a6d180d2af733d4e550ce61edd888e25f86436. Also listed in the repo `manifest.json`.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114task: detectmode: trainmodel: D:\Thesis-Project\TUBITAK-1002\third_party\weights\yolo11n.ptdata: D:\Thesis-Project\TUBITAK-1002\datasets_yolo\fasdd_all.yamlepochs: 20time: nullpatience: 100batch: 16imgsz: 640save: truesave_period: -1cache: falsedevice: '0'workers: 8project: D:\Thesis-Project\TUBITAK-1002\outputs\baselines\yolo\yolo11n_coconame: seed42exist_ok: truepretrained: truecls_remap: trueoptimizer: SGDverbose: trueseed: 42deterministic: truesingle_cls: falserect: falsecos_lr: falseclose_mosaic: 10resume: falseamp: truefraction: 1.0profile: falsefreeze: nullmulti_scale: 0.0compile: falsechannels_last: nulloverlap_mask: truemask_ratio: 4dropout: 0.0val: truesplit: valsave_json: falseconf: nulliou: 0.7max_det: 300quantize: nulldnn: falseplots: truenms: nullsource: nullvid_stride: 1stream_buffer: falsevisualize: falseaugment: falseagnostic_nms: falseclasses: nullretina_masks: falseembed: nullshow: falsesave_frames: falsesave_txt: falsesave_conf: falsesave_crop: falseshow_labels: trueshow_conf: trueshow_boxes: trueline_width: nullformat: torchscriptoptimize: falsedynamic: falsesimplify: trueopset: nullworkspace: nulllr0: 0.01lrf: 0.01momentum: 0.9weight_decay: 0.0005warmup_epochs: 3.0warmup_momentum: 0.8warmup_bias_lr: 0.1distill_model: nulldis: 6.0box: 7.5cls: 0.5cls_pw: 0.0dfl: 1.5pose: 12.0kobj: 1.0rle: 1.0angle: 1.0dlog: 1.0dgrad: 0.5dlam: 1.0nbs: 64hsv_h: 0.015hsv_s: 0.7hsv_v: 0.4degrees: 0.0translate: 0.1scale: 0.5shear: 0.0perspective: 0.0flipud: 0.0fliplr: 0.5bgr: 0.0mosaic: 1.0mixup: 0.0cutmix: 0.0copy_paste: 0.0copy_paste_mode: flipauto_augment: randaugmenterasing: 0.4cfg: nulltracker: tracktrack.yamlsave_dir: D:\Thesis-Project\TUBITAK-1002\outputs\baselines\yolo\yolo11n_coco\seed42123version https://git-lfs.github.com/spec/v1oid sha256:cc3382210558e2d9c4e96e2a95a6d180d2af733d4e550ce61edd888e25f86436size 5431898123456789101112131415161718192021epoch,time,train/box_loss,train/cls_loss,train/dfl_loss,metrics/precision(B),metrics/recall(B),metrics/mAP50(B),metrics/mAP50-95(B),val/box_loss,val/cls_loss,val/dfl_loss,lr/pg0,lr/pg1,lr/pg21,2226.38,1.45427,1.96987,1.44893,0.61819,0.50877,0.55215,0.30554,1.50433,2.01472,1.39234,0.00333246,0.00333246,0.07000782,5221.26,1.43646,1.57945,1.41788,0.65303,0.54523,0.60129,0.34556,1.43497,1.91634,1.37103,0.00633584,0.00633584,0.03967793,8340.85,1.45734,1.5592,1.43838,0.66697,0.57,0.63331,0.3687,1.40698,2.02137,1.3685,0.00900922,0.00900922,0.009017914,11451.9,1.43836,1.50589,1.42767,0.69251,0.59132,0.65797,0.39762,1.35315,1.72028,1.33655,0.008515,0.008515,0.0085155,14420.6,1.38698,1.41183,1.39258,0.71257,0.61736,0.6894,0.42275,1.31235,1.67088,1.30592,0.00802,0.00802,0.008026,17534.3,1.35488,1.35406,1.36858,0.72657,0.62684,0.70404,0.43939,1.28414,1.47011,1.2798,0.007525,0.007525,0.0075257,20625.5,1.32641,1.31053,1.34781,0.73569,0.63938,0.71895,0.45472,1.2607,1.39596,1.26083,0.00703,0.00703,0.007038,23585.3,1.30323,1.27116,1.33408,0.74044,0.65229,0.73129,0.46481,1.24009,1.42082,1.24619,0.006535,0.006535,0.0065359,26610.7,1.28425,1.24268,1.32283,0.74997,0.65717,0.74004,0.47266,1.23067,1.33373,1.23849,0.00604,0.00604,0.0060410,29875.7,1.26579,1.21345,1.3093,0.7544,0.66599,0.74627,0.47932,1.217,1.30509,1.22749,0.005545,0.005545,0.00554511,33258.8,1.33693,1.23153,1.35704,0.76207,0.664,0.74924,0.4842,1.20867,1.29593,1.22269,0.00505,0.00505,0.0050512,36341.8,1.31364,1.19725,1.34229,0.76479,0.66734,0.75337,0.48899,1.20071,1.28573,1.21807,0.004555,0.004555,0.00455513,39407.2,1.29423,1.16229,1.32635,0.76812,0.66948,0.75691,0.49341,1.19261,1.26033,1.21212,0.00406,0.00406,0.0040614,42455.1,1.27812,1.13101,1.31472,0.7711,0.67203,0.76014,0.49702,1.18776,1.26295,1.20828,0.003565,0.003565,0.00356515,45566.7,1.25862,1.10497,1.29873,0.77344,0.67243,0.7629,0.49934,1.18245,1.25347,1.20383,0.00307,0.00307,0.0030716,48460.6,1.23726,1.07263,1.2841,0.77578,0.67494,0.76563,0.50196,1.17778,1.24119,1.20051,0.002575,0.002575,0.00257517,51493.7,1.2221,1.04487,1.27237,0.77686,0.67713,0.76795,0.50403,1.17496,1.22838,1.19763,0.00208,0.00208,0.0020818,54598.3,1.20261,1.02158,1.25991,0.77802,0.67883,0.76957,0.50604,1.17232,1.21412,1.19489,0.001585,0.001585,0.00158519,57676.4,1.18533,0.9897,1.24607,0.77878,0.68103,0.77129,0.50766,1.17025,1.20252,1.19259,0.00109,0.00109,0.0010920,60717.5,1.1657,0.96621,1.23321,0.77851,0.68325,0.77292,0.5091,1.16828,1.19225,1.1903,0.000595,0.000595,0.000595123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135{ "arch": "yolo11n", "init": "coco", "seed": 42, "initial_model": "D:\\Thesis-Project\\TUBITAK-1002\\third_party\\weights\\yolo11n.pt", "initial_weights_sha256": "0ebbc80d4a7680d14987a577cd21342b65ecfd94632bd9a8da63ae6417644ee1", "best_checkpoint": "D:\\Thesis-Project\\TUBITAK-1002\\outputs\\baselines\\yolo\\yolo11n_coco\\seed42\\weights\\best.pt", "best_checkpoint_sha256": "cc3382210558e2d9c4e96e2a95a6d180d2af733d4e550ce61edd888e25f86436", "best_fitness": 0.5091, "model_selection": "Ultralytics fitness on combined val (fasdd_all.yaml)", "resolved_optimizer": "SGD", "train_args": { "task": "detect", "mode": "train", "model": "D:\\Thesis-Project\\TUBITAK-1002\\third_party\\weights\\yolo11n.pt", "data": "D:\\Thesis-Project\\TUBITAK-1002\\datasets_yolo\\fasdd_all.yaml", "epochs": 20, "time": null, "patience": 100, "batch": 16, "imgsz": 640, "save": true, "save_period": -1, "cache": false, "device": "0", "workers": 8, "project": "D:\\Thesis-Project\\TUBITAK-1002\\outputs\\baselines\\yolo\\yolo11n_coco", "name": "seed42", "exist_ok": true, "pretrained": true, "cls_remap": true, "optimizer": "SGD", "verbose": true, "seed": 42, "deterministic": true, "single_cls": false, "rect": false, "cos_lr": false, "close_mosaic": 10, "resume": false, "amp": true, "fraction": 1.0, "profile": false, "freeze": null, "multi_scale": 0.0, "compile": false, "channels_last": null, "overlap_mask": true, "mask_ratio": 4, "dropout": 0.0, "val": true, "split": "val", "save_json": false, "conf": null, "iou": 0.7, "max_det": 300, "quantize": null, "dnn": false, "plots": true, "nms": null, "source": null, "vid_stride": 1, "stream_buffer": false, "visualize": false, "augment": false, "agnostic_nms": false, "classes": null, "retina_masks": false, "embed": null, "show": false, "save_frames": false, "save_txt": false, "save_conf": false, "save_crop": false, "show_labels": true, "show_conf": true, "show_boxes": true, "line_width": null, "format": "torchscript", "optimize": false, "dynamic": false, "simplify": true, "opset": null, "workspace": null, "lr0": 0.01, "lrf": 0.01, "momentum": 0.9, "weight_decay": 0.0005, "warmup_epochs": 3.0, "warmup_momentum": 0.8, "warmup_bias_lr": 0.1, "distill_model": null, "dis": 6.0, "box": 7.5, "cls": 0.5, "cls_pw": 0.0, "dfl": 1.5, "pose": 12.0, "kobj": 1.0, "rle": 1.0, "angle": 1.0, "dlog": 1.0, "dgrad": 0.5, "dlam": 1.0, "nbs": 64, "hsv_h": 0.015, "hsv_s": 0.7, "hsv_v": 0.4, "degrees": 0.0, "translate": 0.1, "scale": 0.5, "shear": 0.0, "perspective": 0.0, "flipud": 0.0, "fliplr": 0.5, "bgr": 0.0, "mosaic": 1.0, "mixup": 0.0, "cutmix": 0.0, "copy_paste": 0.0, "copy_paste_mode": "flip", "auto_augment": "randaugment", "erasing": 0.4, "cfg": null, "tracker": "tracktrack.yaml", "save_dir": "D:\\Thesis-Project\\TUBITAK-1002\\outputs\\baselines\\yolo\\yolo11n_coco\\seed42" }, "environment": { "ultralytics": "8.4.164", "torch": "2.14.1+cu130", "python": "3.10.20", "device": "NVIDIA GeForce RTX 3070" }, "finished_utc": "2026-10-22T04:24:39.304498+00:00"}187 unmodified lines188189190191192187 unmodified lines"dropped_keys": [],"size_mb": 90,"sha256": "bac34c69f0575b5ead298353e1fca26fac09d63130a365709fad0e472144748c"}]187 unmodified lines188189190191192193194195196197198199200201202203204205206207208209210187 unmodified lines"dropped_keys": [],"size_mb": 90,"sha256": "bac34c69f0575b5ead298353e1fca26fac09d63130a365709fad0e472144748c"},{"path": "baselines/yolo11n/seed42/best.pt","group": "baseline","description": "YOLO11n (Ultralytics, COCO init) reference detector, seed 42, training checkpoint (no ONNX, thresholds or test results yet)","model_name": "ultralytics/yolo11n","epoch_saved": 20,"classes": ["fire","smoke"],"score": 0.5091,"score_meaning": "val mAP50-95 on combined CV+RS+UAV validation set (detector classes fire, smoke)","dropped_keys": ["optimizer"],"size_mb": 5,"sha256": "cc3382210558e2d9c4e96e2a95a6d180d2af733d4e550ce61edd888e25f86436"}]
README.md+3-1
baselines/yolo11n/seed42/README.mdAdded+70
baselines/yolo11n/seed42/args.yamlAdded+114
baselines/yolo11n/seed42/best.ptAdded+3
baselines/yolo11n/seed42/results.csvAdded+21
baselines/yolo11n/seed42/train_summary.jsonAdded+135
manifest.json+18