Skip to main content

slideflow logo

Python application PyPI version | ArXiv | Docs | Cite

Slideflow-NonCommercial brings additional digital pathology deep learning tools to Slideflow, under the CC BY-NC 4.0 license.

Slideflow is designed to provide an accessible, easy-to-use interface for developing state-of-the-art pathology models. While the core Slideflow package integrates with a wide range of cutting-edge methods and models, the variability in licensing practices necessitates that some functionality is distributed through separate add-on packages. Slideflow-NonCommercial extends Slideflow with additional tools available under the CC BY-NC 4.0 non-commercial license, ensuring that the core package remains as open and permissive as possible.

Requirements

  • Python >= 3.8
  • Slideflow >= 3.0
  • PyTorch >= 1.12
    • StyleGAN3 requires PyTorch <1.13
    • GigaPath requires PyTorch >= 2.0

Installation

Slideflow-NonCommercial is easily installed via PyPI and will automatically integrate with Slideflow.

pip install slideflow-noncommercial

The GigaPath foundation model has extra requirements, which can be installed by adding [gigapath]:

pip install slideflow-noncommercial[gigapath]

Features

  • Phikon (previously "histossl"), a pretrained foundation model (GitHub | Paper)
  • PLIP, a pretrained foundation model (GitHub | Paper)
  • GigaPath, a pretrained whole-slide foundation model (GitHub | Paper)
  • UNI, a pretrained foundation model (GitHub | Paper)
  • BISCUIT, an uncertainty quantification and thresholding algorithm (GitHub | Paper)
  • StyleGAN3, a generative adversarial network (GAN) used for both image synthesis and model explainability (GitHub | Paper)

Foundation models

These foundation models are accessible using the same interface all pretrained extractors utilize in Slideflow.

import slideflow as sf

retccl = sf.build_feature_extractor('uni')

Please see the Slideflow documentation for additional information on how feature extractors can be deployed and used.

StyleGAN3

GANs can be trained and deployed in Slideflow, both programmatically and with Slideflow Studio. Please see the Slideflow docs for examples and instructions for use.

BISCUIT

The uncertainty quantification and thresholding algorithm BISCUIT will be automatically added as a submodule at slideflow.biscuit. Please see the BISCUIT docs for examples and use.

License

This code is made available under the CC BY-NC 4.0 license for non-commercial research applications.

Reference

If you find our work useful for your research, or if you use parts of this code, please consider citing as follows:

Dolezal, J.M., Kochanny, S., Dyer, E. et al. Slideflow: deep learning for digital histopathology with real-time whole-slide visualization. BMC Bioinformatics 25, 134 (2024). https://doi.org/10.1186/s12859-024-05758-x

@Article{Dolezal2024,
    author={Dolezal, James M. and Kochanny, Sara and Dyer, Emma and Ramesh, Siddhi and Srisuwananukorn, Andrew and Sacco, Matteo and Howard, Frederick M. and Li, Anran and Mohan, Prajval and Pearson, Alexander T.},
    title={Slideflow: deep learning for digital histopathology with real-time whole-slide visualization},
    journal={BMC Bioinformatics},
    year={2024},
    month={Mar},
    day={27},
    volume={25},
    number={1},
    pages={134},
    doi={10.1186/s12859-024-05758-x},
    url={https://doi.org/10.1186/s12859-024-05758-x}
}

Metadata

Release files for slideflow-noncommercial 0.0.2

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

Built distribution (wheel)

Table of built distributions (wheels) for slideflow-noncommercial 0.0.2
File Interpreter ABI Platform
slideflow_noncommercial-0.0.2-py3-none-any.whl Python 3 none any Details

Release files / slideflow_noncommercial-0.0.2-py3-none-any.whl

Download URL slideflow_noncommercial-0.0.2-py3-none-any.whl
Size 358.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e63bbc1dca55a1b3ab29bbc7bfc689001cbeba88b08bdc12139575f29c992c51
BLAKE2b-256 checksum
How to use checksums
dd7ae339956ec04133faf993f837fd590ee6f44bb98d28a2120b63bfc28e4b8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

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