The model zoo for LazySlide
3
stars
50
commits
Python
primary language
Sep 5, 2026
updated
The model zoo for LazySlide, the accessible whole slide image analysis framework
lazyslide-models contains all the models consumed by LazySlide. LazySlide
itself contains no model code, it is an inference and orchestration layer that
discovers models through the MODEL_REGISTRY. Any registered model can be used
by name with zero configuration.
The zoo spans different task types: vision encoders, multimodal (image-text) models,
segmentation, slide encoders, tile prediction, classical hand-crafted features,
feature prediction, style transfer (HE to spatial omics or IHC stainings), image generation and chat models. Every
timm model is also available for feature extraction (e.g. resnet50).
The complete per-task model list, with licenses, gated-access badges and citation keys, is maintained in the Model Zoo Website.
from lazyslide_models import MODEL_REGISTRY, list_models
list_models("segmentation") # ['cellpose', 'classpose', 'sam', ...]
model = MODEL_REGISTRY["instanseg"]() # instantiate (weights download on first use)
In LazySlide, pass the registered name to any function:
zs.tl.feature_extraction(wsi, model="conch") # any vision or multimodal key
zs.seg.cells(wsi, model="instanseg")
Models that cannot be loaded directly from Hugging Face are exported to
RendeiroLab/LazySlide-models
(permissive and non-commercial licenses) and
RendeiroLab/LazySlide-models-gpl
(GPL). Reproduction scripts: scripts/export_models.
[New Model] label to confirm the model fits the zoo.main. The CI will test the models in your PR.Some models are non-commercial or gated, and licenses vary. Check each model's registry entry before use, and please cite the original paper.
Python
81.4%
TeX
6.1%
JavaScript
6.0%
CSS
5.3%
The model zoo for LazySlide
3
stars
50
commits
Python
primary language
Sep 5, 2026
updated
The model zoo for LazySlide, the accessible whole slide image analysis framework
lazyslide-models contains all the models consumed by LazySlide. LazySlide
itself contains no model code, it is an inference and orchestration layer that
discovers models through the MODEL_REGISTRY. Any registered model can be used
by name with zero configuration.
The zoo spans different task types: vision encoders, multimodal (image-text) models,
segmentation, slide encoders, tile prediction, classical hand-crafted features,
feature prediction, style transfer (HE to spatial omics or IHC stainings), image generation and chat models. Every
timm model is also available for feature extraction (e.g. resnet50).
The complete per-task model list, with licenses, gated-access badges and citation keys, is maintained in the Model Zoo Website.
from lazyslide_models import MODEL_REGISTRY, list_models
list_models("segmentation") # ['cellpose', 'classpose', 'sam', ...]
model = MODEL_REGISTRY["instanseg"]() # instantiate (weights download on first use)
In LazySlide, pass the registered name to any function:
zs.tl.feature_extraction(wsi, model="conch") # any vision or multimodal key
zs.seg.cells(wsi, model="instanseg")
Models that cannot be loaded directly from Hugging Face are exported to
RendeiroLab/LazySlide-models
(permissive and non-commercial licenses) and
RendeiroLab/LazySlide-models-gpl
(GPL). Reproduction scripts: scripts/export_models.
[New Model] label to confirm the model fits the zoo.main. The CI will test the models in your PR.Some models are non-commercial or gated, and licenses vary. Check each model's registry entry before use, and please cite the original paper.
Python
81.4%
TeX
6.1%
JavaScript
6.0%
CSS
5.3%