IntelLabs / MART

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

Use of `CallWith` in attack objectives and gains? #178

Open dxoigmn opened 1 year ago

dxoigmn commented 1 year ago

Why do attack objectives and gains use CallWith?

https://github.com/IntelLabs/MART/blob/9d1a03d41e8162bfa4590bf600d4d1a19854262e/mart/configs/attack/gain/modular.yaml#L1

https://github.com/IntelLabs/MART/blob/9d1a03d41e8162bfa4590bf600d4d1a19854262e/mart/configs/attack/objective/object_detection_missed.yaml#L1

Shouldn't we just be able to pass these arguments in using sequences? Or what is going on here?