For questions about max pooling (as well as average pooling) operation, commonly used in convolutional neural networks for downsampling.
Questions tagged [max-pooling]
157 questions
0
votes
1 answer
Incompatibility of output size of pooling layer in CNN model described in Caffe vs Matlab
I have a Caffe CNN model, and I am trying to import it to MATLAB using importCaffeNetwork command, which gets prototxt and caffemodel files as input arguments.
However, I get this error:
The pooling layer 'pool1' is not compatible with MATLAB.…

Fatemeh
- 1
- 4
-1
votes
0 answers
Formula/Proof: How many times maxpooling (3x3 kernel, stride of 2, same padding) must be applied to a dxd array (1% =1, 99%=0) for all values to be 1?
Given a d x d array, 1% of which contains the value 1 and all remaining locations contain the value 0. (e.g. a 128 x 128 array would have 164 values equal to 1 and 16220 values equal to 0). What would be a formula and/or proof for determining the…

Yatagarasu50469
- 1
- 3
-1
votes
1 answer
What is "incompatibility of min_ndim and expected ndim" in 3D CNN(Convolutional NN)?
I found many answers about similar questions, but they are almost about 'removing of flatten layer'. However I didn't use any flatten layer for input layer. So through searching I changed () into [] along the whole codes like…

smaller
- 1
-1
votes
1 answer
model.add(layers.MaxPooling1D(pool_size=3)) ^ SyntaxError: invalid syntax
model.add(layers.MaxPooling1D(pool_size=3))
^
SyntaxError: invalid syntax
I got this error. what is the problem? I have searched it but found the same syntax almost everywhere
This is my whole model. Are there others issues in the model?…

Hamza Farooq
- 25
- 1
- 9
-1
votes
1 answer
E-net Deep learning architecture
The research paper is available on the link:
https://arxiv.org/pdf/1606.02147.pdf
Not able to understand the initial block of the Enet architecture.
Statement given in research paper on page 3:
ENet initial block. MaxPooling is performed with…

Rochan
- 1,412
- 1
- 14
- 17
-1
votes
1 answer
About max-pooling?
Max-pooling is useful in vision for two reasons:
By eliminating non-maximal values, it reduces computation for upper
layers.
It provides a form of translation invariance. Imagine cascading a
max-pooling layer with a convolutional layer. There…

Gauss
- 379
- 5
- 18
-4
votes
2 answers
Array Padding Numpy
I have the following matrix:
x = \
np.array([[[[0.99256822, 0.63019905],
[0.77484078, 0.27471319]],
[[0.94722451, 0.95948516],
[0.81838252, 0.48979609]],
[[0.81673764, …

Alk
- 5,215
- 8
- 47
- 116