llSourcell / tensorflow_chatbot

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

Error executing python execute.py after installing the dependencies (i had installed tensorflow in virtualenv) #47

Open rahulpahuja opened 7 years ago

rahulpahuja commented 7 years ago

Traceback (most recent call last): File "execute.py", line 31, in import seq2seq_model File "/Users/rahul/Desktop/AI and ML/tensorflow_chatbot-master/seq2seq_model.py", line 28, in from tensorflow.models.rnn.translate import data_utils ImportError: No module named models.rnn.translate

bman46 commented 7 years ago

what version of Tensorflow do you have?

bandarikanth commented 7 years ago

To Resolve Use < 1.0 tensorflow Version and change command tf.nn.seq2seq to tf.contrib.legacy_seq2seq model