openai / improved-gan

Code for the paper "Improved Techniques for Training GANs"

Home Page:https://arxiv.org/abs/1606.03498

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variable does not exist or was not created with tf.get_variable

rafaelvalle opened this issue · comments

I'm hitting the error below when using using the code with a different generator and optimizer.
Python3 and tensorflow 1.3.0. with any number between 2 or 4 gpus. The error doesn't appear with tensorflow 0.12.

Any thoughts on how to fix it? Note that the layer at which it happens changes seems to change randomly, e.g. from enc_0 to enc_4

ValueError: Variable g_ae/enc_0/W/RMSProp/ does not exit, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?