Skip to main content

Table 5 Layers of the convolutional neural network model used in the machine learning experiments

From: Detecting the patient’s need for help with machine learning based on expressions

Model: “sequential”

Parameters: total 73,112; trainable: 73,112; non-trainable: 0

Layer (type)

Output shape

Number of parameters

rescaling_1 (Rescaling)

(None, 20, 25, 3)

0

conv2d (Conv2D)

(None, 20, 25, 16)

448

max_pooling2d (MaxPooling2D)

(None, 10, 12, 16)

0

conv2d_1 (Conv2D)

(None, 10, 12, 32)

4640

max_pooling2d_1 (MaxPooling2D)

(None, 5, 6, 32)

0

conv2d_2 (Conv2D)

(None, 5, 6, 64)

18,496

max_pooling2d_2 (MaxPooling2D)

(None, 2, 3, 64)

0

flatten (Flatten)

(None, 384)

0

dense (Dense)

(None, 128)

49,280

dense_1 (Dense)

(None, 2)

258