domerin0 / neural-chatbot

A chatbot based on seq2seq architecture done with tensorflow.
196 stars 81 forks source link

Hi i got a ImportError #14

Closed vtorrecillas closed 7 years ago

vtorrecillas commented 7 years ago

Traceback (most recent call last): File "train.py", line 18, in import models.chatbot File "/home/vinicius_torrecillas/neural-chatbot/models/chatbot.py", line 13, in from tensorflow.python.ops import rnn, rnn_cell, seq2seq ImportError: cannot import name rnn_cell

how can i fix this?

domerin0 commented 7 years ago

Hello,

Can you tell me what version of TensorFlow you are using? The import statement have changed I think. I will attempt to fix them for the latest version, but I suspect there will need to be other code changes as well to update it.

domerin0 commented 7 years ago

I made some significant changes to the project (for TF 1.2). If this or another issue persists, feel free to re-open the issue.