Code Monkey home page Code Monkey logo

weatherstream's Introduction

WeatherStream: Light Transport Automation of Single Image Deweathering (CVPR'23)

Howard Zhang1*, Yunhao Ba1*, Ethan Yang1, Varan Mehra1, Blake Gella1, Akira Suzuki1, Arnold Pfahnl1, Chethan Chinder Chandrappa1, Alex Wong2, Achuta Kadambi1

University of California, Los Angeles1, Yale University2

Project Webpage

https://visual.ee.ucla.edu/wstream.htm/

Abstract

Today single image deweathering is arguably more sensitive to the dataset type, rather than the model. We introduce WeatherStream, an automatic pipeline capturing all real-world weather effects (rain, snow, and rain fog degradations), along with their clean image pairs. Previous state-of-the-art methods that have attempted the all-weather removal task train on synthetic pairs, and are thus limited by the Sim2Real domain gap. Recent work has attempted to manually collect time multiplexed pairs, but the use of human labor limits the scale of such a dataset. We introduce a pipeline that uses the power of light-transport physics and a model trained on a small, initial seed dataset to reject approximately 99.6% of unwanted scenes. The pipeline is able to generalize to new scenes and degradations that can, in turn, be used to train existing models just like fully human-labeled data. Training on a dataset collected through this procedure leads to significant improvements on multiple existing weather removal methods on a carefully human-collected test set of real-world weather effects.

Citation

@inproceedings{zhang2023weatherstream,
  title={WeatherStream: Light Transport Automation of Single Image Deweathering},
  author={Zhang, Howard and Ba, Yunhao and Yang, Ethan and Mehra, Varan and Gella, Blake and Suzuki, Akira and Pfahnl, Arnold and Chandrappa, Chethan Chinder and Wong, Alex and Kadambi, Achuta},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year={2023}
}

Dataset

The dataset can be found here.

Model

Initial seed model uses GT-RAIN here.

Requirements

All code was tested on Google Colab with the following:

  • Ubuntu 18.04.6
  • CUDA 11.2
  • Python 3.7.13
  • OpenCV-Python 4.6.0
  • PyTorch 1.12.1
  • scikit-image 0.18.3

Setup

Download initial seed model from link above. Set the model and pipeline parameters. Set the folder name in the main pipeline loop. Make sure directory structure follows code comment.

Disclaimer

Please only use the code and dataset for research purposes.

Contact

Yunhao Ba
UCLA, Electrical and Computer Engineering Department
[email protected]

Howard Zhang
UCLA, Electrical and Computer Engineering Department
[email protected]

weatherstream's People

Contributors

howardzhang-cv avatar

Stargazers

 avatar  avatar Jason Li avatar  avatar  avatar  avatar  avatar

Watchers

Kostas Georgiou avatar

weatherstream's Issues

Trained models

Thanks for the excellent work!
I want to know if the trained models on WeatherStream, TransWeather, Restormer, and Uformer, are available.
Thanks!

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.