Open tibuch opened 3 months ago
Hi Tim!
The issue is basically that we cannot perform tiling with the new version of bioimageio.core library on "old models" (with a format version < 0.5).
For simply testing the inference, I would recommend using the test run online in the website. It will do the tiling and it's straightforward to drag&drop the image and click on run model. I would reduce slightly the Z-dimension from 91 to 64 and if possible the (X,Y) dimensions. If not, it will just take more time.
Otherwise, to use the Python code, here are some alternatives:
Download the previous version of the bioimageio.core library (bioimageio.core==0.5.11
) and try running the following scripts in this example notebook: https://github.com/HenriquesLab/DL4MicEverywhere/blob/main/notebooks/Bespoke_notebooks/bioimageio-pytorch/load_bioimageio_pytorch.ipynb
Update the model yourself. Basically, load the model with the current bioimageio.core, as explained here, export the model (it will export the same model with an updated format) and run the prediction again.
I hope this helps. Please, let us know how it goes
Hi @tibuch I'm currently working on restoring some of the convenience functionality from before the update of bioimageio.spec (and its incorporation into bioimageio.core): #406 So this should become more accessible in the next release.
Hi everyone,
I wanted to try one of the available models to enhance membranes in one of my images. The image is 3D with
shape = (91, 1024, 1024)
. I tried to use the CLI withbioimageio predict-image
but I get anERROR: Could not consume arg: predict-image
.Then I thought to try it via Python, but I encounter this:
What is the recommended way to run tiled prediction with a v0.4 model?