AI, Machine Learning, Artificial Intelligence, Deep Learning, Data Science.
validation_data=(x_test, x_test)) # Visualizing encoded representation import matplotlib.pyplot as plt # extract encoder output encoder = Model(inputs=autoencoder.input, outputs=autoencoder.get_layer("encoder_layer3").output) encoded_imgs = encoder.predict(x_test) # reshape encoded images