Answer the question
In order to leave comments, you need to log in
How to use predict in keras tf pretrained network?
Good afternoon, how to use predict in a pre-trained keras tf network?
I trained the finished model by adding
model = Sequential()
model.add(Dense(256, activation='relu', input_dim=5 * 5 * 2048))
model.add(Dropout(0.5))
model.add(Dense(36, activation='softmax'))
ValueError: Input 0 of layer sequential_3 is incompatible with the layer: expected axis -1 of input shape to have value 51200 but received input with shape [None, 150, 150, 3]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question