Week1 Assigment2. Help. Match error

I have this error in the function convolutional_model:

[‘Conv2D’, (None, 64, 64, 8), 392, ‘same’, ‘linear’, ‘GlorotUniform’]

does not match the input value:

[‘Dense’, (None, 64, 64, 6), 24, ‘softmax’].

Some idea?

You have used a Dense layer somewhere that you should have used a Conv2D layer.
Judging by the sizes, I’d guess it’s probably on the “Z1 = …” line.