seq2seq_chatbot
seq2seq_chatbot copied to clipboard
AttributeError: module 'tensorflow.python.ops.rnn_cell_impl' has no attribute '_Linear'
seq2seq.py的第15行 Linear = rnn_cell_impl._Linear # pylint: disable=protected-access,invalid-name
在文件前面粘贴下面代码 from tensorflow.contrib.rnn.python.ops import core_rnn_cell 然后 Linear =core_rnn_cell._Linear # pylint: disable=protected-access,invalid-name
thanks,got it! @yjyGo
非常感谢