IntelLabs / MART

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

Add an attack config generator. #206

Closed mzweilin closed 1 year ago

mzweilin commented 1 year ago

What does this PR do?

This PR adds python -m mart.generate_adversary_config for generating attack configuration YAML files that can be used in Armory and others.

Example:

python -m mart.generate_attack_config \
attack=[object_detection_mask_adversary,data_coco] \
output=here.yaml

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 🙃

mzweilin commented 1 year ago

Let's try the feature in mart_armory example first.