Closed MohamedOmar2020 closed 3 years ago
This wasn't caught by our testing suite because we were only testing BioformatsBackend using a .tif files. However, the Bioformats behavior is different for a .qptiff image (shape is HWZCT instead of HWC). Added tests using .qptiff file in a new branch "issue_126"
@ryanccarelli Once the tests pass we should be good for a PR to fix this bug
Thanks @jacobrosenthaldfci I also have another issue with the same command when using distributed = True. I receive the following error message:
TypeError: cannot pickle '_thread.RLock' object
I think that error is caused when the Pipeline contains a Transform that uses a TensorFlow model (i.e. Mesmer segmentation model). When you use distributed=True
, Dask uses pickling to send data across the cluster. However, TF models can't be pickled, so that's why this error comes up.
We should add a better check for this so you get a more informative error message. In the meantime, you should probably use distributed=False
The tile_size issue is now fixed, thanks!
This is fixed now by #132
I am trying to run a preprocessing pipeline on a dataset of 70 CODEX images each with the shape of 1920, 1440, 1, 4, 23 using the following code:
dataset.run(pipe, distributed = True, client = client, tile_size=(1920, 1440), tile_pad=False)
But I am getting this error:
The command runs fine with using a single number for tile_size