Skip to content

Commit 225a7d2

Browse files
authored
Merge pull request #360 from bioimage-io/bump_post
Release 0.5.10
2 parents 418c750 + 1e5e2c8 commit 225a7d2

File tree

2 files changed

+28
-9
lines changed

2 files changed

+28
-9
lines changed

README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,45 +7,52 @@ Python specific core utilities for running models in the [BioImage Model Zoo](ht
77
### Via Conda
88

99
The `bioimageio.core` package can be installed from conda-forge via
10+
1011
```
1112
conda install -c conda-forge bioimageio.core
1213
```
14+
1315
if you don't install any additional deep learning libraries, you will only be able to use general convenience functionality, but not any functionality for model prediction.
1416
To install additional deep learning libraries use:
1517

1618
* Pytorch/Torchscript:
19+
1720
```bash
1821
# cpu installation (if you don't have an nvidia graphics card)
1922
conda install -c pytorch -c conda-forge bioimageio.core pytorch torchvision cpuonly
2023

2124
# gpu installation (for cuda 11.6, please choose the appropriate cuda version for your system)
22-
conda install -c pytorch -c nvidia -c conda-forge bioimageio.core pytorch torchvision pytorch-cuda=11.6
25+
conda install -c pytorch -c nvidia -c conda-forge bioimageio.core pytorch torchvision pytorch-cuda=11.6
2326
```
24-
Note that the pytorch installation instructions may change in the future. For the latest instructions please refer to [pytorch.org](https://pytorch.org/).
2527

28+
Note that the pytorch installation instructions may change in the future. For the latest instructions please refer to [pytorch.org](https://pytorch.org/).
2629

2730
* Tensorflow
31+
2832
```bash
2933
# currently only cpu version supported
3034
conda install -c conda-forge bioimageio.core tensorflow
3135
```
3236

3337
* ONNXRuntime
38+
3439
```bash
3540
# currently only cpu version supported
3641
conda install -c conda-forge bioimageio.core onnxruntime
3742
```
38-
43+
3944
### Via pip
4045

4146
The package is also available via pip:
47+
4248
```
4349
pip install bioimageio.core
4450
```
4551

4652
### Set up Development Environment
4753

4854
To set up a development conda environment run the following commands:
55+
4956
```
5057
conda env create -f dev/environment-base.yaml
5158
conda activate bio-core-dev
@@ -57,40 +64,52 @@ There are different environment files that only install tensorflow or pytorch as
5764
## Command Line
5865

5966
`bioimageio.core` installs a command line interface for testing models and other functionality. You can list all the available commands via:
67+
6068
```
6169
bioimageio
6270
```
6371

6472
Check that a model adheres to the model spec:
73+
6574
```
6675
bioimageio validate <MODEL>
6776
```
6877

6978
Test a model (including prediction for the test input):
79+
7080
```
7181
bioimageio test-model <MODEL>
7282
```
7383

7484
Run prediction for an image stored on disc:
85+
7586
```
7687
bioimageio predict-image <MODEL> --inputs <INPUT> --outputs <OUTPUT>
7788
```
7889

7990
Run prediction for multiple images stored on disc:
91+
8092
```
8193
bioimagei predict-images -m <MODEL> -i <INPUT_PATTERN> - o <OUTPUT_FOLDER>
8294
```
83-
`<INPUT_PATTERN>` is a `glob` pattern to select the desired images, e.g. `/path/to/my/images/*.tif`.
8495

96+
`<INPUT_PATTERN>` is a `glob` pattern to select the desired images, e.g. `/path/to/my/images/*.tif`.
8597

8698
## From python
8799

88100
`bioimageio.core` is a python library that implements loading models, running prediction with them and more.
89101
To get an overview of this functionality, check out the example notebooks:
90-
- [example/model_usage](https://github.com/bioimage-io/core-bioimage-io-python/blob/main/example/model_usage.ipynb) for how to load models and run prediction with them
91-
- [example/model_creation](https://github.com/bioimage-io/core-bioimage-io-python/blob/main/example/model_creation.ipynb) for how to create bioimage.io compatible model packages
92-
- [example/dataset_statistics_demo](https://github.com/bioimage-io/core-bioimage-io-python/blob/main/example/dataset_statistics_demo.ipynb) for how to use the dataset statistics for advanced pre-and-postprocessing
102+
103+
* [example/model_usage](https://github.com/bioimage-io/core-bioimage-io-python/blob/main/example/model_usage.ipynb) for how to load models and run prediction with them
104+
* [example/model_creation](https://github.com/bioimage-io/core-bioimage-io-python/blob/main/example/model_creation.ipynb) for how to create bioimage.io compatible model packages
105+
* [example/dataset_statistics_demo](https://github.com/bioimage-io/core-bioimage-io-python/blob/main/example/dataset_statistics_demo.ipynb) for how to use the dataset statistics for advanced pre-and-postprocessing
93106

94107
## Model Specification
95108

96-
The model specification and its validation tools can be found at https://github.com/bioimage-io/spec-bioimage-io.
109+
The model specification and its validation tools can be found at <https://github.com/bioimage-io/spec-bioimage-io>.
110+
111+
## Changelog
112+
113+
### 0.5.10
114+
115+
* [Fix critical bug in predict with tiling](https://github.com/bioimage-io/core-bioimage-io-python/pull/359)

bioimageio/core/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "0.5.9"
2+
"version": "0.5.10"
33
}

0 commit comments

Comments
 (0)