Skip to content

[BUG] The implementation of eps-ball in MI-FGSM #182

@ZhongliangGuo

Description

@ZhongliangGuo

✨ Short description of the bug [tl;dr]

whether use eps-ball for MI-FGSM

💬 Detailed code and results

I just double checked with the pseudo code of the MI-FGSM and other implementaion, it seems like the MI-FGSM didn't use a clamp in eps-ball, but in the implementation of this repo used it.

delta = torch.clamp(adv_images - images, min=-self.eps, max=self.eps)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions