我正在尝试使用https://github.com/Michaelvll/DeepCCA
经过20-40次迭代后,出现以下错误:
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)
系统配置:
我该如何调试呢?
答案 0 :(得分:2)
我遇到了类似的错误。它的根本原因是 Cholesky 分解的失败,因为张量是奇异的。