'Trying to copy an LSTM code, giving me an error "x and y must have same first dimension, but have shapes (1103,) and (275,)"

I'm trying to copy a LSTM model that I found from here: Stock Market-Predict volume with LSTM model

I'm getting stuck on the last line of code. Specifically, this is what it tells me:

Picture of code

I literally know next to nothing about code just basic python.

If you want to, I can add you to like the google drive collaboratory so you could look at the whole code.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source