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

Questions about SplitBatchNorm #118

Closed
sab148 opened this issue Apr 7, 2020 · 1 comment
Closed

Questions about SplitBatchNorm #118

sab148 opened this issue Apr 7, 2020 · 1 comment

Comments

@sab148
Copy link

sab148 commented Apr 7, 2020

I have some questions if you can answer me please,

  1. In the paper of AdvProp section 4.3 they said

For each clean mini-batch, we first attack the network using the auxiliary BNs to generate its adversarial counterpart;

Using your code do we have to generate by ourselves the adversarial examples by ading noise to the clean images ? Because it seems that in the paper adversarial examples are generated by the CNN.

  1. Also about the calculation of the loss function, it seems like you calculate only one loss for both clean and adversarial examples and not calculate one for each and sum up like in the paper. Is these two ways are equivalent ?

Thank you for your time

@rwightman
Copy link
Collaborator

going to answer in #68

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