lazyslide_models.vision.UNI#
- class UNI(model_path=None, token=None)#
Bases:
TimmViTModeluni 🤗Hugging Face GitHub Paper Params: 303.4M CC-BY-NC-ND-4.0 [Chen et al., 2024] General-purpose self-supervised model for pathology
- transform_kws = {'interpolation': 'bilinear'}#
Upstream eval recipe, forwarded to
get_default_transform(interpolation,crop_pct,mean,std). Registered models pin it because hubpretrained_cfgentries are often stale;None(a plain timm name) reads the model’s ownpretrained_cfg.