Entropy-SDE | Paper
Equipping Diffusion Models with Differentiable Spatial Entropy for Low-Light Image Enhancement, CVPRW 2024.
- OS: Ubuntu 20.04
- nvidia :
- cuda: 11.7
- cudnn: 8.5.0
- python3
- pytorch >= 1.13.0
- Python packages:
pip install -r requirements.txt
The current config setting is for low-light enhancement but you can change the dataset path to adapt it for other tasks.
Run the training code:
cd codes/config/low-light
python train.py -opt=options/train/entropy-refusion.yml
Key code for the differentiable spatial entropy is the kde_utils.py.
Change the dataset and the pretrained model path in the option file.
cd codes/config/low-light
python test.py -opt=options/test/refusion.yml
Examples on the NTIRE challenge:
We also provide the pretrained models for the challenge, LOLv1, and LOLv2-real.
If our code helps your research or work, please consider citing our paper. The following are BibTeX references:
@article{lian2024equipping,
title={Equipping Diffusion Models with Differentiable Spatial Entropy for Low-Light Image Enhancement},
author={Lian, Wenyi and Lian, Wenjing and Luo, Ziwei},
journal={arXiv preprint arXiv:2404.09735},
year={2024}
}
Thanks for your interest! If you have questions please contect: [email protected]