singe@DESKTOP-4EAPBBC MINGW64 ~/paavel/nmt-chatbot (master)
$python train.py
Traceback (most recent call last):
File "C:\Users\singe\paavel\nmt-chatbot\train.py", line 8, in
from nmt import nmt
File "C:\Users\singe\paavel\nmt-chatbot/nmt\nmt\nmt.py", line 28, in
from . import inference
File "C:\Users\singe\paavel\nmt-chatbot/nmt\nmt\inference.py", line 25, in
from . import gnmt_model
File "C:\Users\singe\paavel\nmt-chatbot/nmt\nmt\gnmt_model.py", line 261, in
class GNMTAttentionMultiCell(tf.nn.rnn_cell.MultiRNNCell):
^^^^^^^^^^^^^^
AttributeError: module 'tensorflow._api.v2.nn' has no attribute 'rnn_cell'
So because while installing the tensorflow-gpu like it was given in the requirements.txt in the latest and in the v.1 version, it showed an error that I no install candidate couldn't be installed. Then I installed tensorflow but the versions below 2.x are not available it says:
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.5 (from versio
ERROR: No matching distribution found for tensorflow==1.15.5
Here previously it asked me to install C++ from VScode and was showing a different error but after fixing that I tried again to run it...
I have a demo to make in school tomorrow....
Can someone please tell me how to go through with this....?
singe@DESKTOP-4EAPBBC MINGW64 ~/paavel/nmt-chatbot (master) $python train.py Traceback (most recent call last): File "C:\Users\singe\paavel\nmt-chatbot\train.py", line 8, in
from nmt import nmt
File "C:\Users\singe\paavel\nmt-chatbot/nmt\nmt\nmt.py", line 28, in
from . import inference
File "C:\Users\singe\paavel\nmt-chatbot/nmt\nmt\inference.py", line 25, in
from . import gnmt_model
File "C:\Users\singe\paavel\nmt-chatbot/nmt\nmt\gnmt_model.py", line 261, in
class GNMTAttentionMultiCell(tf.nn.rnn_cell.MultiRNNCell):
^^^^^^^^^^^^^^
AttributeError: module 'tensorflow._api.v2.nn' has no attribute 'rnn_cell'
So because while installing the tensorflow-gpu like it was given in the requirements.txt in the latest and in the v.1 version, it showed an error that I no install candidate couldn't be installed. Then I installed tensorflow but the versions below 2.x are not available it says: ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.5 (from versio ERROR: No matching distribution found for tensorflow==1.15.5
Here previously it asked me to install C++ from VScode and was showing a different error but after fixing that I tried again to run it... I have a demo to make in school tomorrow.... Can someone please tell me how to go through with this....?