armory
armory copied to clipboard
Saving CARLADapricotPatch patch with `export_samples`
Is it possible to export the patch (https://github.com/twosixlabs/armory/blob/388edde7d85f96dac6a96c13854b955f1bb5c3c3/armory/art_experimental/attacks/carla_obj_det_patch.py#L284) that is generated by the armory.art_experimental.attacks.carla_obj_det_patch.CARLADapricotPatch
attack? Right now when export_samples > 0
Armory outputs the patched images (https://github.com/twosixlabs/armory/blob/388edde7d85f96dac6a96c13854b955f1bb5c3c3/armory/art_experimental/attacks/carla_obj_det_patch.py#L298). Having the adversarial square patch generated by CARLADapricotPatch will make it possible to re-insert this generated patch back into CARLA so that we can understand how the rendering pipeline affects the efficacy of the attack.