question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cholesky decomposition unsuccessful

See original GitHub issue

Hi,

This has been asked before. I ran into the cholesky issue repeatedly in spite of trying large batch size. I wonder how is your experience of resolving this issue. Any tips would help, thank you in advance!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
kstant0725commented, Sep 3, 2018

Lowering the learning rate helps as well. This occurs because the problem is a constrained convex optimization. If you go too fast then you can fly off the surface and get singularities.

On Wed, Aug 22, 2018 at 7:16 AM Yiyun Lan notifications@github.com wrote:

Hi,

This has been asked before. I ran into the cholesky issue repeatedly in spite of trying large batch size. I wonder how is your experience of resolving this issue. Any tips would help, thank you in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KlugerLab/SpectralNet/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AJXOK3HKFvbSD5JJmLKqgRyMVrfwnk2Yks5uTWfGgaJpZM4WHvyc .

0reactions
spdj2271commented, Jan 5, 2022

I find this problem in some datasets, such as FRGC. Then I find it works when I change the epsilon (core/layers.py line 11) from 1e-7 to 1e-5 and reduce the spec_lr from 1e-3 to 1e-5.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cholesky decomposition failed. Maybe matrix is not positive ...
Hi, I met the "Cholesky decomposition failed" error when I do chain training, the error as follows. I used sox tool to cut...
Read more >
Cholesky decomposition was not successful. The input might ...
The problem is that cholesky is failing for clearly positive definite kernels. This problem seems to come back whenever TF cholesky is ...
Read more >
Quantifying the failure of the Cholesky factorization test for ...
A false negative error : The Cholesky test fails when the matrix is positive definite. The conditions for false negative errors is pretty...
Read more >
Lecture 5 3.4.2 Cholesky factorization
Cholesky's method serves a test of positive definiteness. If A is not positive definite, the algorithm must fail. The algorithm fails if and...
Read more >
Cholesky decomposition failure for my correlation matrix
corrMat is not positive-definite. Ordinary Cholesky factorization will fail, but pivoted version works. The correct Cholesky factor here can be ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found