Based on https://github.com/Lavender105/DFF
python preprocess/preproc_original.py
CUDA_VISIBLE_DEVICES=0,1 python scripts/train.py --checkname dff_test --base-size 640 --crop-size 640 --worker 4 --batch-size 2
CUDA_VISIBLE_DEVICES=0,1 python scripts/test.py --dataset cityscapes --model dff --checkname trained_dff --resume-dir results/model_best.pth.tar --workers 4 --backbone resnet50 --eval
For visualization:
CUDA_VISIBLE_DEVICES=0,1 python scripts/test.py --dataset cityscapes --model dff --checkname trained_dff --resume-dir results/model_best.pth.tar --workers 4 --backbone resnet50
Currently, MATLAB is necessary to run the evaluation code.