I am new to keras and I came across this error: ValueError: error checking the target model: it is expected that dense_1 will have the form (None, 10), but will get an array with the form (10, 1). My input array form is (10, 1010)
and my model is only one layer
model = Sequential()
model.add(Dense(10, batch_input_shape=(None, 1010),init='uniform', activation='relu'))
any ideas how i can fix this, i tried many combinations, nothing works for me?
source
share