Abstract
Transformer networks have excellent performance in various different vision tasks, especially object detection. However, in practical applications, Transformer is difficult to use on-board due to its large computational complexity. In this paper, we propose a new approach for reducing the computation of self-attention, which is called conv-attention. Different from the work of self-attention, conv-attention is inspired by NetVLAD and adopts the probability obtained by soft classification to replace the similarity calculation between query and key. Moreover, we combine the three convolution operations for computing the attention matrix in order to reduce the computational effort. Using the Swin Transformer as a comparison, experiments show that the parameters and FLOPs are reduced by 15% and 16%. Meanwhile, MAP is improved in vehicle object detection, including both FILR and Nuscenses datasets.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.