santhoshkolloju / Abstractive-Summarization-With-Transfer-Learning

Abstractive summarisation using Bert as encoder and Transformer Decoder
406 stars 98 forks source link

AttributeError: module 'tensorflow.python.layers.layers' has no attribute 'Layer' #12

Open dreamfuluser opened 5 years ago

dreamfuluser commented 5 years ago

File "texar_repo\texar\core\layers.py", line 628, in class _ReducePooling1D(tf.layers.Layer): AttributeError: module 'tensorflow.python.layers.layers' has no attribute 'Layer'

what should i do ? thanks

santhoshkolloju commented 5 years ago

Plz check the tensorflow version. Install version 1.12