Error: symeig_cpu: the algorithm failed to converge

username: Animesh_Kumar_Paul
cooked: <p>I am trying to use <a href="https://github.com/Michaelvll/DeepCCA" class="inline-onebox" rel="noopener nofollow ugc">GitHub - Michaelvll/DeepCCA: An implementation of Deep Canonical Correlation Analysis (DCCA or Deep CCA) with pytorch.</a></p>
<p>After 20-40 iterations, It gives the following error:</p>
<blockquote>
<p><em><strong>RuntimeError: symeig_cpu: the algorithm failed to converge; 6 off-diagonal elements of an intermediate tridiagonal form did not converge to zero.</strong></em></p>
</blockquote>
<p>Error is generated from <a href="https://github.com/Michaelvll/DeepCCA/blob/master/objectives.py#L46" rel="noopener nofollow ugc">https://github.com/Michaelvll/DeepCCA/blob/master/objectives.py#L46</a></p>
<p>[D1, V1] = torch.symeig(SigmaHat11, eigenvectors=True)</p>
<p>System Configuration:<br>
Windows 10.<br>
Python 3.7<br>
Pytorch 1.2.0</p>
<p>Can anyone please help me with it?</p>

username: wei_Yan
cooked: <p><img src="https://discuss.pytorch.org/images/emoji/apple/heart_eyes.png?v=9" title=":heart_eyes:" class="emoji" alt=":heart_eyes:">I met same problem like this，Have you sloved this one ?</p>

username: huiqin_wu
cooked: <p>I met the same problems, and I don’t know how to slove it.</p>

username: ChungCheWang
cooked: <p>I found a discussion thread in the repo’s issue page, and this might work.</p><aside class="onebox githubissue">
  <header class="source">
      <a href="https://github.com/Michaelvll/DeepCCA/issues/8#issuecomment-645876335" target="_blank" rel="noopener nofollow ugc">github.com/Michaelvll/DeepCCA</a>
  </header>
  <article class="onebox-body">
    <div class="github-row">
  <div class="github-icon-container" title="Issue">
	  <svg width="60" height="60" class="github-icon" viewbox="0 0 14 16" aria-hidden="true"><path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg>
  </div>

  <div class="github-info-container">
    <h4>
      <a href="https://github.com/Michaelvll/DeepCCA/issues/8#issuecomment-645876335" target="_blank" rel="noopener nofollow ugc">Calculation of trace norm when using all singular values</a>
    </h4>

    <div class="github-info">
      <div class="date">
        opened <span class="discourse-local-date" data-format="ll" data-date="2020-06-18" data-time="08:41:51" data-timezone="UTC">08:41AM - 18 Jun 20 UTC</span>
      </div>


      <div class="user">
        <a href="https://github.com/jameschapman19" target="_blank" rel="noopener nofollow ugc">
          <img alt="jameschapman19" src="https://avatars.githubusercontent.com/u/56592797?v=4" class="onebox-avatar-inline" width="20" height="20">
          jameschapman19
        </a>
      </div>
    </div>
  </div>
</div>

<div class="github-row">
  <p class="github-content">The order of operations when using all singular values is currently sqrt(trace(T'T)) - note this is not the case when using...</p>
</div>

<div class="labels">
</div>

  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>