lazyslide_models.vision.UNI2#
- class UNI2(model_path=None, token=None)#
Bases:
TimmViTModeluni2 🤗Hugging Face GitHub Paper Params: 681.4M CC-BY-NC-ND-4.0 [Chen et al., 2024] An improved version of UNI
- 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.