Hi all,
Got this error in this assignment:
ValueError: Shapes (None, 1) and (None, 26) are incompatible
model summary
Model: “sequential_15”
Layer (type) Output Shape Param #
conv2d_34 (Conv2D) (None, 26, 26, 32) 320
max_pooling2d_33 (MaxPoolin (None, 13, 13, 32) 0
g2D)
conv2d_35 (Conv2D) (None, 11, 11, 64) 18496
max_pooling2d_34 (MaxPoolin (None, 5, 5, 64) 0
g2D)
flatten_10 (Flatten) (None, 1600) 0
dense_33 (Dense) (None, 128) 204928
dense_34 (Dense) (None, 26) 3354
=================================================================
Total params: 227,098
Trainable params: 227,098
Non-trainable params: 0
What I am doing wrong ? shouldnt be last layers 26 as number of classes ?