I am trying to create a sequential model using Keras to solve the problem of “Fashion MNist” - The idea was to replicate this python code using KNIME Keras nodes.
I am getting the error that
> expected dense_2 to have shape (1,) but got array with shape (10,)
My training data (.csv) has 60,000 rows with 784 data points for 28*28 pixels and one column with different labels ( from 0 to 9) which I have converted into ten columns using one hot encoding.
I am sure that I am missing something basic. I would appreciate the pointers to guide me in the right direction.