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

Problem with internal variables #8

Open
kefitk opened this issue Dec 13, 2018 · 1 comment
Open

Problem with internal variables #8

kefitk opened this issue Dec 13, 2018 · 1 comment

Comments

@kefitk
Copy link

kefitk commented Dec 13, 2018

while running the code, I got the following error:


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

File "tf_OneClass_CNN_model.py", line 45, in
r = tf.get_variable(name="r", dtype=tf.float32, shape=(), trainable=False)
File "sklearn_OCSVM_model.py", line 8, in
from tf_OneClass_CNN_model import func_get_ImageVectors
File "synthetic_models.py", line 1, in
#from sklearn_OCSVM_model import sklearn_OCSVM_linear,sklearn_OCSVM_rbf


The problem is that I am getting it while running both sections "Experiments: PFAM datasets" and "Experiments: Synthetic data"

Did anyone face the same problem? Do you, please, have any suggestions to fix the problem?
I am waiting forward to hearing from you

@raghavchalapathy
Copy link
Owner

raghavchalapathy commented Dec 13, 2018 via email

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

2 participants