The implementation and improvement of CVPR 2019 paper "Single Image Reflection Removal Exploiting Misaligned Training Data and Network Enhancements"
- Python >=3.5, PyTorch >= 0.4.1
- Requirements: opencv-python, tensorboardX, visdom
- Platforms: Ubuntu 16.04, cuda-8.0
ERRNet-reffolder contains the debugged original code of ERRNetERRNet-mydatafolder contains the code for training using our own synthetic data (Code for data generating is insync_modelfolder)ERRNet-TRfolder contains our newly proposed network: ERRNet-TR and the relating training and test codeERRNet-TR-litefolder contains our newly proposed network: ERRNet-TR-lite and the relating training and test codesync_modelfolder contains code for data generating and a data sample
- Running the following command after entering the corresponding folder
python test_errnet.py --name errnet -r --icnn_path checkpoints/errnet/ourmodel.pt --hyper --gpu_ids -1(gpu_ids=-1 means using CPU to test)
- Running the following command after entering the corresponding folder
python train_errnet.py --name errnet --hyper(Need to prepare the dataset in the folderreflection_databefore training) - Viewing
options/errnet/train_options.pyfor more training options