You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the example provided in the documentation for the Times Net model that uses the Air passengers monthly data. While experimenting, i tried to increase the forecast horizon (h) above 12 months but i keep getting a Runtime error that the maximum size of tensor at dimension 2 is not enough. The model is working fine if i use h<= 12.
In the attached script i have used h=24 and input_size=48 and the error i get is the following:
elenamanth
changed the title
TimesNet: Runtime error when trying to forecast more than 12 months [<Library component: Model|Core|etc...>]
TimesNet: Runtime error when trying to forecast more than 12 months
Aug 8, 2024
What happened + What you expected to happen
I am using the example provided in the documentation for the Times Net model that uses the Air passengers monthly data. While experimenting, i tried to increase the forecast horizon (h) above 12 months but i keep getting a Runtime error that the maximum size of tensor at dimension 2 is not enough. The model is working fine if i use h<= 12.
In the attached script i have used h=24 and input_size=48 and the error i get is the following:
Versions / Dependencies
pandas==1.5.3
torch==2.0.0
neuralforecast==1.7.3
numpy==1.23.5
python== 3.8.10
Reproduction script
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: