Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got ValueError when trying to test the model #18

Open
Ghostish opened this issue Oct 15, 2017 · 3 comments
Open

Got ValueError when trying to test the model #18

Ghostish opened this issue Oct 15, 2017 · 3 comments

Comments

@Ghostish
Copy link

Ghostish commented Oct 15, 2017

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?

@Sneha-gupta28
Copy link

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

@CRISZJ
Copy link

CRISZJ commented Sep 12, 2019

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

@DJxuelei
Copy link

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):".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants