C4 W2 A2 input layer shape does not match with expected

Hello Mentors,

I am facing this strange issue, where the first dimension is ‘1’ instead of ‘None’ in all the layers, because of which the test is failing.


My model summary:

Expected model summary:

Can anyone suggest what to look at?

The 0th entry stands for batch dimension. You don’t have to specify this. It’s sufficient to make input shape of the 1st layer as the dimensions of a single input image.

But the test fails with an assertion!

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

I just ran your notebook cells on my coursera jupyter lab environment and everything works. Please confirm.

Strange. It seems to work now.
Could have been some intermediate changes I did while debugging.
Sorry for the trouble.


Thanks for confirming. No worries.