Tensorflow Valueerror: Variable Does Not Exist, Or Was Not Created With Tf.get_variable()
I am a newbie to Tensorflow and trying to implement a Generative Adversarial Network. I am following this tutorial for the same in which we are trying to generate MNIST dataset lik
Solution 1:
Please modify your code as following,
with tf.variable_scope(tf.get_variable_scope(),reuse=False):
trainerD = tf.train.AdamOptimizer().minimize(d_loss, var_list=d_vars)
trainerG = tf.train.AdamOptimizer().minimize(g_loss, var_list=g_vars)
Post a Comment for "Tensorflow Valueerror: Variable Does Not Exist, Or Was Not Created With Tf.get_variable()"