-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix scaling bug in CG #45
Conversation
The ADMM quadratic tests are failing now. Can you look into that? |
Interesting. It really is because of the change I made. (Assumed it was something else because it is just a scaler taken out.) I'll look into it. |
Amended the commit. Tests passing now. Both the |
I think it is ready for rebase and merge now. |
Resolves #38 |
Can we add a test that would catch the bug? |
Change the loss scale to something like .3333 in the existing ADMM
quadratic tests and that should do the trick
…On Thu, Oct 14, 2021 at 8:59 PM Brendt Wohlberg ***@***.***> wrote:
Can we add a test that would catch the bug?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJHYQCLOWHT2AJUKAYTEQTUG6KHPANCNFSM5F6RXKRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
That doesn't do the trick, unfortunately. See branch |
No, When using the fix from this PR most of the tests from scico/test/test_admm.py::TestReal::test_admm_generic PASSED [ 16%]
scico/test/test_admm.py::TestReal::test_admm_quadratic_scico PASSED [ 33%]
scico/test/test_admm.py::TestReal::test_admm_quadratic_jax PASSED [ 50%]
scico/test/test_admm.py::TestComplex::test_admm_generic FAILED [ 66%]
scico/test/test_admm.py::TestComplex::test_admm_quadratic PASSED [ 83%]
scico/test/test_admm.py::TestCircularConvolveSolve::test_admm PASSED [100%] |
You're right, I branched it off the other
All tests pass for me now that I recreated my branch as a branch off of
Could you check the detailed log on this test? Perhaps it's failing because the accuracy tolerance is a bit too tight? |
For me, too, all tests are passing now. Thanks! |
@bwohlberg @lukepfister
Kept the
scale
factor in the Hessian the same so that it truly is still the Hessian but removed the otherscale
factor.