Giter Club home page Giter Club logo

self-shadowgan's Introduction

[Self-ShadowGAN] Learning to Remove Shadows from a Single Image

This is the PyTorch implementation of the paper "Learning to Remove Shadows from a Single Image" published on International Journal of Computer Vision (IJCV).

Requirements

We training our model using

  • python 3.7 (or newer version)
  • pytorch 1.4 (or newer version)

Training & Inference

We put several examples (shadow image/mask) in ./images folder. You can use following code to run our method and get shadow removal result in ./output folder:

python main.py --gpu gpu_idx --idx image_idx (e.g. python main.py --gpu 0 --idx 1)

Or, you can put your own shadow images/masks into ./images folder and modified thier names.

Notes

  • If you use the code, please cite our paper.
@article{jiang2023learning,
  title={Learning to Remove Shadows from a Single Image},
  author={Jiang, Hao and Zhang, Qing and Nie, Yongwei and Zhu, Lei and Zheng, Wei-Shi},
  journal={International Journal of Computer Vision},
  volume={131},
  number={9},
  pages={2471--2488},
  year={2023},
  publisher={Springer}
}

self-shadowgan's People

Contributors

rewindl avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

self-shadowgan's Issues

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.