momenator / deform_conv

Pytorch implementation of 2D and 3D deformable convolution specified in https://arxiv.org/abs/1703.06211.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deformable convolution in 2d and 3d

Usage

from deformable_conv_3d import deform_conv3d

image = torch.rand(1, 16, 64, 64, 64)
def_conv3 = deform_conv3d(in_c=16, out_c=32, kernel_size=(3,3,3))

result = def_conv3(image)

About

Pytorch implementation of 2D and 3D deformable convolution specified in https://arxiv.org/abs/1703.06211.

License:MIT License


Languages

Language:Python 68.4%Language:Jupyter Notebook 31.6%