Machine Learning, Data Science, Deep Learning, Artificial Intelligence, Towards Data Science.
z_sample = np.random.rand(1,512) x_decoded = decoder.predict([z_sample]) figure[i * digit_size1: (i + 1) * digit_size1, j * digit_size2: (j + 1) * digit_size2,:] = (x_decoded[0]+1)/2 plt.figure(figsize=(10, 10)) plt.imshow(figure) plt.show() So it seems that our VAE model is not particularly good.