This repository is a participation code for the Image Shadow Removal Challenge of the NTIRE 2023 challenges.
datasets were distributed to those who participated in the competition. Competition page
- Python>=3.7
pip install -r requirements.txt
datasets
└── official
└── test_final
└── input
├── 0000.png
├── 0001.png
├── ...
└── 0099.png
Place the files in the 'weights' directory as follows:
weights/shadow_former+.pth
python inference.py \
--weights weights/shadow_former+.pth \
--result_dir results/shadow_former+ \
--joint_learning_alpha 1 \
--gpus 0
The results will be output to results/shadow_former+.
For the training preprocesing, our proposed method uses SASMA.
The code for SASMA is SASMA.ipynb. For more information on SASMA, see the Citation section.