Replies: 1 comment
-
If you have an exact GP, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have defined a GPModel use gpytorch, and saved it using:
import joblib
torch.save(model.state_dict(), 'gp_model.pth')
When I try to use the saved model,
model = GPModel(train_x, train_y, likelihood, amplitude=5.0, frequency=8.0, phase=0.0).to(device)
If I set train_x and train_y into None, it gives different prediction result. But in a new file, there is no train_x and train_y defined. Do I need to redefine or are there any methods?
Beta Was this translation helpful? Give feedback.
All reactions