conversation-tensorflow icon indicating copy to clipboard operation
conversation-tensorflow copied to clipboard

Error when run in tensorflow 1.6+

Open nguyenvulebinh opened this issue 6 years ago • 2 comments

When I run your project in tf 1.6 or tf 1.7, I got an error:

TypeError: The two structures don't have the same sequence type. First structure has type <class 'tuple'>, while second structure has type <class 'tensorflow.python.ops.rnn_cell_impl.LSTMStateTuple'>.

This happend in decoder.py line: self.decoder_initial_state.clone(cell_state=encoder_final_state). Can you check it?

nguyenvulebinh avatar Mar 30 '18 06:03 nguyenvulebinh

Okay I'll check the codes with tf 1.8 version. Sorry for late comment.

DongjunLee avatar Apr 29 '18 15:04 DongjunLee

I fixed it. Could you pull latest commit and test it again?

DongjunLee avatar Apr 30 '18 12:04 DongjunLee