Home

Awesome

Pelee: A Real-Time Object Detection System on Mobile Devices

This repository contains the code for the following paper.

Pelee: A Real-Time Object Detection System on Mobile Devices (NeurIPS 2018)

The code is based on the SSD framework.

Citation

If you find this work useful in your research, please consider citing:


@incollection{NIPS2018_7466,
title = {Pelee: A Real-Time Object Detection System on Mobile Devices},
author = {Wang, Robert J and Li, Xiang and Ling, Charles X},
booktitle = {Advances in Neural Information Processing Systems 31},
editor = {S. Bengio and H. Wallach and H. Larochelle and K. Grauman and N. Cesa-Bianchi and R. Garnett},
pages = {1967--1976},
year = {2018},
publisher = {Curran Associates, Inc.},
url = {http://papers.nips.cc/paper/7466-pelee-a-real-time-object-detection-system-on-mobile-devices.pdf}
}

Results on VOC 2007

The table below shows the results on PASCAL VOC 2007 test.

MethodmAP (%)FPS (Intel i7)FPS (NVIDIA TX2)FPS (iPhone 8)# parameters
YOLOv2-28869.01.0--58.0M
DSOD300_smallest73.61.3--5.9M
Tiny-YOLOv257.12.4-23.815.9M
SSD+MobileNet68.06.18222.85.8M
Pelee70.96.712523.65.4M
Method07+1207+12+coco
SSD30077.281.2
SSD+MobileNet6872.7
Pelee70.976.4

Results on COCO

The table below shows the results on COCO test-dev2015.

MethodmAP@[0.5:0.95]mAP@0.5mAP@0.75FPS (NVIDIA TX2)# parameters
SSD30025.143.125.8-34.30 M
YOLOv2-41621.644.019.232.267.43 M
YOLOv3-320-51.5-21.567.43 M
TinyYOLOv3-416-33.1-10512.3 M
SSD+MobileNet-30018.8--806.80 M
SSDLite+MobileNet V2-32022--616.80 M
Pelee-30422.438.322.91205.98 M

Preparation

  1. Install SSD (https://github.com/weiliu89/caffe/tree/ssd) following the instructions there, including: (1) Install SSD caffe; (2) Download PASCAL VOC 2007 and 2012 datasets; and (3) Create LMDB file. Make sure you can run it without any errors.

  2. Download the pretrained PeleeNet model. By default, we assume the model is stored in $CAFFE_ROOT/models/

  3. Clone this repository and create a soft link to $CAFFE_ROOT/examples

git clone https://github.com/Robert-JunWang/Pelee.git
ln -sf `pwd`/Pelee $CAFFE_ROOT/examples/pelee

Training & Testing

Models