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

criteria: Misclassification #734

Open
jS5t3r opened this issue Apr 26, 2024 · 0 comments
Open

criteria: Misclassification #734

jS5t3r opened this issue Apr 26, 2024 · 0 comments

Comments

@jS5t3r
Copy link

jS5t3r commented Apr 26, 2024

There are two ways to use the API:

To use the criteria:

raw_advs, clipped_advs, success = attack(fmodel, data,  criterion=Misclassification(label), epsilons=args.eps)

and without using the criteria:

raw_advs, clipped_advs, success = attack(fmodel, data,  label, epsilons=args.eps)

What is the difference?
Unfortunately, haven't found examples anywhere.

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

1 participant