conda create -n HDRev python=3.7
conda activate HDRev
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
sudo apt install libopenexr-dev zlib1g-dev
conda install -c conda-forge openexr-python
pip install -r requirements.txtWe provide the testing code for both stacked voxel event data and text event data (t, x, y, p).
one of the dataset example are shown in datasets/synthetic.
python test.py --dataroot datasets/syntheticone of the dataset example are shown in datasets/real.
python test.py --dataroot datasets/real/ --test_on_txtPlease ensure the pretraining path is correctly set in the model files before starting training.
python train.py --model E2IRecurrent --dataroot PATH_TO_DATApython train.py --model L2LRecurrent --dataroot PATH_TO_DATApython train.py --model SEL2HDR_UnetRecurrent --dataroot PATH_TO_DATAif you have any question, please send an email to yangyixin93@pku.edu.cn