Note: Since the dataset is quite large, we have uploaded three scenes to OneDrive currently: Bitsro, Pica and San_M.
If you are in China mainland, you can also access the dataset on Baidu Cloud Disk.
Tested on Windows + CUDA 11.3 + Pytorch 1.12.1
Install environment:
git clone https://github.com/riga2/NSRD.git
cd NSRD
conda create -n NSRD python=3.9
conda activate NSRD
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
pip install -r requirements.txt
The following training and testing take the Bistro scene (X4) as an example.
- Make a folder named "dataset", and then download the dataset and put it inside.
|--configs
|--dataset
|--Bistro
|--train
|---GT
|--0
|--1
...
|---X4
|--0
|--1
...
|---test
|---GT
...
|---X4
...
- Use the Anaconda Prompt to run the following commands to train. The trained model is stored in "experiment\Bistro_X4\model".
cd src
.\script\BistroX4_train.bat
- Run the following commands to perform super-resolution on the LR lighting components. The SR results are stored in "experiment\Bistro_X4\sr_results_x4".
cd src
.\test_script\BistroX4_test.bat
- Run the following commands to perform remodulation on the SR lighting components. The final results are stored in "experiment\Bistro_X4\final_results_x4".
cd src
python remodulation.py --exp_dir ../experiment/Bistro_X4 --gt_dir ../dataset/Bistro/test/GT
@inproceedings{li2024neural,
title={Neural Super-Resolution for Real-time Rendering with Radiance Demodulation},
author={Li, Jia and Chen, Ziling and Wu, Xiaolong and Wang, Lu and Wang, Beibei and Zhang, Lei},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
pages={4357--4367},
year={2024}
}