CoDeNet: Efficient Deployment of Input-Adaptive Object Detection on Embedded FPGAs

Zhen Dong, Dequan Wang, Qijing Huang, Yizhao Gao, Yaohui Cai +4 more
6/12/2020
1 citation
cs.CVeess.IV

Official code: DequanWang/CoDeNet (24 stars, Python, last commit 2021-01-14). 1 more implementation below.

Abstract

Deploying deep learning models on embedded systems has been challenging due to limited computing resources. The majority of existing work focuses on accelerating image classification, while other fundamental vision problems, such as object detection, have not been adequately addressed.

Show full abstract

Compared with image classification, detection problems are more sensitive to the spatial variance of objects, and therefore, require specialized convolutions to aggregate spatial information. To address this need, recent work introduces dynamic deformable convolution to augment regular convolutions. However, this will lead to inefficient memory accesses of inputs with existing hardware. In this work, we harness the flexibility of FPGAs to develop a novel object detection pipeline with deformable convolutions. We show the speed-accuracy tradeoffs for a set of algorithm modifications including irregular-access versus limited-range and fixed-shape. We then Co-Design a Network CoDeNet with the modified deformable convolution and quantize it to 4-bit weights and 8-bit activations. With our high-efficiency implementation, our solution reaches 26.9 frames per second with a tiny model size of 0.76 MB while achieving 61.7 AP50 on the standard object detection dataset, Pascal VOC. With our higher accuracy implementation, our model gets to 67.1 AP50 on Pascal VOC with only 2.9 MB of parameters-20.9x smaller but 10% more accurate than Tiny-YOLO.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
DequanWang/CoDeNetOfficial24Python–2021-01-14
hqjenny/CoDeNetCommunity19TclBSD-2-Clause2021-03-17
DequanWang/CoDeNetOfficial100%

Algorithm-hardware Co-design for Deformable Convolution

243Python, CudaJun 9, 20205 years ago
hqjenny/CoDeNetCommunity100%
BSD-2-Clause
193Tcl, PythonDec 5, 20205 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{dong2020codenet,
  title  = {CoDeNet: Efficient Deployment of Input-Adaptive Object Detection on Embedded FPGAs},
  author = {Zhen Dong and Dequan Wang and Qijing Huang and Yizhao Gao and Yaohui Cai and Tian Li and Bichen Wu and Kurt Keutzer and John Wawrzynek},
  year   = {2020},
  eprint = {2006.08357},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.08357}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.08357.svg)](https://codeofpaper.com/paper/2006.08357)

Discussion