Generative-Adversarial-Network-Tutorial icon indicating copy to clipboard operation
Generative-Adversarial-Network-Tutorial copied to clipboard

ValueError: Variable d_wconv1/Adam_1/.... Tensorflow 1.2 needs tf.variable_scope()?

Open nealmcb opened this issue 8 years ago • 0 comments

On line:

trainerD = tf.train.AdamOptimizer().minimize(d_loss, var_list=d_vars)

I get

ValueError: Variable d_wconv1/Adam_1/ does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?

This is using Tensorflow 1.2.0, on a Databricks Community Edition notebook.

This issue for another GAN implementation looks relevant, and some code updates for it are available: https://github.com/carpedm20/DCGAN-tensorflow/issues/66

nealmcb avatar Jun 25 '17 04:06 nealmcb