ValueError: zero-size array to reduction operation maximum which has no identity
Getting error in pooling(CNN)
Hi in this case you might be doing convolution on an image of very small size in later layer. For e.g the the size of image before convolution might be 22 and your filter size could be 33. In this case it would give a zero vector.