Targeted-Adversarial-Attack icon indicating copy to clipboard operation
Targeted-Adversarial-Attack copied to clipboard

target_class.csv not found

Open Darylnn opened this issue 5 years ago • 2 comments

Thank you for providing the open source code of your adversarial attack for the community. I was trying to replicate both your non-targeted and targeted adversarial attack and though I managed to successfully run the non-targeted attack, I was unable to run the targeted attack as I faced this error while running.

I used the same dataset given in the non-targeted attack but I think the targeted attack requires this target_class.csv. Can you help me in mitigating this issue?

image

Darylnn avatar Sep 09 '20 11:09 Darylnn

Hi, I used the code at https://github.com/tensorflow/cleverhans/blob/master/examples/nips17_adversarial_competition/dev_toolkit/run_attacks_and_defenses.py to generate the target_class.csv. Or you could generate this file yourself.

dongyp13 avatar Sep 10 '20 05:09 dongyp13

Thank you for the prompt response. I will try to generate it and run it once more, thanks again for your help

Darylnn avatar Sep 10 '20 10:09 Darylnn