lazyslide_models.vision.MSTAR

lazyslide_models.vision.MSTAR#

class MSTAR(model_path=None, token=None)#

Bases: TimmViTModel

mstar 🤗Hugging Face GitHub Paper Params: 303.4M CC-BY-NC-ND-4.0 [Xu et al., 2025] A multimodal knowledge-enhanced whole-slide pathology foundation model mSTAR tile encoder: a ViT-L/16 distilled with pathology reports and RNA-Seq.

transform_kws = {'interpolation': 'bilinear'}#

Upstream eval recipe, forwarded to get_default_transform (interpolation, crop_pct, mean, std). Registered models pin it because hub pretrained_cfg entries are often stale; None (a plain timm name) reads the model’s own pretrained_cfg.