Skip to content

apply MIFace attack on different datasets #2057

Answered by beat-buesser
UnReAlKiNg asked this question in Q&A
Discussion options

You must be logged in to vote

@UnReAlKiNg Yes, please try with adding a softmax layer.

It's true, the example works with a model that outputs logits. Which one, logits or softmax, to choose depends on the attack algorithm and/or implementation. Some attacks work only efficiently on logits, whereas others expect softmax probabilities.

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by beat-buesser
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2042 on March 07, 2023 16:28.