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

Support Omnipose. #8

Merged
merged 37 commits into from
Nov 6, 2023
Merged

Support Omnipose. #8

merged 37 commits into from
Nov 6, 2023

Conversation

tinevez
Copy link
Member

@tinevez tinevez commented Jul 17, 2023

This PR builds upon the work of @marieanselmet .
Instead of having two separate repos the omnipose support from Marie is merged here in this repo. This allowed rewriting parts of code to avoid duplication.

There are two detectors, one for cellpose one for omnipose. In theory, since we call python directly, we could have made just one. But this way is clearer for the user and allow managing separately specifics models.

Screenshot 2023-07-17 at 17 45 18

Screenshot 2023-07-17 at 17 44 12
Screenshot 2023-07-17 at 17 44 23
Screenshot 2023-07-17 at 17 44 40

marieanselmet and others added 7 commits July 7, 2023 18:56
- CellposeSettings and OmniposeSettings inherit from an abstract class
that does everything except the model.
- Models for omnipose and cellpose are 2 separate enums, but that
implement a common interface.
- OmniposeUtils merged with CellposeUtils.
- CellposeDetector becomes an omnipose detector when provided with an
OmniposeSettings. No need for a second OmniposeDetector class.
- The detector factory and config panel classes for omnipose inherit
from their cellpose counterparts.

Fix #7
Adding docu in the README
@tinevez tinevez merged commit 12e5b26 into master Nov 6, 2023
1 check passed
@tinevez tinevez deleted the omnipose branch November 6, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants