Closed henrfr closed 7 months ago
Hi Henrik,
Thanks for bringing this to our attention. This is definitely a bug in our code. LEAP is designed so that there are no differences between running the CPU versus GPU implementations of these algorithms.
I don't know if you noticed some of the recent activity on this repo (in other branches), but Hyojin and I are working on resolving several bugs/ issues, and feature improvements to LEAP. We hope to have a new release in the next couple of days. Just wait for a change to the main branch. Thanks for your patience.
~Kyle
This issue has been resolved and the changes commited to the main branch.
There were basically two issues here. The first and main issue was that I changed the API in the C code, but forgot to change it in the Python code. One was not supposed to give the "arange" parameter to the set_cone_beam function.
The second issue was some discrepancies between between the CPU and GPU projectors. These have all been resolved now and CPU and GPU operations should agree to within five or six digits of accuracy.
Hello! I have tested the code and observed that I get different results when forward projecting on the CPU vs the GPU. See the image below. Is this expected behavior?
Code to reproduce: