vanilla¶

Define vanilla CNNs with torch backbones, mainly for patch classification.

Classes

CNNBackbone

Retrieve the model backbone and strip the classification layer.

CNNModel

Retrieve the model backbone and attach an extra FCN to perform classification.

TimmBackbone

Retrieve tile encoders from timm.

TimmModel

Retrieve the tile encoder from timm.