pvt_tiny_cls(pretrained: bool = False, overrides: object = {})PVT-Tiny image classifier — alias for pvt_v2_b1_cls.
Backwards-compatible alias kept for users on older releases that
referred to the ~14M-parameter classifier as "PVT-Tiny". Identical
to pvt_v2_b1_cls in every respect.
Model Size
Parameters
pretrainedbool= FalseIf
True, loads ImageNet-1k pretrained weights when
available. Defaults to False.**overridesobject= {}Keyword overrides on top of the canonical PVT v2-B1 config.
Returns
PVTForImageClassificationClassifier whose logits has shape (B, num_classes).
Examples
>>> import lucid
>>> from lucid.models.vision.pvt import pvt_tiny_cls
>>> model = pvt_tiny_cls(num_classes=1000)
>>> x = lucid.randn(1, 3, 224, 224)
>>> model(x).logits.shape
(1, 1000)See Also
pvt_v2_b1_cls—The canonical factory this alias forwards to.