Skip to content

Comments

Feature/switch to cellpose#78

Merged
WeisLeDocto merged 18 commits intomainfrom
feature/switch_to_cellpose
May 19, 2025
Merged

Feature/switch to cellpose#78
WeisLeDocto merged 18 commits intomainfrom
feature/switch_to_cellpose

Conversation

@WeisLeDocto
Copy link
Member

@WeisLeDocto WeisLeDocto commented May 19, 2025

As mentioned in #20, the latest version of the deepcell module used for segmentation only supports Python versions up to 3.10. Also, the module itself does not seem to be any longer maintained. Therefore, it is preferable to switch to a different model for segmentation.

CellPose was chosen to replace Mesmer, as it also offers a simple interface, displays similar performance for nuclei segmentation, and supports all Python versions from 3.9 to 3.13. It is also still actively maintained and improved.

Switching to CellPose only required minor changes in the segmentation-related code, as well as a few updates in the metadata files and the documentation. Also, the GitHub Actions files were updated to test all the supported Python versions on all the latest OS versions (instead of older versions previously).

@WeisLeDocto WeisLeDocto self-assigned this May 19, 2025
@WeisLeDocto WeisLeDocto added the enhancement New feature or request label May 19, 2025
@WeisLeDocto WeisLeDocto marked this pull request as ready for review May 19, 2025 13:52
@WeisLeDocto WeisLeDocto merged commit e5856e6 into main May 19, 2025
40 checks passed
@WeisLeDocto WeisLeDocto deleted the feature/switch_to_cellpose branch May 19, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant