A repository for Low-Light Image Enhancement codes.
- install pixi (on linux)
curl -fsSL https://pixi.sh/install.sh | shPlease refer to https://pixi.sh/latest/installation/ for more information.
- clone the repo
git clone https://github.com/IgnorantCopy/LLIE.git
cd LLIE- install dependencies
pixi install --environment llie-gpuIf you do not have a gpu on your machine, please use
llie-cpuinstead ofllie-gpu.
The original links of the datasets are provided:
LOLv1,
LOLv2,
DICM, LIME, MEF, NPE, VV,
LOLBlur,
SICE (code: yixu),
SID (code: yixu),
EnlightenGAN dataset,
ZeroDCE dataset,
You can put the downloaded datasets in the same folder, and run the script to replace all the data root in config files:
export PYTHONPATH=$(pwd)
cd src/llie
pixi run --environment llie-gpu python replace_data_root.py --root /path/to/datarootpixi run --environment llie-gpu python train.py --config ./configs/method/config.yamlpixi run --environment llie-gpu python test.py --ckpt path/to/checkpoint.ckpt --config ./configs/test/config.yaml