
[](https://github.com/slideflow/slideflow-gpl/actions/workflows/python-app.yml)
[](https://badge.fury.io/py/slideflow-gpl)
| [ArXiv](https://arxiv.org/abs/2304.04142) | [Docs](https://slideflow.dev) | [Cite](#reference)
**Slideflow-GPL brings additional digital pathology deep learning tools to Slideflow, under the GPL-3 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-GPL** extends Slideflow with additional tools available under the GPL-3 license, ensuring that the core package remains as open and permissive as possible.
## Requirements
- Python >= 3.8
- [Slideflow](https://github.com/jamesdolezal/slideflow) >= 3.0
- [PyTorch](https://pytorch.org/) >= 1.9
## Installation
Slideflow-GPL is easily installed via PyPI and will automatically integrate with Slideflow.
```
pip install slideflow-gpl
```
## Features
- **RetCCL**, a pretrained feature extractor ([GitHub](https://github.com/Xiyue-Wang/RetCCL) | [Paper](https://www.sciencedirect.com/science/article/abs/pii/S1361841522002730))
- **CTransPath**, a pretrained feature extractor ([GitHub](https://github.com/Xiyue-Wang/TransPath) | [Paper](https://www.sciencedirect.com/science/article/abs/pii/S1361841522002043))
- **CLAM**, a multiple-instance learning (MIL) model architecture ([GitHub](https://github.com/mahmoodlab/CLAM) | [Paper](https://www.nature.com/articles/s41551-020-00682-w))
#### RetCCL & CTransPath
The RetCCL and CTransPath feature extractors are accessible using the [same interface](https://slideflow.dev/mil/#generating-features) all pretrained extractors utilize in Slideflow.
```python
import slideflow as sf
retccl = sf.build_feature_extractor('retccl')
```
Please see the [Slideflow documentation](https://slideflow.dev/mil/#generating-features) for additional information on how feature extractors can be deployed and used.
#### CLAM
The CLAM architectures, `CLAM_SB`, `CLAM_SB`, `MIL_fc`, and `MIL_fc_mc` will be automatically available upon installation, and can be specified using the same `mil_config()` interface used for other MIL models in Slideflow.
```python
import slideflow as sf
import slideflow.mil
config = sf.mil.mil_config('clam_mb', epochs=20, lr=1e-4)
```
Please see the [Slideflow docs](https://slideflow.dev/mil/) for more information on MIL models.
## License
This code is made available under the GPLv3 License.
All three features made available in this repository - RetCCL, CTransPath, and CLAM - are licensed under GPLv3. However, please be aware that authors have stated their intent for these models to be used for non-commercial, academic purposes ([1](https://github.com/Xiyue-Wang/RetCCL), [2](https://github.com/Xiyue-Wang/TransPath), [3](https://github.com/mahmoodlab/CLAM)).
## 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}
}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/slideflow/slideflow-gpl",
"name": "slideflow-gpl",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "James Dolezal",
"author_email": "james@slideflow.ai",
"download_url": null,
"platform": null,
"description": "\n\n[](https://github.com/slideflow/slideflow-gpl/actions/workflows/python-app.yml)\n[](https://badge.fury.io/py/slideflow-gpl)\n| [ArXiv](https://arxiv.org/abs/2304.04142) | [Docs](https://slideflow.dev) | [Cite](#reference)\n\n\n**Slideflow-GPL brings additional digital pathology deep learning tools to Slideflow, under the GPL-3 license.**\n\nSlideflow 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-GPL** extends Slideflow with additional tools available under the GPL-3 license, ensuring that the core package remains as open and permissive as possible.\n\n## Requirements\n- Python >= 3.8\n- [Slideflow](https://github.com/jamesdolezal/slideflow) >= 3.0\n- [PyTorch](https://pytorch.org/) >= 1.9\n\n## Installation\nSlideflow-GPL is easily installed via PyPI and will automatically integrate with Slideflow.\n\n```\npip install slideflow-gpl\n```\n\n## Features\n- **RetCCL**, a pretrained feature extractor ([GitHub](https://github.com/Xiyue-Wang/RetCCL) | [Paper](https://www.sciencedirect.com/science/article/abs/pii/S1361841522002730))\n- **CTransPath**, a pretrained feature extractor ([GitHub](https://github.com/Xiyue-Wang/TransPath) | [Paper](https://www.sciencedirect.com/science/article/abs/pii/S1361841522002043))\n- **CLAM**, a multiple-instance learning (MIL) model architecture ([GitHub](https://github.com/mahmoodlab/CLAM) | [Paper](https://www.nature.com/articles/s41551-020-00682-w))\n\n#### RetCCL & CTransPath\n\nThe RetCCL and CTransPath feature extractors are accessible using the [same interface](https://slideflow.dev/mil/#generating-features) all pretrained extractors utilize in Slideflow.\n\n```python\nimport slideflow as sf\n\nretccl = sf.build_feature_extractor('retccl')\n```\n\nPlease see the [Slideflow documentation](https://slideflow.dev/mil/#generating-features) for additional information on how feature extractors can be deployed and used. \n\n#### CLAM\n\nThe CLAM architectures, `CLAM_SB`, `CLAM_SB`, `MIL_fc`, and `MIL_fc_mc` will be automatically available upon installation, and can be specified using the same `mil_config()` interface used for other MIL models in Slideflow.\n\n```python\nimport slideflow as sf\nimport slideflow.mil\n\nconfig = sf.mil.mil_config('clam_mb', epochs=20, lr=1e-4)\n```\n\nPlease see the [Slideflow docs](https://slideflow.dev/mil/) for more information on MIL models.\n\n## License\nThis code is made available under the GPLv3 License.\n\nAll three features made available in this repository - RetCCL, CTransPath, and CLAM - are licensed under GPLv3. However, please be aware that authors have stated their intent for these models to be used for non-commercial, academic purposes ([1](https://github.com/Xiyue-Wang/RetCCL), [2](https://github.com/Xiyue-Wang/TransPath), [3](https://github.com/mahmoodlab/CLAM)). \n\n## Reference\nIf you find our work useful for your research, or if you use parts of this code, please consider citing as follows:\n\nDolezal, 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\n\n```\n@Article{Dolezal2024,\n 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.},\n title={Slideflow: deep learning for digital histopathology with real-time whole-slide visualization},\n journal={BMC Bioinformatics},\n year={2024},\n month={Mar},\n day={27},\n volume={25},\n number={1},\n pages={134},\n doi={10.1186/s12859-024-05758-x},\n url={https://doi.org/10.1186/s12859-024-05758-x}\n}\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "GPL-3 extensions and tools for Slideflow.",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/slideflow/slideflow-gpl"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e37a30b69fd73cc5baf93a79c7c58532ff5e79f08f1ad9591c0c2231ad11874e",
"md5": "09545d592fcdc3be862b194df5f41ef5",
"sha256": "8629f58c033e16039dd55e4ab61074eb2549e99ac64fa2cf5c617a5b8a686318"
},
"downloads": -1,
"filename": "slideflow_gpl-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "09545d592fcdc3be862b194df5f41ef5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 63676,
"upload_time": "2024-08-17T04:50:58",
"upload_time_iso_8601": "2024-08-17T04:50:58.279061Z",
"url": "https://files.pythonhosted.org/packages/e3/7a/30b69fd73cc5baf93a79c7c58532ff5e79f08f1ad9591c0c2231ad11874e/slideflow_gpl-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-17 04:50:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "slideflow",
"github_project": "slideflow-gpl",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "slideflow-gpl"
}