-
Hi, I am looking for a way to adapt your provided example on Variational GPs with Multiple Outputs (linear dependencies between the outputs) to multiple-input dimensions. How do I need to change the model class MultitaskGPModel if I want to use, let´s say, 2 input dimensions (instead of one) and 4 tasks/output dimensions? Many thanks in advance for your help and your great work! Here is some code and the corresponding error message:
The code above is giving me following error message:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I came up with a "reasonable" solution - Changing the Initialization inputs and the inducing points works for model training. Feel free to add some remarks. Here is the code:
|
Beta Was this translation helpful? Give feedback.
-
The issue is here: inducing_points = torch.rand(num_latents, 16, 1) The inducing points need to have the same dimensionality as your inputs. So it should be: inducing_points = torch.rand(num_latents, 16, 2) |
Beta Was this translation helpful? Give feedback.
The issue is here:
The inducing points need to have the same dimensionality as your inputs. So it should be: