About 50 results
Open links in new tab
  1. convolution - Is there a correct order of "conv2d", "batchnorm2d ...

    May 29, 2023 · After investigating the structure of the official UNet architecture as proposed in the official paper I noticed a recurrent pattern of Conv2d->BatchNorm2d->ReLU (->MaxPool2d) …

  2. How do I optimize the number of filters in a convolution layer?

    Feb 22, 2020 · If we have a dataset of 32x32 images, we could start with a Conv2D layer, filter of 3x3 and stride of 1x1. Therefore the maximum times this filter would be able to fit into the 32 x 32 images …

  3. Confusion about conversion of RGB image to grayscale image using a ...

    Aug 2, 2021 · Note the groups parameter of Conv2d, which affects how the channels are convolved. The default is 1, which means: At groups=1, all inputs are convolved to all outputs. If you set it to 3 (and 3 …

  4. How is the convolution layer is usually implemented in practice?

    Joking apart, in PyTorch Conv2d is a layer that applies another low level function, conv2d, written in c++. Luckily enough, the guys from PyTorch wrote the general idea of how convolution is …

  5. neural networks - How to use a conv2d layer after a flatten ...

    Dec 10, 2020 · So, I was wondering if I used a pretrained model (EfficientNet for example) if I want to change the _fc attribute and use conv2d in it, how can I recover a 2D structure? Because the …

  6. convolutional neural networks - Is there any gain by lazy ...

    Jul 22, 2021 · The basic layers for performing convolution operations 1, 2, 3 in PyTorch are nn.Conv1d: Applies a 1D convolution over an input signal composed of several input planes. nn.Conv2d: Applies …

  7. How to add a dense layer after a 2d convolutional layer in a ...

    The first was to introduce 2 dense layers (one at the bottleneck and one before & after that has the same number of nodes as the conv2d layer that precedes the dense layer in the encoder section:

  8. What does 'input planes' mean in the phrase 'input signal/image ...

    Jul 22, 2021 · Yes, it is a bit misleading. What it really means is input channels, so it would be: nn.Conv2d: Applies a 2D convolution over an input signal composed of several input channels. So, …

  9. Why is the convolution layer called Conv2D?

    Aug 21, 2020 · A 2D convolution is a convolution where the kernel has the same depth as the input, so, in theory, you do not need to specify the depth of the kernel, if you know the depth of the input. I …

  10. filters - How to calculate the number of parameters of a convolutional ...

    Mar 16, 2020 · I was recently asked at an interview to calculate the number of parameters for a convolutional layer. I am deeply ashamed to admit I didn't know how to do that, even though I've …