LongxingTan / Time-series-prediction

tfts: Time Series Deep Learning Models in TensorFlow
https://time-series-prediction.readthedocs.io/en/latest/
MIT License
817 stars 164 forks source link

About transformer prediction results #2

Open dingchaoyue opened 4 years ago

dingchaoyue commented 4 years ago

I hope to get your suggestions on how to solve the problem about transformer prediction. I used the transformer model in the code to predict the data and got the results shown in the following figure. The transformer predicted results are horizontal and cannot fit the original upward sloping data.

transformer

sauradefy99 commented 4 years ago

Just a guess but looks like the transformer is trying to predict the trend-removed data?

dingchaoyue commented 4 years ago

May be so, thank you for your reply.

deshanej commented 3 years ago

I am also getting 'constant' values for predictions (ie no time variation,)anybody had any luck with a good prediction?

helloworld-wu commented 3 years ago

hello, did you solved this problem?

helloworld-wu commented 3 years ago

I am also getting 'constant' values for predictions (ie no time variation)

djph29 commented 3 years ago

Yes, increasing the number of epochs, and changing the input_sequence_length helped.

MyLinChi commented 3 years ago

I have this same problem too.And increasing the number of epochs or changing the input_sequence_length doesn't work.