Code Monkey home page Code Monkey logo

dsrg-tensorflow's Introduction

Introduction

This is a project which just move the DSRG to tensorflow. The DSRG is referring to the approach for weakly-supervised semantic segmentation in the paper "Weakly-Supervised Semantic Segmentation Network with Deep Seeded Region Growing". And here, I just use the tensorflow to implement the approach with the help of the DSRG project.

Citing this repository

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

@inproceedings{kolesnikov2016seed,

​ title={Weakly-Supervised Semantic Segmentation Network with Deep Seeded Region Growing},

​ author={Huang, Zilong and Wang, Xinggang and Wang, Jiasi and Liu, Wenyu and Wang, Jingdong},

​ booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},

​ pages={7014--7023},

​ year={2018}

}

Preparation

for using this code, you have to do something else:

1. Install pydensecrf

For using the densecrf in python, we turn to the project pydensecrf. And you just using the following code to install it.

pip install pydensecrf

2. Download the data and model
  1. for pascal data, please referring to its official website and to the augmental SBD data. Just download it and extract it in the data/ .
  2. for localization_cues-cal.pickle, please referring to DSRG. And download it and extract it in the data/.
  3. for init.model, you can download it from googledriver or BaiduNetdisk. Just download it and put it in model/.

For more details, you can referring to the correspond code files or leave a message in the issue.

Training

then, you just input the following sentence to train it.

python DSRG.py <gpu_id>

Result

If you scale the input image with factors 0.5, 0.75 and 1.0, then use the max to merge the result. The final result is 0.567 in the validatation set while it is 0.574(without pretrain step) in the paper.

Trained model

google_driver BaiduNetdisk

Evaluation

I just release a project to provide the code for evaluation.

dsrg-tensorflow's People

Contributors

xtudbxk avatar

Watchers

 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.