-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Model: TFT] StaticCovariateEncoder fails with empty tensor concatenation error #1273
Comments
@emhedlin
Alternatively, if you want to pass in these two and they are not really used, I suggest you try with |
Training still fails when I:
For transparency, I have known and unknown regressors with my real world data, and everything works perfectly as long as I specify no static regressors ( |
Hello! The error occurs because in the code, we expect For now, you can set Thanks for pointing it out! |
Thanks @marcopeix , this works 👍 |
The issue
When trying to use the TFT model with static features, the model fails with a
RuntimeError: torch.cat(): expected a non-empty list of Tensors
.The model failed with real world data I was using, so I tried with generate_series() data and it failed in the same way.
Versions / Dependencies
neuralforecast version:
2.0.1
python version:
3.10.12
os:
Pop Os
Reproduction script
Issue Severity
None
The text was updated successfully, but these errors were encountered: