Giter Site home page Giter Site logo

4kdehazing's Introduction

4KDehazing

This is the PyTorch implementation for our CVPR'21 paper. The model can removal hazy, smoke or even water impurities.

The repository includes:

  1. Source code of our model.
  2. Training code for O-hazy dataset.
  3. Testing code for O-hazy dataset
  4. Pre-trained model for O-hazy dataset.

Setup: 依赖的库 torch, numpy, tqdm, torchvision, kornia, opencv-python

Training 将带雾训练数据集放在./hazy 文件夹下 对应的清晰数据集放在./gt文件夹下。 运行命令 python train.py。 训练过程可在./result文件夹下找到。 模型保存在./model文件夹下。

Test model 将需要测试的数据集放在./OHAZE_test文件下。 运行命令 python test_model.py。 测试结果可在./test_result文件夹下找到。

Requirements: Python 3.7 PyTorch 1.6.0 CUDA 10.0 Ubuntu 16.04

Dataset Link:https://pan.baidu.com/s/1sqJpxvt1-ONqcuG7RLTq0A Password:vodp

pre-model Link:https://pan.baidu.com/s/1UwDL8rzTVFYFDwOsU9TBlA Password:u5pk

4kdehazing's People

Contributors

zzr-idam 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.