Replies: 4 comments 2 replies
-
Hi @giladpn Does your script generate perturbed samples with the untargeted attack? |
Beta Was this translation helpful? Give feedback.
-
Hi @beat-buesser
Yes it does! It works very well for *untargeted* attacks. I am trying to
get it to work for the targeted ones as well.
Thanks.
…On Tue, 22 Nov 2022, 00:36 Beat Buesser, ***@***.***> wrote:
Hi @giladpn <https://github.com/giladpn> Does your script generate
perturbed samples with the untargeted attack?
—
Reply to this email directly, view it on GitHub
<#1925 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOLOROAGE2VXYYOZLPGQFA3WJP2PHANCNFSM6AAAAAASE3CDMY>
.
You are receiving this because you were mentioned.Message ID:
<Trusted-AI/adversarial-robustness-toolbox/repo-discussions/1925/comments/4199705
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your response! Please see in the code above the line that says
so this has the shape Is there a chance you could take your own code in Many thanks |
Beta Was this translation helpful? Give feedback.
-
Thank you! That helped. After trying several values, I found that for this
example learning rate 0.01 and 300 iterations was enough. Thanks for
pointing me in the right direction.
|
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for ART, it is quite amazing.
I am trying to educate myself by doing a variation of the notebook
notebooks/classifier_scikitlearn_AdaBoostClassifier.ipynb
The variation is very simple. In the notebook, in the MNIST section, the ZooAttack is not targeted:
targeted=False
. I am trying to change this totargeted=True
. I have also, of course, tried to define target labels. However, the "adversarial" examples are just unchanged from the original "good" examples. I must be missing something.Doing a very basic example, I am trying to create targeted adversarial examples that would make all digits seem like a 1.
Here is my code, with just the relevant pieces. It's mostly copied from your notebook with just slight changes.
The result of this - for an example of the digit 5 - is to print
even though I would hope that the Adversarial case would be changed so it is predicted to be a 1.
What am I doing wrong please?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions