Whole-slide image streamer for TensorFlow.
Project description
histomics_stream
Overview
The goal of this project is to create a whole-slide image file reader for machine learning with TensorFlow. This reader will allow users to extract pixel data from whole-slide image formats, and will support reading paradigms that are commonly used during training and inference.
Installation for Python
histomics_stream can be easily installed with Python wheels. If you do not want the installation to be to your current Python environment, you should first create and activate a Python virtual environment (venv) to work in. Then, run the following from the command line:
apt update
apt install -y python3-openslide openslide-tools
pip uninstall -y histomics_stream large_image tensorflow
pip install histomics_stream 'large_image[all]' --find-links https://girder.github.io/large_image_wheels
Launch python3
, import the histomics_stream package, and use it
import histomics_stream as hs
This has been tested with tensorflow:2.6.2-gpu
.
History
Through version 1.0.6, this project was known as tensorflow_reader.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file histomics_stream-2.1.3.tar.gz
.
File metadata
- Download URL: histomics_stream-2.1.3.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ce6796aff8555393bd5125e087724e656c2f04be27c26d82324ae054b5c6906 |
|
MD5 | 87e09fe3c5e8a53b2ecdd6ac05cee0bb |
|
BLAKE2b-256 | bfb8d91b0a85ad6b57609615f07aac0868ca13579c9a05a8ecdfabf34e186341 |
Provenance
File details
Details for the file histomics_stream-2.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: histomics_stream-2.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dfb247be5cb7f83ec196af002e23f422b19ccb8eae7132ba7e1b08c5b249539 |
|
MD5 | 14f65c70b2b11acb7ad1a7430042a812 |
|
BLAKE2b-256 | f0ffb32e1e371eea9aa4fbc1b488970c8313d4289dcce8e50b497d03f962d68d |