open-cd
open-cd copied to clipboard
Run open-CD on a single image pair
Right now, when I run open-cd, it generates change maps on the whole test image pairs located in data\LEVIR-CD\test
:
python3 tools/test.py configs/changer/changer_ex_r18_512x512_40k_levircd.py changer_r18_levir_workdir/ChangerEx_r18-512x512_40k_levircd_20221223_120511.pth --show-dir tmp_infer
How can I test in just on a single given image pair? Basically I want to compare 2 input images, i1 and i2.