Keras Model To Plot Gives None, Dimensions
I am trying to plot VGG16 architecture diagram using Keras. However, i see the below image with None, some dimension. What does None mean, is that a bug ? from keras.utils import
Solution 1:
The None
dimension in the shape tuple refers to the batch dimension which simply means that the layer can accept input of any size. For example, a dataset (e.g. MNIST) could have the following shape tuple (60000, 28, 28, 1)
but the input layer's shape would be (None, 28, 28, 1)
.
References:
Post a Comment for "Keras Model To Plot Gives None, Dimensions"