Adversarial_Autoencoder icon indicating copy to clipboard operation
Adversarial_Autoencoder copied to clipboard

autoencoder.py : ValueError: Variable e_dense_1/weights already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at

Open praveenkumarchandaliya opened this issue 7 years ago • 1 comments

Hi Naresh

I am using Window 10, Tensorflow 1.8, Anaconda When I have run autoencoder.py file than I am getting the error

ValueError: Variable e_dense_1/weights already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at

I am waiting you response

praveenkumarchandaliya avatar May 02 '18 03:05 praveenkumarchandaliya

I got the same error in Jupyter. I restarted the kernel, resetting all the previous variables and it worked!

It seems your code is using the variables already exists. Try to reset variables.

Akhil-Raj avatar Apr 05 '19 04:04 Akhil-Raj