3D implementation of DeepLabV3
DeepLabV3+
Implementation of DeepLabV3+ for 3D. Translates the 2D version from https://github.com/giovanniguidi/deeplabV3-PyTorch to 3D. Adds the functionality to allow mulitple encoders, similar to DynamicUnet. However, works probably best with larger encoders, such as ResNet50.
ASPP(ni=2048, dilations=[1, 6, 12, 18], nf=256, norm_type=NormType.Batch)(torch.randn(10, 2048, 1, 3, 3)).size()
ASPP(ni=2048, dilations=[1, 12, 24, 36], nf=256, norm_type=NormType.Batch)(torch.randn(10, 2048, 1, 3, 3)).size()
from torchvision.models.video import r3d_18
body_3d = create_body(r3d_18, pretrained = False)
m = DynamicDeepLab(body_3d, 2, (20, 64, 64))
m(torch.randn(1, 3, 20, 64, 64)).shape