Skip to content

Low-light image enhancement algorithm based on flow model

Notifications You must be signed in to change notification settings

huyin-NJUPT-IPR/MHFlow

Repository files navigation

Multiscale Hybrid Feature Guided Normalizing Flow for Low-light Image Enhancement

Introduction

Our proposed method multiscale hybrid feature guided normalizing flow (MHFlow) is a novel and powerful generative model for low-light image enhancement. MHFlow can be trained using only NLL loss based on the estimation of the distribution. Extensive experiments on representative datasets show the superior performance of our method compared with current SOTA methods

Datasets in our method

Training our method

Configuration

Modify the related parameters (paths, loss weights, training steps, and etc.) in the config yaml files

./conf/MHFlow.yml

Train MHFlow

python train.py --opt config path

Testing our method

Pre-trained Models

Please download our pre-trained models via the following links [Baiduyun (extracted code: og8u)] [Google Drive].

Run the testing code

You can test the model with paired data and obtain the evaluation metrics. You need to specify the data path dataroot_LR, dataroot_GT, and model path model_path in the config file. Then run

python test.py

Contact

If you have any questions, please feel free to contact the authors via hynjupt@gmail.com.

About

Low-light image enhancement algorithm based on flow model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages