TiantianWang / CVPR18_detect_globally_refine_locally

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect Globally, Refine Locally: A Novel Approach to Saliency Detection (DGRL)

This package has the source code for the paper "Detect Globally, Refine Locally: A Novel Approach to Saliency Detection" (CVPR18).

Paper link

How to use

Train

  • For Global Localizaiton Network (GLN), using the code in ./stage1/train/ for training. The example images are given in ./stage1/train/data/. Download the initialized model from Baidu drive or Google drive.
  • For Boundary Refinement Network (BRN), using the code in ./stage2/train/ for training. After finishing the training process of the GLN, then run the code in ./stage1/test/test.m to generate saliency maps of GLN. The examples images are given in ./stage2/train/data/. Each image in the training set, including the saliency map generated by the GLN, the original RGB image, the ground truth, should be resize to 480 * 480 by the 'nearest' method. Using the code in ./stage2/train/init/generate_train.m to generate the initialization model.

Test

  • Download our trained model from Baidu drive or Google drive.
  • Run ./stage1/test/test.m to generate saliency maps of Global Localizaiton Network (GLN).
  • Run ./stage2/test/test.m to generate saliency maps of Boundary Refinement Network (BRN). The saliency maps of GLN will serve as the input of BRN.

Download

The saliency maps on 10 datasets including ECSSD, PASCAL-S, SOD, SED1, SED2, MSRA, DUT-OMRON, THUR15K, HKU-IS and DUTS can be found in the following links.

GLN: Baidu drive or Google drive.

BRN: Baidu drive or Google drive.

Cite this work

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

 @inproceedings{wang2018detect,
   title={Detect Globally, Refine Locally: A Novel Approach to Saliency Detection},
   author={Wang, Tiantian and Zhang, Lihe and Wang, Shuo and Lu, Huchuan and Yang, Gang and Ruan, Xiang and Borji, Ali},
   booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
   pages={3127--3135},
   year={2018}
 }

Contact

tiantianwang.ice@gmail.com

About


Languages

Language:Jupyter Notebook 37.8%Language:C++ 34.5%Language:Makefile 18.3%Language:Python 3.3%Language:Cuda 2.8%Language:MATLAB 1.6%Language:CMake 1.1%Language:Shell 0.2%Language:CSS 0.1%Language:HTML 0.1%Language:C 0.1%Language:Limbo 0.0%Language:M 0.0%