I'm running a 2d convolution network. My input has 3 dimension however I am getting this 4-dimension error: dimension error
As you can see my input has the correct dimensions:
here is my code:
from keras import models
from keras import layers
model = models.Sequential()
model.add(layers.Conv2D(32, (3, 3), activation='relu', input_shape=(8,6171,4)))
model.add(layers.MaxPooling2D((2, 2)))
model.add(layers.Conv2D(64, (3, 3), activation='relu'))
model.add(layers.Flatten())
model.add(layers.Dense(64, activation='relu'))
model.add(layers.Dense(10, activation='softmax'))
Why then is it asking me for 4-D when I only built a 3-D input layer?
Please help. Thanks.