AABO
Implementation for ECCV 2020 paper: AABO: Adaptive Anchor Box Optimization for Object Detection via Bayesian Sub-sampling.
Install / Use
/learn @wwdkl/AABOREADME
AABO: Adaptive Anchor Box Optimization for Object Detection via Bayesian Sub-sampling
Introduction
Code for ECCV 2020 paper: AABO: Adaptive Anchor Box Optimization for Object Detection via Bayesian Sub-sampling (paper).
In AABO, we propose an adaptive anchor box optimization method for object detection via Bayesian sub-sampling, where optimal anchor configurations for a certain dataset and detector are determined automatically without manually adjustment.
Experiments demonstrate the effectiveness of AABO on different detectors and datasets, e.g. achieving around 2.4% mAP improvement on COCO, and the optimal anchors can bring 1.4% to 2.4% mAP improvement on SOTA detectors by only optimizing anchor configurations, e.g. boost Mask RCNN from 40.3% to 42.3%, and boost HTC detector from 46.8% to 48.2%.
Implementation
The implementation is based on the open source detection toolbox MMDetection.
-
Please replace the original files in MMDetection with our new files:
AABO/__init__.py--->mmdetection/mmdet/models/anchor_heads/__init__.pyAABO/anchor_generator.py--->mmdetection/mmdet/core/anchor/anchor_generator.pyAABO/anchor_head.py--->mmdetection/mmdet/models/anchor_heads/anchor_head.py
-
Please add these files to the corresponding directories:
-
Add
AABO/aabo_rpn_head.pytommdetection/mmdet/models/anchor_heads/ -
Add
AABO/aabo_mask_rcnn_r101_fpn_2x.pytommdetection/configs/ -
Add
AABO/aabo_htc_dcov_x101_64x4d_fpn_24e.pytommdetection/configs/
-
Note there are two example configuration files: aabo_mask_rcnn_r101_fpn_2x.py and aabo_htc_dcov_x101_64x4d_fpn_24e.py. Using these two configuration files, the optimized anchor settings searched by AABO could boost the performance of Mask RCNN and HTC.
If you would like to test the performance of these optimized anchor settings on other detectors, just replace the default anchors with the optimized anchors recorded in these two files. In our paper, we have conducted experiments on different advanced anchor-based detectors and observed consistent performance improvements.
We have tested the code with Pytorch 1.1 and MMdetection v1.0rc1.
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
