Code Monkey home page Code Monkey logo

gcnet's Introduction

GCNet

Single Image Reflection Removal based on GAN with Gradient Constraint

Input real image Image generated by our method

The sample image is provided by SIR2 benchmark dataset.

Requirements

Python

  • Pytorch (torch & torchvision)
  • numpy
  • skimage
  • tqdm

Usage

Put input images into images/<your_dataset_name>/input/. Processed images are saved in images/<your_dataset_name>/output/.

If you have ground truth images, put them into images/<your_dataset_name>/gt/. PSNR and SSIM will be calculated. The file name of ground truth images should match with those of input images.

Run python3 demo.py --dataset_name=<your_dataset_name>.

Citation

Please cite this paper if you use this code.

@ARTICLE{abiko2019reflection,
author={R. {Abiko} and M. {Ikehara}},
journal={IEEE Access},
title={Single Image Reflection Removal Based on GAN With Gradient Constraint},
year={2019},
volume={7},
number={},
pages={148790-148799},
keywords={Generative adversarial networks;Training;Generators;Feature extraction;Correlation;Glass;Task analysis;Image restoration;deep learning;reflection removal;image separation;generative adversarial network},
doi={10.1109/ACCESS.2019.2947266},
ISSN={},
month={},}

For further information, please contact: {abiko, ikehara}@tkhm.elec.keio.ac.jp

gcnet's People

Contributors

ryo-abiko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gcnet's Issues

training code

could you please show me the training code and I want to train it with my own dataset

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.