Deep-Reinforcement-Learning-for-Dialogue-Generation-in-tensorflow icon indicating copy to clipboard operation
Deep-Reinforcement-Learning-for-Dialogue-Generation-in-tensorflow copied to clipboard

Can you tell me how to make correction in the grl_seq2seq.py?thank you very much

Open tjyjy opened this issue 5 years ago • 1 comments

AttributeError: module 'tensorflow.python.ops.rnn_cell' has no attribute '_linear'

tjyjy avatar Nov 05 '18 11:11 tjyjy

I use 'from tensorflow.contrib.rnn.python.ops import core_rnn_cell' to substitue 'from tensorflow.python.ops import rnn_cell'

'linear = rnn_cell._linear' changes into 'linear = core_rnn_cell._linear'

yjyGo avatar Mar 05 '19 02:03 yjyGo