Error: symeig_cpu: the algorithm failed to converge

I am trying to use https://github.com/Michaelvll/DeepCCA

After 20-40 iterations, It gives the following error:

RuntimeError: symeig_cpu: the algorithm failed to converge; 6 off-diagonal elements of an intermediate tridiagonal form did not converge to zero.

Error is generated from https://github.com/Michaelvll/DeepCCA/blob/master/objectives.py#L46

[D1, V1] = torch.symeig(SigmaHat11, eigenvectors=True)

System Configuration:
Windows 10.
Python 3.7
Pytorch 1.2.0

Can anyone please help me with it?

1 Like

:heart_eyes:I met same problem like this,Have you sloved this one ?

I met the same problems, and I don’t know how to slove it.

I found a discussion thread in the repo’s issue page, and this might work.