Hongsheng Li, Xiaogang Wang, Jifeng Dai, Peng Gao, Minghang Zheng
We lifted 2 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| gaopengcuhk/SMCA-DETR | — | 0 of 2 |
| Function | Status | Where it lives |
|---|---|---|
| GaussianMultiheadAttention | Not yet run | gaopengcuhk/SMCA-DETR/models/attention_layer.py pointer only (licence: NONE) · get_code("b835e9bb42f90e11") |
| multi_head_attention_forward | Not yet run | gaopengcuhk/SMCA-DETR/models/attention_layer.py pointer only (licence: NONE) · get_code("d72990eaed622d96") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
The recently proposed Detection Transformer (DETR) model successfully applies Transformer to objects detection and achieves comparable performance with two-stage object detection frameworks, such as Faster-RCNN. However, DETR suffers from its slow convergence. Training DETR [4] from scratch needs 500 epochs to achieve a high accuracy. To accelerate its convergence, we propose a simple yet effective scheme for improving the DETR framework, namely Spatially Modulated Co-Attention (SMCA) mechanism. The core idea of SMCA is to conduct locationaware co-attention in DETR by constraining co-attention responses to be high near initially estimated bounding box locations. Our proposed SMCA increases DETR's convergence speed by replacing the original co-attention mechanism in the decoder while keeping other operations in DETR unchanged. Furthermore, by integrating multi-head and scale-selection attention designs into SMCA, our fullyfledged SMCA can achieve better performance compared to DETR with a dilated convolution-based backbone (45.6 mAP at 108 epochs vs. 43.3 mAP at 500 epochs). We perform extensive ablation studies on COCO dataset to validate SMCA. Code is released at https://github. com/gaopengcuhk/SMCA-DETR.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2101.07448")
get_code_for_paper("2101.07448")
have("2101.07448")
Connect an agent — have() is free.