Skip to content
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

Which format for „offset“ in Deform_conv3D.py in forward function? #1

Open
DezzardHD opened this issue Jan 10, 2022 · 0 comments
Open

Comments

@DezzardHD
Copy link

def forward(self, x, offset):
        dtype = offset.data.type()
        ks = self.kernel_size
        N = offset.size(1) // 3

Hey,

I‘m trying to find a „deformable 3d convolutional layer“ for pytorch for 3d grayscale images (in my case medical ultrasound data).

I‘ve build an auto-encoder using https://github.com/kondratevakate/3d-deformable-convolutions in the encoder and decoder. Unfortunately it seems not to learn properly (compared to a typical network with non-deformable convolutional kernels it learns slowly).

Also tried this one:
https://github.com/XinyiYing/D3Dnet
Similar issue there.

Now I would like to try your implementation.
I couldn‘t figure out how to format the „offset“-parameter of the forward function of the deformable layer.

You‘ve mentioned in the README that currently only your core part of the code is published. Is the deformable layer currently ready-to-use?

Would be glad to hear from you!

Best regards
Moritz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant