bethgelab / bethgelab/foolbox

Stepsize for PGD attacks

Open
#685 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
3k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

Hello,
Q.1
is it possible to give list of epsilon for LinfPGD attacks? I wanted to test how a number of steps affect the result in terms of PGD attacks.
Q. 2
I would like to know how we could decide on stepsize which is abs_stepsize? I read the documents but seems like no explanation about it. Is there a strategy for deciding on stepsize?

My code:

eps = [0, 0.1/255, 0.3/255, 1/255, 4/255]
stepsize = [i/4 for i in eps]
steps= args.steps
attack = LinfPGD(rel_stepsize=0.033, abs_stepsize=stepsize, steps=steps, random_start=True)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.