Code for paper in CVPR2019, 'Attentive Feedback Network for Boundary-aware Salient Object Detection', Mengyang Feng, Huchuan Lu and Errui Ding. [google drive] [baidu yun]
Contact: Mengyang Feng, Email: mengyang_feng@mail.dlut.edu.cn
Abstract Recent deep learning based salient object detection methods achieve gratifying performance built upon Fully Convolutional Neural Networks (FCNs). However, most of them have suffered from the boundary challenge. The state-of-the-art methods employ feature aggregation technique and can precisely find out wherein the salient object, but they often fail to segment out the entire object with fine boundaries, especially those raised narrow stripes. So there is still a large room for improvement over the FCN based models. In this paper, we design the Attentive Feedback Modules (AFMs) to better explore the structure of objects. A Boundary-Enhanced Loss (BEL) is further employed for learning exquisite boundaries. Our proposed deep model produces satisfying results on the object boundaries and achieves state-of-the-art performance on five widely tested salient object detection benchmarks. The network is in a fully convolutional fashion running at a speed of 26 FPS and does not need any post-processing.
pre-computed saliency maps [google drive] [baidu yun] (Fetch Code: jjhs)
- Clone this repo into your computer
git clone https://github.com/ArcherFMY/AFNet.git
- Cd to
AFNet/caffe
, follow the official instructions to build caffe. We provide our make filemy-Makefile.config
in folderAFNet/caffe
.
The code has been tested successfully on Ubuntu 14.04 with CUDA 8.0 and OpenCV 3.1.0
- Make
caffe
&matcaffe
make all -j
make matcaffe -j
-
Download pretrained caffemodel from [google drive] or [baidu yun] (Fetch Code: sifm) and extract the .zip file under the root directory
AFNet/
. -
Put the test image in
AFNet/test-Image/
and runtest_AFNet.m
to get the saliency maps. The results will be saved inAFNet/results/AFNet/
The scores are computed using this evaluation tool box
@InProceedings{Feng_2019_CVPR,
author = {Feng, Mengyang and Lu, Huchuan and Ding, Errui},
title = {Attentive Feedback Network for Boundary-aware Salient Object Detection},
booktitle = CVPR,
year = {2019}
}