Value error with dimensions in designing a simple autoencoder
问题 Hi I am trying out a simple autoencoder in Python 3.5 using Keras library. The issue I face is - ValueError: Error when checking input: expected input_40 to have 2 dimensions, but got array with shape (32, 256, 256, 3). My dataset is very small (60 RGB images with dimension - 256*256 and one same type of image to validate). I am a bit new to Python. Please help. import matplotlib.pyplot as plt from keras.layers import Input, Dense from keras.models import Model #Declaring the model encoding