utkarshmall13 / CACo

official code for CVPR 2023 paper 'Change-Aware Sampling and Contrastive Learning for Satellite Images'
MIT License
50 stars 7 forks source link

Setup for OSCD and compatibility to SeCo repository #4

Closed pvmilk closed 9 months ago

pvmilk commented 9 months ago

Nice work on the paper and thank you for making the source code/ pretrained model public.

I am trying to recreate the result on the paper on change detection. The paper mentioned that the model architecture of this work on OSCD data followed SeCo paper. I would like to know whether the pretrained models are compatible with the main_oscd.py on SeCo repository.

Thank you.

utkarshmall13 commented 9 months ago

Hi, yes the model should be compatible with the main_oscd.py. You can also check the models/checkpoints without the lightning wrapper here and refer to this notebook for model loading instructions. We did not make any changes to the inference and testing code of main_oscd.py. However since the training data is different between seco and CACo, we recommend using the retrained seco checkpoint for a fair comparison.

pvmilk commented 9 months ago

@utkarshmall13 Thanks for your reply.

I did try to use main_oscd.py with CACo pretrained weight (using the method provided in the notebook without pl wrapper). However, I cannot recreate the result (actually the result seems to be worse than seco; both from this paper and the original paper).

I would like to know a few configurations.