Questions tagged [stride]

For questions related to the concept of stride in the context of convolutional neural networks and the convolution operation.

Filter by
Sorted by
Tagged with
2 votes
1 answer
143 views

Is down-sampling the only purpose of using stride?

Stride is used in at least two operations: convolution and pooling. Both operations can be viewed as applying a kernel function on input using a kernel (filter). Stride determines the amount of "...
user avatar
  • 2,977
4 votes
1 answer
106 views

What is the stride information of an image referring here?

In convolutional neural networks, the convolution and pooling operations have a parameter known as stride, which decides the amount of jump the kernel needs to do on the input image. You can get more ...
user avatar
  • 2,977
0 votes
0 answers
32 views

How to select dimensions of kernel and stride for pooling?

Consider a tensor of size $512 \times 512$. I need to reduce it to $32 \times 32$. There are several ways to do it. There are a lot of possibilities. Each possibility has its own kernel dimensions and ...
user avatar
  • 2,977
2 votes
0 answers
553 views

What is the fundamental difference between max pooling and adaptive max pooling used in PyTorch

PyTorch provides max pooling and adaptive max pooling. Both, max pooling and adaptive max pooling, is defined in three dimensions: 1d, 2d and 3d. For simplicity, I am discussing about 1d in this ...
user avatar
  • 2,977
2 votes
2 answers
451 views

Is the stride applied both in the horizontal and vertical directions in convolutional neural networks?

In the convolutional layer for CNNs, when you specify the stride of a filter, typical notes show some examples of this but only for the horizontal panning. Is this same stride applied for the vertical ...
user avatar
4 votes
1 answer
100 views

Do all filters of the same convolutional layer need to have the same dimensions and stride?

In Convolutional Neural Networks, do all filters of the same convolutional layer need to have the same dimensions and stride? If they don't, then it would seem the channel produced by each filter ...
user avatar
  • 283
2 votes
1 answer
876 views

Is my understanding of how the convolution with stride 2 works in this example correct?

I'm currently reading this explanation of convolutional neural networks and there's a part around strides that I don't quite understand. I'm just starting with this, so I apologize if this is a really ...
user avatar
  • 123
3 votes
1 answer
627 views

What is the meaning of a 2D stride?

I know what meaning stride has when it is just an integer number (by which step you should apply a filter to the image). But about (1, 1) or even more dimensional ...
user avatar