tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.35k stars 1.96k forks source link

from nmt import nmt #447

Open ppowdderr opened 4 years ago

ppowdderr commented 4 years ago

Traceback (most recent call last): File "F:/AI/RedditChatBot/nmt-chatbot-master/train.py", line 8, in from nmt import nmt File "F:\AI\RedditChatBot\nmt-chatbot-master\nmt\nmt.py", line 28, in from . import inference File "F:\AI\RedditChatBot\nmt-chatbot-master\nmt\inference.py", line 25, in from . import gnmt_model File "F:\AI\RedditChatBot\nmt-chatbot-master\nmt\gnmt_model.py", line 261, in class GNMTAttentionMultiCell(tf.nn.rnn_cell.MultiRNNCell): AttributeError: module 'tensorflow_core._api.v2.nn' has no attribute 'rnn_cell'

i have python 3.5.0 i have downloaded the new nmt file and replaced it with old one and still have this problem. Please help

maharajbrahma commented 4 years ago

Please try installing other version of tensorflow, this framework is not written for tensorflow v2.0.

nashid commented 4 years ago

Is there any plan to update this framework for the latest version of tensorflow?

If not what is the preferred framework?