You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I fix this error while running python train.py
Traceback (most recent call last):
File "train.py", line 8, in
from tf_seq2seq_chatbot.lib.train import train
File "/home/laoma/nlp_Hujiang/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/train.py", line 14, in
from tf_seq2seq_chatbot.lib.seq2seq_model_utils import create_model
File "/home/laoma/nlp_Hujiang/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/seq2seq_model_utils.py", line 11, in
from tf_seq2seq_chatbot.lib import seq2seq_model
File "/home/laoma/nlp_Hujiang/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/seq2seq_model.py", line 28, in
from tensorflow.models.rnn.translate import data_utils
ModuleNotFoundError: No module named 'tensorflow.models'
The text was updated successfully, but these errors were encountered:
Roll back to the version 0.12 by using sudo pip install tensorflow==0.12 and it works. The reason is that for the version 1.x, the reference names have been changed.
How can I fix this error while running python train.py
Traceback (most recent call last):
File "train.py", line 8, in
from tf_seq2seq_chatbot.lib.train import train
File "/home/laoma/nlp_Hujiang/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/train.py", line 14, in
from tf_seq2seq_chatbot.lib.seq2seq_model_utils import create_model
File "/home/laoma/nlp_Hujiang/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/seq2seq_model_utils.py", line 11, in
from tf_seq2seq_chatbot.lib import seq2seq_model
File "/home/laoma/nlp_Hujiang/tf_seq2seq_chatbot/tf_seq2seq_chatbot/lib/seq2seq_model.py", line 28, in
from tensorflow.models.rnn.translate import data_utils
ModuleNotFoundError: No module named 'tensorflow.models'
The text was updated successfully, but these errors were encountered: