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

RuntimeError: Lapack Error gesdd : 1 superdiagonals failed to converge. #9

Open
raj-shah opened this issue May 22, 2019 · 2 comments
Open

Comments

@raj-shah
Copy link

raj-shah commented May 22, 2019

I get a RuntimeError when running augment_data.py, which traces back to SVD (matrix_operator function invoked from tangent_space function). Possibly due to a badly-conditioned matrix?

Traceback (most recent call last):
  File "augment_data.py", line 35, in <module>
    tangent = tangent_space(data, data)
  File "/home/reddwarf/.local/lib/python3.6/site-packages/spdnet/utils.py", line 43, in tangent_space
    middle = matrix_operator(middle, 'expm')
  File "/home/reddwarf/.local/lib/python3.6/site-packages/spdnet/utils.py", line 20, in matrix_operator
    u, s, v = A.svd()
RuntimeError: Lapack Error gesdd : 1 superdiagonals failed to converge. at /opt/conda/conda-bld/pytorch_1556653183467/work/aten/src/TH/generic/THTensorLapack.cpp:406
@adavoudi
Copy link
Owner

I am not sure how to properly augment SPD matrices. This function was an idea that I thought might work. Do you have any idea?

@zhanghuayu-seu
Copy link

I have the same problem.

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