Week 1 Assignment 2 Confusion

I am following the instructions :
Z1 = tfl.Conv2D(4, 8, strides = (1, 1), padding = “SAME”)(input_img)
A1 = tfl.ReLU()(Z1)
P1 = tfl.MaxPool2D(pool_size = (8, 8), strides = 8, padding = ‘SAME’)(A1)
Z2 = tfl.Conv2D(2, 16, strides = (1, 1), padding = ‘SAME’)(P1)
A2 = tfl.ReLU()(Z2)
P2 = tfl.MaxPool2D(pool_size = (4, 4), strides = 4, padding = ‘SAME’)(A2)
F = tfl.Flatten()(P2)
outputs = tfl.Dense(6, activation = ‘softmax’)(F)
but keep getting the same Error:
Test failed
Expected value

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

does not match the input value:

[‘Conv2D’, (None, 64, 64, 4), 772, ‘same’, ‘linear’, ‘GlorotUniform’]

Please give me instructions.

Please do not post your code on the Forum. That’s not allowed by the course Honor Code.

One of your Conv2D() layers has a size error.

Unless you are absolutely sure you are using exactly the default order of the arguments, it is best if you include the “< argument > =” syntax for each parameter.