Home >
Software design > How to fix the error of "plt.scatter(x_test_encoded[:, 0], x_test_encoded[:, 1], c=y_test)"
How to fix the error of "plt.scatter(x_test_encoded[:, 0], x_test_encoded[:, 1], c=y_test)"
I'm testing the "Variational autoencoder (VAE)
" from this link:
Since z
consists of two latent variables, you index 0 and 1.