Skip to main content

Python specific core utilities for bioimage.io resources (in particular DL models).

Project description

License PyPI conda-version downloads conda-forge downloads code style coverage

bioimageio.core

bioimageio.core is a python package that implements prediction with bioimage.io models including standardized pre- and postprocessing operations. Such models are represented as bioimageio.spec resource descriptions.

In addition bioimageio.core provides functionality to convert model weight formats and compute selected dataset statistics used for preprocessing.

Documentation

Here you find the bioimageio.core documentation.

Examples

Notebooks that save and load resource descriptions and validate their format (using bioimageio.spec, a dependency of bioimageio.core)

Use the described resources in Python with bioimageio.core

Presentations

Set up Development Environment

To set up a development environment run the following commands:

conda create -n core python=$(grep -E '^requires-python' pyproject.toml | grep -oE '[0-9]+\.[0-9]+')
conda activate core
pip install -e .[dev,partners]

Joint development of bioimageio.spec and bioimageio.core

Assuming spec-bioimage-io is cloned to the parent folder a joint development environment can be created with the following commands:

conda create -n core python=$(grep -E '^requires-python' pyproject.toml | grep -oE '[0-9]+\.[0-9]+')
conda activate core
pip install -e .[dev,partners] -e ../spec-bioimage-io[dev]

Logging level

bioimageio.spec and bioimageio.core use loguru for logging, hence the logging level may be controlled with the LOGURU_LEVEL environment variable. The bioimageio CLI has logging enabled by default. To activate logging when using bioimageio.spec/bioimageio.core as a library, add

from loguru import logger

logger.enable("bioimageio")

Changelog

See changelog.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bioimageio_core-0.10.2.tar.gz (97.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bioimageio_core-0.10.2-py3-none-any.whl (99.6 kB view details)

Uploaded Python 3

File details

Details for the file bioimageio_core-0.10.2.tar.gz.

File metadata

  • Download URL: bioimageio_core-0.10.2.tar.gz
  • Upload date:
  • Size: 97.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bioimageio_core-0.10.2.tar.gz
Algorithm Hash digest
SHA256 3a95f4bd8e77d7026f963833d1d84cdc04e27dd016ff1e9cee26a0b7cb3a435b
MD5 93018487d5f9a639328e850ecca494c9
BLAKE2b-256 ddc47bbbcb09cfd465a860b4527bf657b540aa9889f01a1c0b7336ba3feb43d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for bioimageio_core-0.10.2.tar.gz:

Publisher: build.yaml on bioimage-io/core-bioimage-io-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bioimageio_core-0.10.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bioimageio_core-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a983b90b40a051274ee7f83024844184edbd1a8d9ad12b6a8a23f1cedcb8a6f4
MD5 b620305e530f77c5d00af2ca1dbcbfa7
BLAKE2b-256 be38659c9023d739bda329bfea5847576486c805cf1546b9a043a1a3f64183d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for bioimageio_core-0.10.2-py3-none-any.whl:

Publisher: build.yaml on bioimage-io/core-bioimage-io-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page