jbeomlee93 / AdvCAM

Anti-Adversarially Manipulated Attributions for Weakly and Semi-Supervised Semantic Segmentation (CVPR 2021)
MIT License
128 stars 16 forks source link

combine with seam #7

Closed lzyhha closed 3 years ago

lzyhha commented 3 years ago

Hello, thanks for your great work. I notice that you have combine the AdvCAM with SEAM in paper. Could you please teel me how ti combine them?

jbeomlee93 commented 3 years ago

Hi @lzyhha, I downloaded pre-trained model of SEAM at the official SEAM repository (https://github.com/YudeWang/SEAM), and applied adversarial climbing similar to obtain_CAM_masking.py.

We observed that the values of the optimal hyper-parameters differ according to the backbone network, especially $T$ and $\lambda$. SEAM and SC-CAM used Wide ResNet-38. I'm not sure, but I think $T$ was 8 and $\lambda$ was 2.

lzyhha commented 3 years ago

Thanks! Your reply is very helpful.

YeRen123455 commented 2 years ago

Hi @lzyhha ! I notice that you can reproduce the result of "adv_cam+SEAM" by yourself. Can you share the code with me? Thanks a lot!