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
NMS start suppressing crashes #195
Comments
Sorry for the late reply.
Can you please be more specific how to reproduce this issue? |
No worries, if you download the above image and just call stardist's predict method. it finds about 700k potential points at first and gets stuck in nms loop. |
I guess you mean the |
I tested with both pretrained stardist 2d model and custom model 2d model. Whenever points are more than 500k the execution gets stuck in the NMS loop. I tested with 8 core and 32 core CPU but the execution never terminates. |
Your image is mostly just white, hence not suitable for any of our pre-trained models (which expect a black background). I did the prediction with our |
thanks this resolved the issue. I was using csbdeep's normalize function as per example notebook |
Describe the bug
I have a small tile, for which startdist detects about a 0.7million points or n_polys. In nms start suppressing step, the program crashes after hanging the system for a while. I understand it's very unusual to have so many points in such a small tile but how can I overcome this issue of stardist crashing.
To reproduce
I've attached the image to reproduce the issue with a pre-trained model.
The text was updated successfully, but these errors were encountered: