gpt4 book ai didi

python-3.x - 错误 : symeig_cpu: the algorithm failed to converge: 6 off-diagonal elements of an intermediate tridiagonal form did not converge to zero

转载 作者:行者123 更新时间:2023-12-04 15:39:16 28 4
gpt4 key购买 nike

我正在尝试使用 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)

系统配置:

  • Windows 10。
  • python 3.7
  • torch 1.2.0

我该如何调试?

最佳答案

我遇到过类似的错误。其根本原因是 Cholesky 分解在未来的某个时刻失败了,因为张量是奇异的。

关于python-3.x - 错误 : symeig_cpu: the algorithm failed to converge: 6 off-diagonal elements of an intermediate tridiagonal form did not converge to zero,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58547160/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com