I used this tutorial when developing my LSTM model to predict Bitcoin prices and changed it with using my data: https://stackabuse.com/time-series-prediction-using-lstm-with-pytorch-in-python/
Whenever I use my test data for it to predict it just predicts a horizontal straight line for the whole thing like this:
I don’t know why this is happening because when I trained the model it had a final loss of 0.0000000075. I’m not sure if this is an error in my code or a problem in training my model.
I would appreciate it a lot if someone could help me with this