Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [pooling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

how to calculate the dimension of the output in this cnn?

I have been reading a book about CNNs and they have put the following: Here it makes sense the part that explains how each feature map is formed with the inputs convoluted by the kernels. The problem ...
Lila's user avatar
  • 227
2 votes
1 answer
233 views

Trying to average node values over local neighborhoods in a graph using a GCN

I'm new to Graph Convolutional Networks (and pytorch in general) so I'm trying to verify that the message passing layer is working as expected before I go on to adding layers to the network. But when ...
dn-ra's user avatar
  • 21
0 votes
1 answer
855 views

Min Pooling vs Max Pooling

If I train a simple CNN with an MNIST dataset for digit classification. Is it possible to get a similar performance if I replace the max-pooling layers with the min-pooling layers? This problem may be ...
a_parida's user avatar
  • 153
3 votes
1 answer
3k views

What to do with Transformer Encoder output?

I'm in the middle of learning about Transformer layers, and I feel like I've got enough of the general idea behind them to be dangerous. I'm designing a neural network and my team would like to ...
Rstan's user avatar
  • 33
0 votes
1 answer
1k views

Number of input and output channels of MAX POOL layer

This is what Andrew Ng draws in his pooling layers video in the Coursera Deep Learning Specialization: and this is what he draws in Inception network video: Notice in first slide, number of input ...
Rnj's user avatar
  • 225
1 vote
2 answers
1k views

Is it possible to apply pooling across the channel dimension of the input tensor?

I have an input tensor of the shape (32, 256, 256, 256). In this tensor shape, 32 is the batch size. second 256 is the number of channels in the given image of size 256 X 256. I want to do pooling in ...
hanugm's user avatar
  • 157
0 votes
1 answer
481 views

Max Pooling in first Layer of CNN

I am seeing, in all the notebooks that I found, that Max Pooling is never used in the first layer of a CNN. Why this? Is it a convention among data scientist to do not use max pooling in the first ...
CasellaJr's user avatar
  • 229
6 votes
1 answer
12k views

ValueError: No gradients provided for any variable

I have this error when running training on my model. I found this issue on different sites, but could not find a solution to my problem. Here is my model : ...
Catalina Chircu's user avatar
2 votes
1 answer
932 views

Absolute-value max pooling in 2D convolutional neural networks

i am fairly new to machine learning, so this may be a silly question. if that is the case, I apologise in advance. i am training a convolutional neural network on oceanographic images, which include ...
Fabio's user avatar
  • 31
1 vote
0 answers
108 views

What is dropout in convolutional layers and how does that different from max-pooling-dropout?

When dropout is applied to fully connected layers some nodes will be randomly set to 0. It is unclear to me how dropout work with convolutional layers. If dropout is applied before the convolutions, ...
user570593's user avatar
1 vote
0 answers
19 views

The idea behind Generalized Max Pooling

I am trying to understand the idea of "Generalized Max Pooling". It seems they try to make the 'pooled' representation similar to the features. If so I feel some rare discriminating features could ...
user570593's user avatar
1 vote
1 answer
318 views

How gradients are learned for pooling layers in Convolution Neural Network?

Assuming we could compute a layerwise Hessian of the error function when training a neural network, the error sub-surface of pooling layers will be flat.?? Is that correct? There is no weights to be ...
MAC's user avatar
  • 277
3 votes
2 answers
10k views

What's the purpose of padding with Maxpooling?

As mentioned in the question, i've noticed that sometimes there are pooling layers with padding. More specifically, I found this Keras tutorial, where there's a net which contains ...
Mattia Surricchio's user avatar
5 votes
5 answers
1k views

Real purpose of pooling

Recently I had a doubt as to what is the real purpose of pooling layers in neural networks is? The most common answer is To select the most important feature To increase the receptive field of the ...
a_parida's user avatar
  • 153
1 vote
1 answer
469 views

How is the output of a maxpool layer window size=1x2 and stride=2 calculated?

I'm looking at the architecture proposed in the following paper: Baoguang Shi et al, An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text ...
John T. Copeland's user avatar
0 votes
0 answers
393 views

The effect of removing pooling layers in the model's accuracy

I know that removing pooling layers will lead to an increase in dimensionality and subsequently, make the training to be more time-consuming. But I'm wondering if ...
Fatemeh Asgarinejad's user avatar