Giter Site home page Giter Site logo

lepf-net's Introduction

Preliminary Preparation

  1. Input images are put into dataset\haze, reference images are put into dataset\clear, UIEB test set images are put into dataset\test\UIEB, NYU-v2 test set images are put into dataset\test\UWCNN
  2. The input image and the test image are named uniformly as dataset name_image parent number_sub number_sub number, for example UIEB_123_1_1, and the reference image is named uniformly as dataset name_image number, for example UIEB_123, and the dataset name_image parent number of the input image and the reference image must correspond, and the same for the test image.
  3. Put the model (*.pth) into the snapshots folder
  4. Modify the path information in the tran.py
    1. UIEB results folder: config.gen_UIEB_dir
    2. NUYv2 results folder: config.gen_UWCNN_dir
    3. Input image map: config.hazy_images_path
    4. Reference image set: config.orig_images_path
    5. UIEB test set: config.test_UIEB_dir
    6. NUYv2 test set: config.test_UWCNN_dir
    7. Model storage folder: config.snapshots_folder
  5. Modify the path information in the test.py file
    1. Reference image set: real_file_path

    2. UIEB test set: UIEB_test_path

    3. NUYv2 test set: UWCNN_test_path

    4. UIEB results folder: UIEB_result_path

    5. NUYv2 results folder: UWCNN_result_path

    6. Model path: `modle_path

testing

python test.py

training

python train.py 

lepf-net's People

Contributors

cleanerwang avatar

Stargazers

Daniel Feijoo avatar  avatar  avatar Zinuo Li avatar Xiaoshen avatar  avatar  avatar Hailong Ning avatar  avatar

Watchers

 avatar

Forkers

wyjgr mxl696

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.