uses a CNN model with sequential model object and add layers to it. Here's a breakdown of the model architecture:
- Convolutional layer with 16 filters of size 3x3, using ReLU activation and a stride of 1. The input_shape specifies the shape of the input image as (256, 256, 3).
- Max pooling layer with default pool size (2x2) and stride.
- Convolutional layer with 32 filters of size 3x3, using ReLU activation and a stride of 1.
- Max pooling layer with default pool size (2x2) and stride.
- Convolutional layer with 16 filters of size 3x3, using ReLU activation and a stride of 1.
- Max pooling layer with default pool size (2x2) and stride.
- Flatten layer to convert the 2D feature maps to a 1D vector.
- Fully connected (Dense) layer with 256 units and ReLU activation.
- Fully connected (Dense) layer with 1 unit and sigmoid activation for binary classification.
The final classification is for either happy or sad