Harry24k / adversarial-attacks-pytorch

PyTorch implementation of adversarial attacks [torchattacks].
https://adversarial-attacks-pytorch.readthedocs.io/en/latest/index.html
MIT License
1.79k stars 337 forks source link

[QUESTION] #183

Open ShuchunXu opened 1 month ago

ShuchunXu commented 1 month ago

❔ Any questions

When I use the pgd.py to attack my model, I find that the model predicts the adversarial example to the last class classes in all classes. That is unusual, can you tell me why? @nguyenvulong @Framartin @noppelmax @khalooei robustness_conf_matrix

nguyenvulong commented 1 month ago
  1. can you describe the results before the attack
  2. show the code snippet that you implemented pdg attack on your model
  3. make sure there's no unbalanced between the number of samples from the classes