-
Notifications
You must be signed in to change notification settings - Fork 12
Revert primal dual test to meaningful result #364
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
Conversation
It looks like the test still fails. Are we supposed to be multiplying purify/cpp/tests/algo_factory.cc Line 130 in d8c9152
Is this a unit conversion? |
Not a unit conversion, just an loose attempt to check that the average error per pixel was significantly less than the average value per pixel as a first attempt at checking for similarity of solutions. |
I will play around a bit more with these tests and the UQ tomorrow |
These tests should pass when SOPT is updated to account for the change in the initial guess for PD |
The issue was just that just that the noise was too high for the tolerance because the majority of the image is black and therefore strongly biases the average value of the pixels. Visually inspecting the results they seem consistent and the algorithms are validated in SOPT, but I think a more robust testing framework would need to be built around synthetic data with a known solution and an expected level of noise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The commit message attached to the code that had to be changed back was: "updated unit tests to be shorted and use un normed operators", which suggests that the un-normalised operators may be an issue for the implementation of the PD algorithm? (Commit 40be6b8)