Harry24k / adversarial-attacks-pytorch

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

[QUESTION] where is LGV attack? #110

Closed muyuuuu closed 1 year ago

muyuuuu commented 1 year ago

❔ Any questions

LGV: Boosting Adversarial Example Transferability from Large Geometric Vicinity

I can't find it in here: https://github.com/Harry24k/adversarial-attacks-pytorch/tree/master/torchattacks/attacks

Framartin commented 1 year ago

Hello @muyuuuu ,

The LGV attack is in torchattacks/wrappers/lgv.py as it can be used on top of any other attack. I implemented it as a generic wrapper to any torchattacks attack: https://github.com/Harry24k/adversarial-attacks-pytorch/blob/master/torchattacks/wrappers/lgv.py#L18

Please don't hesitate to take a look at the notebook dedicated to the LGV attack to learn more how to use it.

I would be happy to help and answer further questions (as the first author of the paper).

Best.