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

Tensorflow Variable scope issue #83

Open
jaiaravind4u opened this issue May 28, 2018 · 3 comments
Open

Tensorflow Variable scope issue #83

jaiaravind4u opened this issue May 28, 2018 · 3 comments

Comments

@jaiaravind4u
Copy link

ValueError: Variable proj_w already exists, disallowed. Did you mean to set reuse=True in VarScope? Originally defined at:
File "D:\Anaconda\lib\site-packages\tensorflow\python\framework\ops.py", line 1228, in init
self._traceback = _extract_stack()
File "D:\Anaconda\lib\site-packages\tensorflow\python\framework\ops.py", line 2336, in create_op
original_op=self._default_original_op, op_def=op_def)
File "D:\Anaconda\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 768, in apply_op
op_def=op_def)

I am getting this error how to solve it

@ubialimv
Copy link

Hi,
Consider using tensorflow out of Anaconda's environment. Install python 3.5/3.6 and install tensorflow through it. Maybe you'll have to edit something and replace it, using the legacy API
(https://www.tensorflow.org/api_docs/python/tf/contrib/legacy_seq2seq).

You can try this repo https://github.com/monkut/tensorflow_chatbot as well, was forked from this one.

@jaiaravind4u
Copy link
Author

File "C:/Users/test/Desktop/tensorflow_chatbot-master/tensorflow_chatbot-master/execute.py", line 216, in decode
gpu_options = tf.GPUoptions(per_process_gpu_memory_fraction=0.2)

AttributeError: module 'tensorflow' has no attribute 'GPUoptions'

I am getting the above error when i run the code u said

@atirut-w
Copy link

same here on ubuntu

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

3 participants