I feel that tf.get_variable() has to be used instead of tf.Variable(). In each epoch all the mini batches have to interact with same set of weights. But since we are using tf.Variable() for each autoencoder['cost'] calculation, we indirectly call the autoencoder function which creates a new set of weights every time we call pkmital@
I feel that
tf.get_variable()has to be used instead oftf.Variable(). In each epoch all the mini batches have to interact with same set of weights. But since we are usingtf.Variable()for eachautoencoder['cost']calculation, we indirectly call the autoencoder function which creates a new set of weights every time we call pkmital@