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

In fact, your SR is 99% only in the case of untargeted attack #1

Closed
Sunshine352 opened this issue Nov 23, 2018 · 4 comments
Closed

Comments

@Sunshine352
Copy link

Sunshine352 commented Nov 23, 2018

No description provided.

@Sunshine352 Sunshine352 changed the title In fact, your SR is 1%, not 99% and in the case of untargeted attack In fact, your SR is 99% only in the case of untargeted attack Nov 23, 2018
@mathcbc
Copy link
Owner

mathcbc commented Nov 23, 2018 via email

@Sunshine352
Copy link
Author

Oh, it's right. But you test SR in the case of targeted attack?

@Sunshine352
Copy link
Author

In addition, the line 'num_correct += torch.sum(pred_lab==test_label,0)' , pred_lab is the label of adv-image, test_label is the gt-label. Though target_model acc is high enough, the test-acc in test set is not 100%. So you should conduct the adversarial attack in the correct-classification samples among test set.

@mathcbc
Copy link
Owner

mathcbc commented Nov 23, 2018 via email

@mathcbc mathcbc closed this as completed Nov 23, 2018
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