Error running ADMM-TV
leozjr opened this issue · 0 comments
Hi author, I am getting an error while running ADMM-tv or ADMM-hsicnn. If I use the initial setup in the code, it won't work.
I found that the ori_truth of X_orig=ori_truth in the admm-tv part is not given. Is there a problem here? I changed it to X_orig=truth, then It throws an error when running psnr:
ValueError: operands could not be broadcast together with shapes (256,256,31) (256,226,31)
I found that the shift-step of admm is set to 2, so I also set the step of the measurement value to 2, but the result of running admm-tv cannot converge. And running admm-hsicnn will report an error after 89 iterations, because the hsicnn part will still have problems mentioned above.
I haven't fully understood the code, so hopefully you can answer how to get it to work?