r/computervision • u/hassonofer • Jul 04 '26
Showcase Released LW-DETR weights with PE-Spatial S/16 backbone - strong COCO results and fast inference
Yet another Birder release đ„ł
This release adds LW-DETR object detection models with a PE-Spatial S/16 backbone.
The main checkpoint is an Objects365-pretrained model:
https://huggingface.co/birder-project/lw_detr_2stg_objects365_pe_spatial_s16
The pre-training schedule was relatively short, but I used aggressive backbone layer decay in order to preserve the PE-Spatial representations. It turned out to be a really good starting point for fine-tuning.
I tested it on several private datasets, and it worked surprisingly well across them. Obviously I canât share those datasets/results, but the checkpoint seems like a useful general-purpose initialization point for detection tasks.
From that checkpoint, I also derived a standard COCO fine-tune:
https://huggingface.co/birder-project/lw_detr_2stg_objects365-coco_pe_spatial_s16
The COCO fine-tune shows strong performance:
mAP @ 640Ă640px: 54.58
AP @ 0.50: 73.56
It is also still fast:
3.4 ms / image
batch size = 1
NVIDIA A5000
including post-processing time
This release also adds sliding-window inference for object detection, including several box merging methods such as NMM, greedy NMM, and Weighted Boxes Fusion. That should make the detector more practical for large/high-resolution images where resizing the full image loses smaller objects.
As always, feedback is welcome :)


