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

inquiry about L_ij_bar, singular U. #22

Open
FayeXXX opened this issue Aug 5, 2020 · 3 comments
Open

inquiry about L_ij_bar, singular U. #22

FayeXXX opened this issue Aug 5, 2020 · 3 comments

Comments

@FayeXXX
Copy link

FayeXXX commented Aug 5, 2020

Thanks for ur excellent work. There is a RuntimeError when running at line 72:LLinv = torch.inverse(L_ij_bar) in reasoner.py:

RuntimeError: inverse_cuda: For batch 24: U(68,68) is zero, singular U.

I think it may because that the determinant of L_ij_bar is zero. How can i fix it?
Looking forward to ur reply.

@nanguoshun
Copy link
Owner

Hi @FayeXXX , thanks for your question. It is a bug and you may try to use a different bath size to avoid this problem. I will try to fix this issue in the future as we are now rushing to some deadlines. Thanks

@slzbywdf
Copy link

slzbywdf commented Oct 4, 2020

Hi, I met the same problem, do you have any solutions?

@nanguoshun
Copy link
Owner

hi @slzbywdf, thanks for your feedback. The simplest way is to use a different batch size or different lr to avoid this problem. I will fix this issue in the future but so far the above solution can help you to run it normally. Thanks a lot!

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

3 participants