AI, Machine Learning, Artificial Intelligence, Deep Learning, Data Science.
ax.get_yaxis().set_visible(False) # Reconstructed image ax = plt.subplot(2, n, i + n + 1) plt.imshow(reconstructed_imgs[i].reshape(28, 28)) plt.gray() ax.get_xaxis().set_visible(False) ax.get_yaxis().set_visible(False) plt.show() Note — Minimizing the MSE alone may not be enough to ensure that the