Skip to content
Open

... #1481

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cellpose/contrib/distributed_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ class in this module. If you are running on the Janelia LSF cluster, see

segmentation_da = dask.array.from_zarr(temp_zarr)
relabeled = dask.array.map_blocks(
lambda block: np.load(new_labeling_path)[block],
lambda block: np.load(new_labeling_path, mmap_mode='r')[block],
segmentation_da,
dtype=np.uint32,
chunks=segmentation_da.chunks,
Expand Down