Closed lvhuanhuan123 closed 3 years ago
Have you solved this problem? I also want to know how to display the attacked pictures. Thank you!
Sorry, I've been busy. The notebook/Colab should show you how to do this. More specifically, helper.py has a function called plot_image
that you can use. The attack
function in the notebook calls this helper function to display the attacked image.
Does this answer your question, or are you looking for something more specific?
can I download the pictures too?
Hello, after running attack.py, the pkl file is saved. I would like to ask how to display the image after the attack? Attack is to perturb a single pixel. Has the value of other pixels in the image changed? Thank you and look forward to your reply.