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

'The factorization could not be completed because the input is not positive-definite' #5

Open
davidbuterez opened this issue Sep 20, 2022 · 0 comments

Comments

@davidbuterez
Copy link

Hi,

I am experimenting with the VLAE model in a graph setting (VGAE). The main change to the standard VLAE is a graph convolution-based encoder and a reconstruction loss term.

I noticed that my models tend to crash after a few epochs (<10) with the following error:

RuntimeError: torch.linalg.cholesky: (Batch element 22): The factorization could not be completed because the input is not positive-definite (the leading minor of order 50 is not positive-definite).

This also happens when the loss becomes largely negative. If it helps, I noticed that the p_x_z loss term tends to grow much quicker than the others (graph based on the mean):

bitmap

Any advice is appreciated (can also provide more details if necessary).

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