Skip to content
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

Trying out the omnipose detector #9

Open
m-albert opened this issue Jul 27, 2023 · 0 comments
Open

Trying out the omnipose detector #9

m-albert opened this issue Jul 27, 2023 · 0 comments

Comments

@m-albert
Copy link

Hi @tinevez ,

here are some observations from trying out the omnipose detector using "TrackMate-Cellpose-0.1.3-SNAPSHOT.jar" on macos.

In a fresh python=3.10 conda environment:

  1. pip install omnipose==0.3.6 (the documentation says the plugin is compatible with 0.3.6 but not with 0.4.4)

Results in "could not find results file".

Screen Shot 2023-07-27 at 14 03 59

When executing the command shown in a terminal (with omnipose activated) I get:

File "/Users/malbert/miniconda3/envs/omnipose/lib/python3.10/site-packages/omnipose/main.py", line 1, in
from cellpose.main import main
ModuleNotFoundError: No module named 'cellpose.main'

Indeed it seems that code in the wheel shipped over pypi tries to import cellpose instead of cellpose_omni.

  1. pip install omnipose, which installed omnipose==0.4.4

It works 🎉

When segmenting images both with a pretrained model and a custom model, it shows sensible results:

Screen Shot 2023-07-27 at 13 51 16

I also tried for multichannel images and the field "channel to segment" seems to work properly (tried in combination with optional second channel: 0 none)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant