Code Monkey home page Code Monkey logo

deng-ai-lab's Introduction

[Boosting Supervised Dehazing Methods via Bi-level Patch Reweighting] (ECCV 2022)

Official implementation.


Dependencies and Installation

  • matplotlib==3.4.2
  • numpy==1.19.2
  • Pillow==8.4.0
  • scikit_image==0.17.2
  • skimage==0.0
  • torch==1.7.1
  • torchvision==0.8.2

Datasets Preparation

synthetic dataset -- RESIDE: ITS, OTS, SOTS Dataset website:RESIDE

real-world dataset -- O-HAZE and NH-HAZE Dataset website:O-HAZE NH-HAZE

Performance

Usage

Test

Here, we adopt FFANet and BILD for example and you can replace your own model with code/FFA/. Trained_models are available at trained_models/

Main function is at train.py. The train() function is for model training and the test() function is for model testing. Before training or testing, make sure the file path corresponds to yours.

Performance on out_of_distribution dataset

deng-ai-lab's People

Contributors

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