-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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 with bioimageio predict-image
but I get an ERROR: Could not consume arg: predict-image
.
Then I thought to try it via Python, but I encounter this:
prediction_pipeline.predict_sample_with_blocking(sample)
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
Cell In[85], line 1
----> 1 prediction_pipeline.predict_sample_with_blocking(sample)
File ~/Gitrepos/gliberal_crypt-morphogenisis/.pixi/envs/modelzoo/lib/python3.12/site-packages/bioimageio/core/_prediction_pipeline.py:200, in PredictionPipeline.predict_sample_with_blocking(self, sample, skip_preprocessing, skip_postprocessing, ns, batch_size)
197 self.apply_preprocessing(sample)
199 if isinstance(self.model_description, v0_4.ModelDescr):
--> 200 raise NotImplementedError(
201 "predict with blocking not implemented for v0_4.ModelDescr {self.model_description.name}"
202 )
204 ns = ns or self._default_ns
205 if isinstance(ns, int):
NotImplementedError: predict with blocking not implemented for v0_4.ModelDescr {self.model_description.name}
What is the recommended way to run tiled prediction with a v0.4 model?
esgomezm
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request