TensorFlow-Summarization
TensorFlow-Summarization copied to clipboard
AttributeError
AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'DynamicAttentionWrapper' AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'DynamicAttentionWrapperState'
I was getting this errors, which removed by removing the Dynamic from both DynamicAttentionWrapper and DynamicAttentionWrapperState
After that I am getting this error: File "C:\Users\yaser.sakkaf\Downloads\TensorFlow-Summarization-master\src\bigr u_model.py", line 90, in init self.init_state, self.prev_att) TypeError: new() missing 3 required positional arguments: 'time', 'alignment s', and 'alignment_history'
Please help.
Hi , I am getting the same error.... and I am also not able to solve it. if you solved that please let me know how Thankyou
Hi All.
same error for me.
AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'DynamicAttentionWrapper'
Is there any solution ?
Thank you. Regards,
AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'DynamicAttentionWrapper' AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'DynamicAttentionWrapperState'
I was getting this errors, which removed by removing the Dynamic from both DynamicAttentionWrapper and DynamicAttentionWrapperState
After that I am getting this error: File "C:\Users\yaser.sakkaf\Downloads\TensorFlow-Summarization-master\src\bigr u_model.py", line 90, in init self.init_state, self.prev_att) TypeError: new() missing 3 required positional arguments: 'time', 'alignment s', and 'alignment_history'
Please help.
Did you fix it?
We get this AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'DynamicAttentionWrapper' error only when we are not using Tensorflow 1.1 version. So make sure, you have installed only 1.1 version by typing - python3 -c 'import tensorflow as tf; print(tf.version)'
I am using tensorflow 1.11.0 . It is showing same errors as above. How to manage it.
any solution for this?
I have same error. i am using tensorflow 1.12 on windows cpu. removing "Dynamic" worked by am now facing: TypeError: new() missing 4 required positional arguments: 'time', 'alignments', 'alignment_history', and 'attention_state'
pip3 install tensorflow==1.1.0
or pip install tensorflow-gpu==1.1.0
(with gpu support) fixed the problem for me. This might be a temporary fix, and you dont want to downgrade to an earlier version, so install it in a virtualenv
if you havent started using virtualenv
already.
Meanwhile lets wait for the compability of this project with tensorflow's latest version 😄
Hi,
Any working solution to this problem AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'DynamicAttentionWrapper'? I'm using the TensorFlow version: 1.14.0. I also tried a few workarounds as mentioned in the above comments but still could not succeed Any leads or help on this is greatly appreciated.
Note: version 1.1.0 is deprecated now and not available to downgrade the tensorflow version