Replies: 2 comments 2 replies
-
@cghernan I'm not getting any such errors following your input dimensions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The error that I get is still on
I think it's because |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to train a Gaussian Process for my data below, following the basic tutorial https://docs.gpytorch.ai/en/stable/examples/01_Exact_GPs/Simple_GP_Regression.html
I get an error on the loss calculation:
loss = -mll(output, train_y)
saying that output (model(train_x)) and train_y don't have the same dimension. Given this, I tried MultitaskGPModel https://docs.gpytorch.ai/en/stable/examples/03_Multitask_Exact_GPs/Multitask_GP_Regression.html getting a very similar error
RuntimeError: The size of tensor a (568120) must match the size of tensor b (8116) at non-singleton dimension 0
Apparently MultitaskGPModel requires the same total number of entries to be equal. Is there a way to train a multiple-entry GP?
Beta Was this translation helpful? Give feedback.
All reactions