Skip to content

[BUG] Stiching fails silently when running distributed cellpose on 2D images #1482

Description

@sbamopoulos

Before you fill out this form:

Did you review the FAQ?

Did you look through previous (open AND closed) issues posted on GH?

Now fill this form out completely:

Hi cellpose team,

first of all thank you for this great community tool!

I am processing large 2D H&E stains using the distributed cellpose version and discovered that the masks are hard-cut at every tile boundary. This is easy to miss, because it does not cause an error. It is also specific to 2D images, but should affect any 2D image.

I submitted a PR with minor code corrections to adress this: #1480

As a side note, as the code is now np.load loads the full labelling vector for each worker resulting in OOM errors for large 2D images. I also submitted a tiny PR correcting this: #1481.

Best
Stefan

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions