I am trying to train satellite images. My training set has 2 folders of input (samples) and ground truth (labels).
Total images are: 496
My X_train shape is: (496,3,256,256)
and y_train shape is: (496,256,256)
For every model, I use I get an error regarding the dense layer.
ValueError: Expected dense to have 2 dimensions, but got an array with shape (496,256,256)