How to create competitive images for ConvNet?

I recently asked about creating competitive images for a simple Softmax regression model. I managed to find a solution myself. Now I would like to do the same, but instead for Convnet, as described in the TensorFlow Deep MNIST tutorial for experts .

In the previous question, the situation was very simple, since the weight matrix has exactly the same dimension as the image, so we can simply add the matrix as follows:

images_fool = x + 1.5 * w_six 

where images_fool is the contention image, x is the original image of the number 2, and w_six is ​​the weight matrix for the number 6, so we can make the contention image of the number 2, which deceives the classifier, which will classify the image as the number 6.

But now, with ConvNet, there are many more weight matrices, and not one of them is the same size as the original image. So my question is: how do we add weights to the original image to create a competitive image?

I appreciate any help. Thanks!

The script can be found here .

+1
matrix image deep-learning tensorflow conv-neural-network
source share

No one has answered this question yet.

See similar questions:

8
How to calculate image gradient based on a specific class?
one
How to use image and weight matrix to create competitive images in TensorFlow?

or similar:

1832
Lazy loading images in a ListView
1338
How to vertically align an image inside a div
1264
How can I automatically resize the image to fit the div container?
1207
Strange memory issue when loading image into Bitmap object
8
How to calculate image gradient based on a specific class?
4
Migrating images in a tensor flow, changing a simple softmax layer to CNN multilayer
3
How to add a regression head after a fully connected layer in a convolutional network using Tensorflow?
3
Representing MNIST Weight Scientist Using Tensorflow Graphically
one
How to use image and weight matrix to create competitive images in TensorFlow?
0
Doubts about cleverhans FastGradientMethod (FGM), creating a competitive image

All Articles