-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] H&E image nucleus segmentation works with v2 but not with v3 #1056
Labels
bug
Something isn't working
Comments
Would you mind re-trying specifying a diameter of 18? (Just a guess to see what happens, since in the logs, the diameter estimation appears to have an issue in 3.1) |
So I used: res, _, _, _ = cellpose_model.eval(
image,
channels=[0, 0],
diameter=18,
min_size=15,
invert=True,
flow_threshold=0.4,
) And the result is similar, I have nothing in output. Here are the logs:
|
And same with |
Any news regarding this issue? Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Running nuclei segmentation on H&E stained images used to work with cellpose
v2
(tested withv2.2.3
andv2.3.2
) but does not work anymore with cellposev3
(tested withv3.0
andv3.1.0
), c.f. example below.Python version:
Python 3.12.7
OS:
6.11.7-arch1-1 x86_64 GNU/Linux
To Reproduce
Steps to reproduce the behavior:
XXXX
by requested cellpose version):python -m venv ./venv source ./venv/bin/activate pip install matplotlib pip install cellpose==XXX
TCGA-E2-A14V-01Z-00-DX1.png
image (a crop from an image from the MoNuSeg dataset available under CC BY-NC-SA 4.0 license):Note: I usually use
tif
image for segmentation but it is not possible to attachtif
file on github so I converted it topng
.Results
Here is what we get with cellpose
v2.3.2
(it works!):Here is what we get with cellpose
v3.1.0
(we get nothing!):Logs
v2.3.2
:v3.1.0
:The text was updated successfully, but these errors were encountered: