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
The function fastremap.unique returns an incorrect counts if applied to a large image. This happens on Windows if the number of voxels in any phase exceeds the maximum allowable value for np.uint32 (4_294_967_295).
For me the problem was solved by replacing uint32 with uint64 in unique_via_array.
For some reason, the obvious way to make this work with cython templates didn't work. I'm hesitant to simply just bump np.uint32 to np.uint64 because it will inflate memory usage significantly in some cases. Will think about this.
The function fastremap.unique returns an incorrect counts if applied to a large image. This happens on Windows if the number of voxels in any phase exceeds the maximum allowable value for np.uint32 (4_294_967_295).
For me the problem was solved by replacing uint32 with uint64 in unique_via_array.
The text was updated successfully, but these errors were encountered: