llSourcell / tensorflow_chatbot

Tensorflow chatbot demo by @Sirajology on Youtube
1.45k stars 806 forks source link

TypeError: module 'tensorflow.python.ops.nn' has no attribute 'seq2seq' #78

Open DanielUnn opened 6 years ago

DanielUnn commented 6 years ago

I got this error when I'm trying to train the data. Do you guys face this problem? I am new to python. Can anyone please help? Thanks.

capture1

dimwael commented 6 years ago

I have the same issue .. reading some forums i've found this : (i didn't try it yet .. ) https://github.com/nfmcclure/tensorflow_cookbook/issues/21

ckc5800 commented 6 years ago

I have the same problem.

3dozens commented 6 years ago

This repo using an old version of tensorflow(r0.12). Some errors may occur if you are using a recent version of TF. There is a modified version in pull request. Check https://github.com/llSourcell/tensorflow_chatbot/pull/77

ckc5800 commented 6 years ago

@3dozens thank you 👍 Thank you. I'll try.

manav1289 commented 6 years ago

use tensorflow.contrib.seq2seq wherever tensorflow.python.ops.nn you have written it worked for me