Open tangyudi opened 7 years ago
This is due to a bug in tensorflow seq2seq module: https://stackoverflow.com/questions/44591282/error-when-running-tensorflow-sequence-to-sequence-tutorial
How to fix this issue?
tensorflow.version
'1.1.0'
self.decode_outputs, self.decode_states = tf.contrib.legacy_seq2seq.embedding_rnn_seq2seq(self.enc_ip,self.dec_ip, stacked_lstm, xvocab_size, yvocab_size, emb_dim)
AttributeError: 'NoneType' object has no attribute 'update'
I am currently facing the same issue, has anyone found the fix for this yet?
I have overcome this problem using tensorflow 1.0 (the bug affects tensorflow 1.1 )
When I run the code self.decode_outputs, self.decode_states = tf.contrib.legacy_seq2seq.embedding_rnn_seq2seq(self.enc_ip,self.dec_ip, stacked_lstm, xvocab_size, yvocab_size, emb_dim) it occurs 'NoneType' object has no attribute 'update'. Thanks for help!