Open PeterKim1 opened 3 years ago
I tried to change a line inside compute_energy() and the code is running. (I am not running the code in the Colab though)
det_cov.append((Cholesky.apply(cov_k.cpu() (2np.pi)).diag().prod()).unsqueeze(0)) --> det_cov.append((torch.cholesky(cov_k (2math.pi), False).diag().prod()).unsqueeze(0))
_det_cov.append((torch.cholesky(cov_k * (2_math.pi), False).diag().prod()).unsqueeze(0))
update:
solution 1:
det_cov.append((torch.cholesky(cov_k * (2*math.pi), False).diag().prod()).unsqueeze(0))
solution 2:
det_cov.append((torch.cholesky(cov_k * (2*np.pi), False).diag().prod()).unsqueeze(0))
Hello. Thanks for your great works.
I use Google Colab, and in my Colab notebook, this Error occurs.
`--------------------------------------------------------------------------- AttributeError Traceback (most recent call last)