Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cholesky_cuda: U(31,31) is zero, singular U. #25

Open
Daisy-GENG opened this issue May 26, 2022 · 0 comments
Open

cholesky_cuda: U(31,31) is zero, singular U. #25

Daisy-GENG opened this issue May 26, 2022 · 0 comments

Comments

@Daisy-GENG
Copy link

Hi,

When using "full" covariance to fit the gmm model, the following error occurred:

cholesky_cuda: U(31,31) is zero, singular U.
  File "/Cylinder3D/network/gmm.py", line 320, in _calculate_log_det
    log_det[k] = 2 * torch.log(torch.diagonal(torch.linalg.cholesky(var[0,k]))).sum()
  File "/Cylinder3D/network/gmm.py", line 290, in _estimate_log_prob
    log_det = self._calculate_log_det(precision)
  File "/Cylinder3D/network/gmm.py", line 405, in __score
    weighted_log_prob = self._estimate_log_prob(x) + torch.log(self.pi)
  File "/Cylinder3D/network/gmm.py", line 170, in fit
    self.log_likelihood = self.__score(x)
  File "/Cylinder3D/train_gmm.py", line 72, in main
    gmm_model.fit(logit_cls)
  File "/Cylinder3D/train_gmm.py", line 88, in <module>
    main()

Is is related to my data or the computation accuracy? Is there any solution to this problem?

Thank you so much!!

Best regards,
Daisy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant