Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Epsilon to min values #578

Open
marathan opened this issue Aug 17, 2020 · 1 comment
Open

Setting Epsilon to min values #578

marathan opened this issue Aug 17, 2020 · 1 comment

Comments

@marathan
Copy link

Hi I am relatively new to coding.
I recently switched from Foolbox 2.4.0 to the newer version 3.0.4.

In the previous version I was mostly using the FGSM or the PGD attack without the need to specify the epsilon value.

I noticed that in the new version I need to specify the espilon value/s within the attack()

Is there any way to avoid setting the epsilon value/s beforehand, and letting the attack compute a specific(possibly different) minimum epsilon value for each distinct pixel?

Thanks

@ines21
Copy link

ines21 commented Feb 22, 2021

it depends whether the attack you're trying to run is a minimization attack (CW for example) or a fixed epsilon (LinfPGD) attack. If it is a minimization attack by default, then you can just set the epsilons to None. Otherwise you have to specify the epsilon value. In this case, I suggest you try running the attack with a wide range of epsilons in order to find a suitable one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants