Git Product home page Git Product logo

cvpr18_detect_globally_refine_locally's Introduction

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

[email protected]

cvpr18_detect_globally_refine_locally's People

Contributors

tiantianwang avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.