Trustworthy-AI-Group / TransferAttack

TransferAttack is a pytorch framework to boost the adversarial transferability for image classification.
MIT License
268 stars 41 forks source link

I would like to ask whether the code of BSR and Admix method is consistent with the description in the paper. #59

Closed renxujie0926 closed 4 months ago

renxujie0926 commented 5 months ago

I would like to ask whether the code of BSR and Admix method is consistent with the description in the paper. For example, in the code of BSR,I did not see the part of rotation operation for blocks mentioned in the paper. Also, I am confused about the Admix code "return torch.concat([admix_images / (2 ** i) for i in range(self.num_scale)])", is it scaling the blended image? I follow the given code and get the result is changing the brightness of the image. Thank you for your answer. ``

xiaosen-wang commented 5 months ago

Thanks for your careful check!