Can affine transformation backpropagate gradient? #1034
Unanswered
JiajiZhu01
asked this question in
Q&A
Replies: 1 comment
-
Hi no the affine transfo is base on sitk, which do the all computation with numpy so no backpropagation. You want to learn a coregistration ? this is something I would like to test too, but I did not find the time to do it. https://github.com/Hsankesara/VoxelMorph-PyTorch I hope it helps, and if you find out other solutions, let me know Romain |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, we are using torchio as part of our code to train a 3D MRI registration model. The model output is the 9 affine transformation parameters (scales,degrees,translations). We will then use these parameters to transforme the 3D MRI, get the central slice in the Z direction and compare it to a groundtruth 2D image to get the loss. However, tio.affine cannot backpropage losses. Is there any other way to do this?
Beta Was this translation helpful? Give feedback.
All reactions