Paper: Mr. DETR: Instructive Multi-Route Training for Detection Transformers Project Page: Code:
Source du modèle
Sources
1 sourceVérifié 16 sept.
Artefacts du modèle
28 artefactsExtraits de sources
2 extraitsPaper: Mr. DETR: Instructive Multi-Route Training for Detection Transformers
Project Page: https://visual-ai.github.io/mrdetr
Code: https://github.com/Visual-AI/Mr.DETR
Existing methods enhance the training of detection transformers by incorporating an auxiliary one-to-many assignment. In this work, we treat the model as a multi-task framework, simultaneously performing one-to-one and one-to-many predictions. We investigate the roles of each component in the transformer decoder across these two training targets, including self-attention, cross-attention, and feed-forward network. Our empirical results demonstrate that any independent component in the decoder can effectively learn both targets simultaneously, even when other components are shared. This finding leads us to propose a multi-route training mechanism, featuring a primary route for one-to-one prediction and two auxiliary training routes for one-to-many prediction. We enhance the training mechanism with a novel instructive self-attention that dynamically and flexibly guides object queries for one-to-many prediction. The auxiliary routes are removed during inference, ensuring no impact on model architecture or inference cost. We conduct extensive experiments on various baselines, achieving consistent improvements as shown in Figure 1.
Mr_DETR_pp_align_24ep.pth
pth · 427 MB · SHA-256 02ac71e5d460…4711 · Hugging Face
MrDETR_align_swinl_12ep_900q_objects365_processed.pth
pth · 862 MB · SHA-256 546757f213c9…7028 · Hugging Face
TéléchargerMrDETR_align_swinL_12ep_900q_safe.pth
pth · 863 MB · SHA-256 f16dec5e47ba…e26d · Hugging Face
TéléchargerMrDETR_deformable_r50_12ep_300q_insseg.pth
pth · 306 MB · SHA-256 8b98b855c3c5…17da · Hugging Face
TéléchargerMrDETR_deformable_r50_12ep_300q.pth
pth · 211 MB · SHA-256 91001a65633d…5fa9 · Hugging Face
TéléchargerMrDETR_deformable_r50_24ep_300q_insseg.pth
pth · 306 MB · SHA-256 98d911c55755…fc02 · Hugging Face
TéléchargerMrDETR_deformable_r50_24ep_900q.pth
pth · 211 MB · SHA-256 29d48497df67…40e6 · Hugging Face
TéléchargerMrDETR_deformbale_r50_12ep_900q.pth
pth · 211 MB · SHA-256 ebfe6bb5d3e4…4aa7 · Hugging Face
TéléchargerMrDETR_pp_align_swinL_12ep_900q.pth
pth · 1,02 GB · SHA-256 117aeec53b2a…fe11 · Hugging Face
Téléchargerupdate_mrdetr++_coco_12ep_dino_swinL.pth
pth · 1,04 GB · SHA-256 f75e8cece16d…6f53 · Hugging Face
Téléchargerupdate_mrdetr++_coco_12ep_dino.pth
pth · 415 MB · SHA-256 be1ef1b7c4d4…e19b · Hugging Face
Téléchargerupdate_mrdetr++_coco_12ep_maskdino.pth
pth · 540 MB · SHA-256 73308281d2c6…a177 · Hugging Face
Téléchargerupdate_mrdetr++_coco_24ep_dino.pth
pth · 415 MB · SHA-256 97095626f3c7…f566 · Hugging Face
Télécharger--- license: mit pipeline_tag: object-detection library_name: detectron2 --- # Mr. DETR: Instructive Multi-Route Training for Detection Transformers []() [](https://arxiv.org/abs/2412.10028) [](https://visual-ai.github.io/mrdetr/) [](https://paperswithcode.com/sota/object-detection-on-coco-2017-val?p=mr-detr-instructive-multi-route-training-for) **Paper:** [Mr. DETR: Instructive Multi-Route Training for Detection Transformers](https://huggingface.co/papers/2412.10028) **Project Page:** https://visual-ai.github.io/mrdetr **Code:** https://github.com/Visual-AI/Mr.DETR ## Abstract Existing methods enhance the training of detection transformers by incorporating an auxiliary one-to-many assignment. In this work, we treat the model as a multi-task framework, simultaneously performing one-to-one and one-to-many predictions. We investigate the roles of each component in the transformer decoder across these two training targets, including self-attention, cross-attention, and feed-forward network. Our empirical results demonstrate that any independent component in the decoder can effectively learn both targets simultaneously, even when other components are shared. This finding leads us to propose a multi-route training mechanism, featuring a primary route for one-to-one prediction and two auxiliary training routes for one-to-many prediction. We enhance the training mechanism with a novel instructive self-attention that dynamically and flexibly guides object queries for one-to-many prediction. The auxiliary routes are removed during inference, ensuring no impact on model architecture or inference cost. We conduct extensive experiments on various baselines, achieving consistent improvements as shown in Figure 1. ## Updates - [04/25] Mr. DETR supports Instance segmentation now. We release the code and pre-trained weights. - [03/25] We release the code and weights of Mr. DETR for object detection. You may find pre-trained weights at [Huggingface](https://huggingface.co/allencbzhang/Mr.DETR/tree/main). - [03/25] Mr. DETR is accepted b...
Source context: 0 downloads · 1 likes · Pipeline object-detection · Library detectron2 · Repo allencbzhang/Mr.DETR