Closed mzweilin closed 1 year ago
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
Please check all relevant options.
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.
pytest tests/test_experiments.py::test_cifar10_cnn_autoattack_experiment
pre-commit run -a
Make sure you had fun coding 🙃
What does this PR do?
Fixes #79
Test run on GPU, attacking a pretrained model.
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.
pytest tests/test_experiments.py::test_cifar10_cnn_autoattack_experiment
Before submitting
pre-commit run -a
command without errorsDid you have fun?
Make sure you had fun coding 🙃