Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Error with Attention Layer for Text Summarisation

$
0
0

Hello all, I have been following this tutorial on how to do Text Summarisation: https://www.analyticsvidhya.com/blog/2019/06/comprehensive-guide-text-summarization-using-deep-learning-python/

However, I hit a speed bump and got the error:
# AttributeError: 'tuple' object has no attribute '_keras_shape'

When I ran the code:
attn_out, attn_states = attn_layer([encoder_outputs, decoder_outputs])
In the section where the model is being built.

Could anyone help me out? Thanks in advance!!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles