Hi,
I am trying to train variational autoencoder with reparamaterization trick. In similar implementation on colab, I got error as
_SymbolicException: Inputs to eager execution function cannot be Keras symbolic tensors, but found [<tf.Tensor 'latent_sigma/Identity:0' shape=(None, 2) dtype=float32>, <tf.Tensor 'latent_mu/Identity:0' shape=(None, 2) dtype=float32>]
Hi, I am trying to train variational autoencoder with reparamaterization trick. In similar implementation on colab, I got error as _SymbolicException: Inputs to eager execution function cannot be Keras symbolic tensors, but found [<tf.Tensor 'latent_sigma/Identity:0' shape=(None, 2) dtype=float32>, <tf.Tensor 'latent_mu/Identity:0' shape=(None, 2) dtype=float32>]
Here is the colab link: https://colab.research.google.com/drive/1_TjoHxDMC3QPQxO9Un1LvMQFHpVAMlMd
Here is my code:
I got error while running
(loss, acc) = vae.evaluate(input_test, input_test)
And the error is: