Code Monkey home page Code Monkey logo

contourgan's Introduction

ContourGAN

Tensorflow for ContourGAN: Image Contour Detection with Generative Adversarial Encoder-Decoder Networks

Introduction

In this paper, we developed an encoder-decoder convolutional framework to extract images contour and generative adversarial models are also intriduced to produce high-quality edge information. Since traditional contour detection methods directly upsampled feature maps to images scale and the computed intermediate related informations are ignored. In addition, most of image-to-image models only take the loss between predicted results and ground truth into consideration. Based on these observations, we utilze all computed feature maps in enoder stage. For the more, generative adversarial models were introduced to further improve detection performance.In conclusion, our proposed contour detection methods (ContourGAN) contains two stages: the first stage is an encoder-decoder model whose weights updated from a binary cross entropy loss (BCE), fine-tuning from VGG16. In the second stage, we introduce a discriminator network which employ the corresponding ground truth and predicted contour results as input to discriminate them. Our The experiments results achieve state-of-the-art performance on BSD500 datasets achieving ODS F-measure of 0.815, demonstrated that our proposed model based on adversarial and BCE loss extremely outperform others model.

Framework

alt tag

Results on BSDS500

alt tag

Prerequisites

Pretrained models

The pre-trained model for VGG16 is available here.

Trained model with BSDS500

The trained model for Contour results without GAN model is available here,pass word "5y6q". and evaluate resluts can be download them from here,pass word "jawr".

Acknowledgment

This code is based on HED and DCGAN . Thanks to the contributors of those.

@inproceedings{xie2015holistically,
  title={Holistically-nested edge detection},
  author={Xie, Saining and Tu, Zhuowen},
  booktitle={Proceedings of the IEEE International Conference on Computer Vision},
  pages={1395--1403},
  year={2015}
}
@InProceedings{xie15hed,
  author = {"Xie, Saining and Tu, Zhuowen"},
  Title = {Holistically-Nested Edge Detection},
  Booktitle = "Proceedings of IEEE International Conference on Computer Vision",
  Year  = {2015},
}

contourgan's People

Contributors

ylf-li avatar

Watchers

 avatar  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.