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
Hi - I am trying to set a GreaterThan() constraint for the constant of the mean_module -- which I thought is trival following the examples from the docs, but unfortunately, the training doesn't seem to obey it.
model = ExactGPModel(train_x, train_y, likelihood, kernel).double().cuda()
model.mean_module.register_constraint('constant', gpytorch.constraints.GreaterThan(0.5))
Anything missing here?
Upon some digging, I noticed that the constant mean is slightly different to the other hyperparameters which are tensors while the constant mean is a Parameter -- could that be it?
Hi - I am trying to set a GreaterThan() constraint for the constant of the mean_module -- which I thought is trival following the examples from the docs, but unfortunately, the training doesn't seem to obey it.
Anything missing here?
Upon some digging, I noticed that the constant mean is slightly different to the other hyperparameters which are tensors while the constant mean is a Parameter -- could that be it?
The text was updated successfully, but these errors were encountered: