The repository contains a alternative implementation of HDRNet (Deep Bilateral Learning for Real-Time Image Enhancement, SIGGRAPH 2017) in 2023.
python 3.8
pytorch 1.13.1
cuda 11.6
Since I needed to study the usability of HDRNet for my research, I developed an HDRNet-like network. To develop efficiency, I used 1 * 1 convolutional layers instead of pixel-wise network and applying coefficient calculations, two 4 * 4 deconvolutional layers were used instead of bilateral grid upsampling.
Fivek dataset image. Import it into the folder dataset/train.
Images with a resolution of more than 1024 * 1024 -> dataset/train/full -> crop/flip/rotate -> input-full
Align with the upper left corner of Full Img -> dataset/train/gt -> crop/flip/rotate -> input-gt
Each image will be randomly cropped, rotated, and flipped 5 times in an epoch
python3 train.py
epoch_xxx.tar
Crop the Fivek dataset image and import it into the folder dataset/test/img.
1024 * 1024 -> dataset/test/img
python3 test.py
1024 * 1024 -> dataset/test/output
Wu F.Y
Modify the graphics resolution and network size : network :: FullNet & LowNet
Modify the channal : train & train
@article{gharbi2017deep,
title={Deep bilateral learning for real-time image enhancement},
author={Gharbi, Micha{\"e}l and Chen, Jiawen and Barron, Jonathan T and Hasinoff, Samuel W and Durand, Fr{\'e}do},
journal={ACM Transactions on Graphics (TOG)},
volume={36},
number={4},
pages={118},
year={2017},
publisher={ACM}
}