Deep Learning with Python code no longer working. “TypeError: An op outside of the function building code is being passed a ”Graph“ tensor.”
问题 I'm implementing a Tensorflow Variational Autoencoder, copying the code exactly from the book "Deep Learning with Python". Up until a few days ago, the code was working perfectly but as of yesterday it has stopped working (I have not changed the code). The code is for a generative model which can replicate images from the MNIST dataset. The specific error message is below: TypeError: An op outside of the function building code is being passed a "Graph" tensor. It is possible to have Graph