lpty/tensorflow_tutorial

gen()运行出错

nuass opened this issue · 0 comments

nuass commented

ValueError: Variable generator/dense/kernel already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:

File "", line 38, in generator_graph
layer = tf.layers.dense(fake_imgs, units_size)
File "", line 102, in train
gen_logits, gen_outputs = self.generator_graph(fake_imgs, self.units_size, self.img_size)
File "", line 176, in
mnist.train()