IntelLabs / MART

Modular Adversarial Robustness Toolkit
BSD 3-Clause "New" or "Revised" License
17 stars 0 forks source link

Fix the autoattack wrapper #80

Closed mzweilin closed 1 year ago

mzweilin commented 1 year ago

What does this PR do?

Fixes #79

Test run on GPU, attacking a pretrained model.

python -m mart \
experiment=CIFAR10_RobustBench \
fit=false \
+attack@model.modules.input_adv_test=classification_autoattack \
trainer=ddp +trainer.limit_test_batches=1

Type of change

Please check all relevant options.

Testing

Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

Before submitting

Did you have fun?

Make sure you had fun coding 🙃