UHD-LOL
收藏资源简介:
UHD-LOL是南京大学软件新技术国家重点实验室创建的大规模超高清低光图像增强基准数据集,包含UHD-LOL4K和UHD-LOL8K两个子集,分别包含4K和8K分辨率的图像。UHD-LOL4K包含8099对图像,其中5999对用于训练,2100对用于测试;UHD-LOL8K包含2966对图像,其中2029对用于训练,937对用于测试。该数据集通过合成低光图像来模拟真实场景,旨在解决超高清图像在低光环境下的增强问题,为低光图像增强算法的研究和评估提供支持。
UHD-LOL is a large-scale ultra-high-definition low-light image enhancement benchmark dataset created by the State Key Laboratory for Novel Software Technology at Nanjing University. It consists of two subsets, UHD-LOL4K and UHD-LOL8K, which contain images with 4K and 8K resolutions respectively. UHD-LOL4K includes 8099 image pairs, among which 5999 pairs are used for training and 2100 pairs for testing. UHD-LOL8K contains 2966 image pairs, with 2029 pairs allocated for training and 937 pairs for testing. This dataset synthesizes low-light images to simulate real-world scenarios, aiming to address the enhancement problem of ultra-high-definition images in low-light environments and provide support for the research and evaluation of low-light image enhancement algorithms.
数据集概述
数据集名称
Ultra-High-Definition Low-Light Image Enhancement: A Benchmark and Transformer-Based Method (AAAI 2023 -- Oral)
数据集描述
该数据集用于超高清低光图像增强任务,包含两个子集:UHD-LOL4K 和 UHD-LOL8K。
UHD-LOL4K
- 包含 8,099 对 4K 低光/正常光图像。
- 其中 5,999 对用于训练,2,100 对用于测试。
UHD-LOL8K
- 包含 2,966 对 8K 低光/正常光图像。
- 其中 2,029 对用于训练,937 对用于测试。
数据集下载链接
- UHD-LOL4K: OneDrive | Baidu drive
- UHD-LOL8K: OneDrive | Baidu drive
预训练模型
- LLFormer 在 UHD-LOL4K 上训练的模型: Google drive | Baidu drive
- LLFormer 在 UHD-LOL8K 上训练的模型: Google drive | Baidu drive
使用方法
依赖安装
-
创建 Conda 环境 bash conda create -n LLFormer python=3.7 conda activate LLFormer conda install pytorch=1.8 torchvision=0.3 cudatoolkit=10.1 -c pytorch pip install matplotlib scikit-image opencv-python yacs joblib natsort h5py tqdm
-
克隆仓库 bash git clone https://github.com/TaoWangzj/LLFormer.git
-
安装 warmup scheduler bash cd LLFormer cd pytorch-gradual-warmup-lr; python setup.py install; cd ..
测试
- 修改数据集和预训练模型的路径 python
测试参数
input_dir # 数据路径 result_dir # 结果保存路径 weights # 预训练模型路径
-
测试 LOL 和 MIT-Adobe FiveK 数据集 bash python test.py --input_dir your_data_path --result_dir your_save_path --weights weight_path
-
测试 UHD-LOL 数据集 bash python test_UHD.py --input_dir your_data_path --result_dir your_save_path --weights weight_path
训练
-
下载 UHD-LOL 训练和测试数据
-
从 UHD-LOL 数据集的全分辨率训练图像生成图像块 bash python scripts/extract_subimages_UHD.py
-
训练 LLFormer bash python train.py -yml_path your_config_path
引用
如果 UHDLOL 基准和 LLFormer 对你的研究或工作有帮助,请考虑引用:
@inproceedings{wang2023ultra, title={Ultra-high-definition low-light image enhancement: A benchmark and transformer-based method}, author={Wang, Tao and Zhang, Kaihao and Shen, Tianrun and Luo, Wenhan and Stenger, Bjorn and Lu, Tong}, booktitle={Proceedings of the AAAI Conference on Artificial Intelligence}, volume={37}, number={3}, pages={2654--2662}, year={2023} }




