-
Notifications
You must be signed in to change notification settings - Fork 58
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
Patch2Self error #827
Comments
I can probably get this fixed if you let me know what the preferred approach for setting the window to go |
@ShreyasFadnavis Do you have an algorithm for picking a window size for patch2self? |
Hi @mattcieslak - yes! I do have it in my new paper: https://openaccess.thecvf.com/content/CVPR2024/papers/Fadnavis_Patch2Self2_Self-supervised_Denoising_on_Coresets_via_Matrix_Sketching_CVPR_2024_paper.pdf The new version of P2S will be available in DIPY soon, but till then a patch size of 0 should be good for all human brain data. If it's non-human brain data, going to a patch of [1, 1, 1] or higher is recommended. I'd just default to 0 in general. |
May be worth it then to just hard-code that for now and restrict the |
Using
v 0.22.1
, I went to use patch2self as the denoising method (which I've done for every QSIPrep version since 0.11) and got this:Looks like the issue is here, where
dwi_denoise_window
gets defined whenconfig.workflow.dwi_denoise_window == "auto") for
dwidenoisebut not for
patch2self`. Based on :qsiprep/qsiprep/workflows/dwi/merge.py
Lines 414 to 418 in 2967323
May need to either define
dwi_denoise_window
for thepatch2self
or passconfig.workflow.dwi_denoise_window
to the `Patch2Self`` node on L499The text was updated successfully, but these errors were encountered: