Generic implementation of pytorch basic and nested unet.
Certain internal implementation (e.g., hooks) relies on fastai
.
Basic UNet with customizable encoder path:
from generic_unet import BasicUNet
Nested UNet with customizable encoder and number of nested levels.
from generic_unet import NestedUNet
Detailed showcase and full documentation.