🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
Ask or search…
K
Comment on page

Max Pooling 2D

Max Pooling 2D Node Documentation

The Max Pooling 2D node in AugeLab Studio represents the max pooling layer for a convolutional neural network (CNN) with Keras.

Node Overview

The Max Pooling 2D node applies max pooling to the input data, reducing its spatial dimensions while preserving the most prominent features. It has the following properties:
  • Node Title: Max Pooling 2D
  • Node ID: OP_NODE_AI_2D_MAX_POOL

Inputs

The Max Pooling 2D node does not have any input sockets. It operates on the input data provided by the preceding nodes in the network.

Outputs

The Max Pooling 2D node outputs the max pooling layer, which can be connected to the subsequent layers in the CNN architecture.

Node Interaction

  1. 1.
    Drag and drop the Max Pooling 2D node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Configure the pooling size and stride by selecting the values from the drop-down lists in the node's content area.
  3. 3.
    Connect the output of the Max Pooling 2D node to the next layer in the network.

Implementation Details

The Max Pooling 2D node is implemented as a subclass of the Node_Average_Pooling_2d node, which itself is a subclass of the NodeCNN base class. It inherits the functionality of the Node_Average_Pooling_2d node and overrides the getKerasLayer method to create a MaxPooling2D layer instead of an AveragePooling2D layer.
  • The Max Pooling 2D node provides drop-down lists in the content area for selecting the pooling size and stride.
  • The pooling size determines the factor by which the input spatial dimensions will be reduced.
  • The stride determines the step size taken by the pooling window when applying pooling.
  • The node creates an instance of the MaxPooling2D layer with the specified pooling size and stride.
  • The created layer can be used in the CNN architecture by connecting it to the subsequent layers.

Usage

  1. 1.
    Drag and drop the Max Pooling 2D node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Select the pooling size and stride from the drop-down lists in the node's content area.
  3. 3.
    Connect the output of the Max Pooling 2D node to the next layer in the network.
  4. 4.
    Continue building the CNN architecture by adding more layers and connecting them accordingly.
  5. 5.
    Configure the rest of the network, including input and output layers, and compile the model.
  6. 6.
    Train and evaluate the CNN model using appropriate datasets and training procedures.

Notes

  • The Max Pooling 2D node performs max pooling on the input data.
  • It expects the Keras library to be installed.
  • The node provides drop-down lists for selecting the pooling size and stride.
  • The pooling size determines the factor by which the input spatial dimensions will be reduced.
  • The stride determines the step size taken by the pooling window when applying pooling.
  • The created max pooling layer can be connected to the subsequent layers in the CNN architecture.
  • The Max Pooling 2D node is commonly used to downsample feature maps in the CNN.
  • It reduces the spatial dimensions of the input data while preserving the most prominent features.
  • The pooling size and stride should be chosen carefully based on the specific requirements of the problem.
  • The node can be duplicated and customized for different parts of the CNN architecture.
  • Connect the output of the Max Pooling 2D node to the next layer or the output node in the network to continue building the CNN architecture.