You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue: Hi, I am trying to use dask_image.imread.imread() to speed up the sub-volume extraction on my dataset of .jp2 format, but it throws an error when I extract multiple slices.
ValueError: could not broadcast input array from shape (1,1898,1898) into shape (1,1,1898)
I have checked, when compute() function activated, the imread() will read an image in shape of (1,1,1898, 1898), so the chunk size of (1, 1898, 1898) can’t be broadcast.
Actually, there are several known problems with the current dask_image.imread implementation (see #229) and we recommend considering one of the readers mentioned here.
Describe the issue: Hi, I am trying to use dask_image.imread.imread() to speed up the sub-volume extraction on my dataset of .jp2 format, but it throws an error when I extract multiple slices.
Psudocode Example:
The print() function gives:
When the compute() is running, an error occurs:
I have checked, when compute() function activated, the imread() will read an image in shape of (1,1,1898, 1898), so the chunk size of (1, 1898, 1898) can’t be broadcast.
The code works well for .tif or .png images.
Anything else we need to know?:
I replicate the error if it helps: https://github.com/YangForever/DaskImageSlicing/tree/main
Environment:
The text was updated successfully, but these errors were encountered: