Posted on:

17 Nov 2022

0

Sequential error

ValueError: Exception encountered when calling layer "sequential" (type Sequential).

Input 0 of layer "conv2d_3" is incompatible with the layer: expected axis -1 of input shape to have value 2, but received input with shape (None, 28, 28, 1)

Call arguments received by layer "sequential" (type Sequential):
• inputs=tf.Tensor(shape=(None, 28, 28, 1), dtype=float32)
• training=True
• mask=None

0 answers ( 0 marked as helpful)

Submit an answer