Convolution_model_Step_by_Step_v1 Max Pool error

Hi,
I am getting assertion error for A[1,1] both for MAXPOOL and AVGPOOL.
My notebook ID is 4xt9A
Can you please help?

Please click my name and message your notebook as an attachment.

Please fix the way you are creating a_prev_slice from A_prev. A good place to start is to figure out where c (the inner most loop variable) should be used in slicing A_prev.

Thanks a lot. Didn’t pay attention to the channel requirement.