Assertion error when i execute the text summarization code using lstm


Hello, thank you so much for the code but I’ve been trying to run the same in google colab and when i build the model it says “Assertion error”.
Can someone please tell me how to fix it
Thank you

Error shows that it check if input_shape is a dictionary - so check what you have in variables encoder_outputs, decoder_outputs. You can use print(...) and print(type(...))

© Copyright 2013-2021 Analytics Vidhya