Evasion Attack Capability for Multi-Label Classification #2065
Unanswered
MadhuSaran26
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @MadhuSaran26 Could you please share a code example that reproduces your observation? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to perform a white-box evasion attack (FastGradientMethod) on my pre-trained multi-label classification model. This model has been wrapped in the PyTorchClassifier class and passed as an argument to the FastGradientMethod class. However, I encountered the following error.
In this, 16 is the batch size and 9 is the number of output classes in the model.
The following code produced this error.
I'd like to know whether this toolbox can be used for a multi-label classification problem. If yes, then please kindly direct me to an example execution, or at least let me know what are the changes that I should make to my code. Otherwise, please provide the solution to this problem.
In addition, I wanted to point out that it's not feasible to create combined labels as there are multiple combinations, which could be possible in a scenario.
Beta Was this translation helpful? Give feedback.
All reactions