I’ve tried to compile my own model and one using VGG16BN to submit for StateFarm, but every time I try to generate the predictions, I get the following error:
expected lambda_input_2 to have 4 dimensions, but got array with shape (79726, 10)
This also occurs with a self built model as well.
I’m lost as to why this occuring, as a I am building my model, editing it, and recompiling it at the end with model.compile.
Any insight would be greatly appreciated…thanks!