Image processing using CNN

x_train_n =
x_train_down =

encoded_imgs = encoder.predict(x_train_down)
encoded_imgs.shape
sr1 = np.clip(autoencoder.predict(x_train_down) , 0.0 ,1.0)
image_index =251

Error :: ValueError: Failed to find data adapter that can handle input: <class ‘NoneType’>, <class ‘NoneType’>

@tina0 , Welcome to the community!
class ‘NoneType’ might indicate that your that the input to .predict() might be None.

© Copyright 2013-2019 Analytics Vidhya