You initialized it from
“layer_outputs = [layer.output for layer in model.layers]”
by using List comprehension.
The difference between F1,F2,F3 are the images that been used.
For Example:
“test_images[FIRST_IMAGE]” → it mean you refer to index [FIRST_IMAGE=0] from from test_image list
Hey ryokusnadi, appreciate if you can help me clarify these questions below. Thanks!
what does it mean by changing the CONVOLUTION_NUMBER, is there an upper bound for this parameter, what the range we are allowed to pick up for this typical case?
The code is no longer working even I changed the CONVOLUTION_NUMBER back to 1 after I experimented it with a big number, i.e. 20. Why does this happen?
Hi CCCC,
“is there an upper bound for this parameter, what the range we are allowed to pick up for this typical case?”
→ I Don’t think so
The code is no longer working even I changed the CONVOLUTION_NUMBER back to 1 after I experimented it with a big number, i.e. 20. Why does this happen?
→ I think you are using wrong subplots, try change it into : f, axarr = plt.subplots(3,4)
We have 4 picture in every row (corresponding every f),
so the first picture is output of the first convolution layer (feature map 1), the second picture is output of the second convolution layer (feature map 1), the third picture is output of the first dense anh the final picture is output of the remaining dense, right?
Hi,
We have 4 picture in every row (corresponding to every f)
→ Do you mean “(1, 28, 28, 1)” for 4 picture?
you can think (1, 28, 28, 1) as 1 image 28 by 28 pixels in greyscale(last index of 1)
We only have 3 images for this case, and it was used for indexing.
FIRST_IMAGE=0
SECOND_IMAGE=4
THIRD_IMAGE=26
im sorry, i mean, with the first image with index = 0, transformed throught 3 layer conv2d and 1 layer dense. with every layer conv2d, will mention feature map 1.
example: first colunm in the below picture.