Question about DPatch implementation #1773
-
Hi, I have some question regarding the DPatch code on here: From the line 163 through 201, it goes:
For the untargeted attack it is taking the estimator predictions as the patch target, but shouldn’t this take the true labels (annotated labels) instead? As far as I understand, the original paper says to maximize the loss of the estimator to the true labels (page 3: https://arxiv.org/abs/1806.02299v4). Sorry if I’m missing some point, but I am quite confused with this one. I’d really appreciate if someone could help me out. Thanks you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Hi @yuki2222 You are right, the current implementation of |
Beta Was this translation helpful? Give feedback.
Hi @yuki2222 You are right, the current implementation of
DPatch
in the untargeted case attacks the object detector's predictions on the patched images and does not accept true labels. I think the reason was that the predictions to be attacked are made on the images with the untrained patch applied in an approach to automatically remove the influence of the patch on the object detection accuracy under the assumption that the predicted and true labels are similar.I think it would be easily possible to add support for true labels, would you need it for an application or to exactly reproduce
DPatch
?