Use tf.contrib.legacy_seq2seq.embedding_rnn_seq2seq with tensorflow 1.5 case 'TypeError: can't pickle _thread.lock objects', this issue is the same as https://github.com/suriyadeepan/practical_seq2seq/issues/31 I use the way someone post: change the code of tf in embedding_rnn_seq2seq function
encoder_cell = copy.deepcopy(cell) => encoder_cell = copy.copy(cell)
Is it the right way to fix this issue? Or is there any other way to fix this. the API of tf make me mess, change so frequently,
tf.nn.rnn_cell, tf.contrib.seq2seq, tf.legacy_seq2seq
kill me!!