Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about Table 4. #8

Closed
hchoi71 opened this issue May 6, 2021 · 1 comment
Closed

Question about Table 4. #8

hchoi71 opened this issue May 6, 2021 · 1 comment

Comments

@hchoi71
Copy link

hchoi71 commented May 6, 2021

Thanks for sharing this great work!

Just wondering if you could also share the code that reproduces table 4, especially AdvCAM with SEAM.

I found the SEAM GitHub and I assume that your AdvCAM should be replaced with cam in SEAM code as shown in the below link
[https://github.com/YudeWang/SEAM/blob/c55601649c5fa676836d3ec70ec044541b7d1d83/network/resnet38_SEAM.py#L32]

Could you please guide me on how to merge your AdvCAM into the SEAM module?

Thanks

@jbeomlee93
Copy link
Owner

Hi @hchoi71,

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.

More specifically, adversarial climbing was done on logit, GAP(cam), before up-sampled and before PCM module.

We then accumulate our localization maps (in Equation 4) using CAM after PCM module.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants