lazyslide_models.vision.LunitDINOPatch8Moozy#
- class LunitDINOPatch8Moozy(model_path=None, token=None)#
Bases:
LunitDINOPatch8lunit-dino-s8-moozy 🤗Hugging Face GitHub Paper Params: 21.7M lunit-non-commercial [Kang et al., 2023] Lunit DINO ViT-S/8 with the preprocessing MOOZY was trained on
lunit-dino-s8preprocessed like MOOZY’s feature extractor.MOOZY’s AtlasPatch pipeline builds the transform from the timm config of the 1aurent port: ImageNet stats, bicubic,
crop_pct0.9. Use this key, notlunit-dino-s8, for features that feedmoozy.- transform_kws = {'crop_pct': 0.9}#
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.