TensorFlow-Summarization icon indicating copy to clipboard operation
TensorFlow-Summarization copied to clipboard

Cannot work with higher TF version

Open bangnguyen89 opened this issue 6 years ago • 1 comments

I tried to run your code with higher TF version (1.5) but there are something wrong with these codes: decoder_cell = tf.contrib.seq2seq.DynamicAttentionWrapper( decoder_cell, attention, state_size * 2) wrapper_state = tf.contrib.seq2seq.DynamicAttentionWrapperState( self.init_state, self.prev_att)

DynamicAttentionWrapper and DynamicAttentionWrapperState already deprecated in this TF version 1.5. They replaced by AttentionWrapper and AttentionWrapperState but the input parameters are quiet complexity Could you please help us update your code to compatible with new TF version Thank you so much

bangnguyen89 avatar Mar 13 '18 12:03 bangnguyen89

This may be because the pretrained model is trained on version 1.0 and 1.1

Sparsh-Bansal avatar Jul 26 '19 18:07 Sparsh-Bansal