Incompatible shapes: [1150,64] vs. [1150] [Op:SquaredDifference]
I even change the shape and code run successfully but still showing same error
Incompatible shapes: [1150,64] vs. [1150] [Op:SquaredDifference]
I even change the shape and code run successfully but still showing same error
The error message says that both operands are of incompatible shapes.
Please print the model summary and see if you are constructing the model correctly.
The shape of model prediction should match series_valid
after squeeze() operation.