During the assignment, I faced with problems, at create_model() part
So empirically, I found the solution to put input_shape=(28, 28, 1) in all Conv2D layers, but I dont really understand everything behind this solution.
When we use input_shape=(x, y, z) at first Conv2D- we show the height, width and color cheme,
But after first Conv2D +MaxPooling2D - the pixel size should become (26,26) isn’t it?
And why does the model can’t understand the input shape after first Conv2d + Pooling layer?