-
Notifications
You must be signed in to change notification settings - Fork 67
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
RunCellpose via docker #203
Conversation
Awesome! One comment from me
I don't think so, Docker versioning SHOULD take care of that. |
active_plugins/runcellpose.py
Outdated
@@ -659,6 +659,6 @@ def upgrade_settings(self, setting_values, variable_revision_number, module_name | |||
setting_values = setting_values + ["0.0", False, "15", "1.0", False, False] | |||
variable_revision_number = 3 | |||
if variable_revision_number == 3: | |||
setting_values = ["Python"] | |||
setting_values = setting_values[0] + ["Python"] + setting_values[1:] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the Docker image, yes?
* adding docker subprocess option to RunCellpose * Dockerfile and associated script for building RunCellpose docker * add docker documentation * better docs since docker image is automatically downloaded when requested * upgrade module version * fix upgrade settings * docs for using docker * Add model to upgrade_settings * Typo * Fix upgrade_settings fixier --------- Co-authored-by: Erin Weisbart <[email protected]> Co-authored-by: Beth Cimini <[email protected]> Co-authored-by: bethac07 <[email protected]>
Here's the RunCellpose model that's been adapted to work with docker.
This version of the module allows users to use Cellpose using the .exe/.app downloaded from the CellProfiler website. All a user would have to do is download and install docker, followed by downloading the
cellprofiler/runcellpose_no_pretrained
orcellprofiler/runcellpose_with_pretrained
docker images and setting the plugins directory in CellProfiler > Preferences. These different docker images either contain or don't contain all of the Cellpose pretrained modelsOutstanding questions:
cellprofiler/runcellpose_no_pretrained:0.1
andcellprofiler/runcellpose_with_pretrained:0.1
are built on the pytorch CUDA docker image and as a result are pretty beefy (12GB on disk for me). Since some users may not have a CUDA GPU, it might make sense to create a slim CPU version and allow users to select this from the GUI dropdown.--gpus all
handles thisdocker_path
work across different machines? How consistent is docker path? What is the docker path on linux?variable_revision_number
be linked to a particular version of a docker image? Hopefully this would ensure compatibility