Incompatible shapes: [1150,32] vs. [1150] [Op:SquaredDifference]

I am really working hard since three days on this assignment and today is the last day of this assignment deadline .I tried everything to get rid of this error but nothing is working please someone can explain where is the problem It’s a hearty request.

print(model.summary()) and pay attention to recurrent layer output keeping output of the last layer in mind.

Just saw your notebook. There’s one thing you’ve taken for granted. See this post to understand the meaning of return_sequences. Why did you set it?