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
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
- Open an issue with the
[New Model]label to confirm the model fits the zoo. - Follow the integration guide.
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| lazyslide_models-0.1.0rc0.tar.gz | 394.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|