Multilevelnet

Labelprop Index / Labelprop / Multilevelnet

Auto-generated documentation for labelprop.MultiLevelNet module.

MultiLevelNet

Show source in MultiLevelNet.py:5

Convolutional network generating deformation field with different scales.

Signature

class MultiLevelNet(nn.Module):
    def __init__(self, inshape, in_channels=2, levels=3, features=16): ...

MultiLevelNet().forward

Show source in MultiLevelNet.py:41

For each levels, downsample the input and apply the convolutional block.

Signature

def forward(self, x, registration=False): ...

MultiLevelNet().get_conv_blocks

Show source in MultiLevelNet.py:26

For each levels, create a convolutional block with two Conv Tanh BatchNorm layers

Signature

def get_conv_blocks(self, in_channels, levels, intermediate_features): ...

MultiLevelNet().get_downsample_blocks

Show source in MultiLevelNet.py:20

Signature

def get_downsample_blocks(self, in_channels, levels): ...