Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

LazySlide models

The model zoo for LazySlide, the accessible whole slide image analysis framework

Documentation Status pypi version conda version PyPI - License

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.

Model types

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.

Usage

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")

Exported models

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.

Contributing a new model

  1. Open an issue with the [New Model] label to confirm the model fits the zoo.
  2. Follow the integration guide.
  3. Open a pull request against main. The CI will test the models in your PR.

Licenses

Some models are non-commercial or gated, and licenses vary. Check each model's registry entry before use, and please cite the original paper.

Metadata

Release files for lazyslide-models 0.1.0rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lazyslide-models 0.1.0rc0
File Size Uploaded
lazyslide_models-0.1.0rc0.tar.gz 394.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lazyslide-models 0.1.0rc0
File Interpreter ABI Platform
lazyslide_models-0.1.0rc0-py3-none-any.whl Python 3 none any Details

Total release size: 527.3 kB

Release files / lazyslide_models-0.1.0rc0.tar.gz

Download URL lazyslide_models-0.1.0rc0.tar.gz
Size 394.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1ce4ef1cba794a8b6c1eae87698d6c489541ef23d717cc0f98ca5303f923aa27
BLAKE2b-256 checksum
How to use checksums
28b49538d8b008a858539bcca415efd6014cde0df842d3e5b92b80cd2d42da95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lazyslide_models-0.1.0rc0-py3-none-any.whl

Download URL lazyslide_models-0.1.0rc0-py3-none-any.whl
Size 133.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07628481dd44280f2604b7250e0707c63f9d0d40716599c8d7725fee03233e5d
BLAKE2b-256 checksum
How to use checksums
6ae2d9c8399d6480a31da527d4029e096ff4c3f11ee0de47cf3a9867bb56873f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.1.0

2 release files

This release

0.1.0rc0 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page