tf-3dgan icon indicating copy to clipboard operation
tf-3dgan copied to clipboard

Got ValueError when trying to test the model

Open Ghostish opened this issue 6 years ago • 3 comments

I got a valueError after I tried to use the train model to generate chair:

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

Then i set reuse to None and got it worked. Would it affect the performance of the model?

Ghostish avatar Oct 15 '17 06:10 Ghostish

I also got the same error, and I repeated the same thing. Can you tell me if that is a problem?

Sneha-gupta28 avatar Jul 16 '18 18:07 Sneha-gupta28

I have the same problem and how do you solve it?

CRISZJ avatar Sep 12 '19 01:09 CRISZJ

I guess you are train the file 3dgan_autoencoder.py ,in line 79 and line 112,it has the same value in "with tf.variable_scope("dis", reuse=reuse):", I replace the value"dis" to another for example "eco".beacaue I think the scope name can not be same in the two different function "def encoder(inputs, phase_train=True, reuse=False):" and "def discriminator(inputs, phase_train=True, reuse=False):".

DJxuelei avatar Jul 12 '20 10:07 DJxuelei