-
Notifications
You must be signed in to change notification settings - Fork 71
RunCellpose via docker #203
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
Conversation
|
Awesome! One comment from me
I don't think so, Docker versioning SHOULD take care of that. |
active_plugins/runcellpose.py
Outdated
| 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 <54687786+ErinWeisbart@users.noreply.github.com> Co-authored-by: Beth Cimini <bethac07@users.noreply.github.com> Co-authored-by: bethac07 <bcimini@broadinstitute.org>
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_pretrainedorcellprofiler/runcellpose_with_pretraineddocker 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.1andcellprofiler/runcellpose_with_pretrained:0.1are 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 allhandles thisdocker_pathwork across different machines? How consistent is docker path? What is the docker path on linux?variable_revision_numberbe linked to a particular version of a docker image? Hopefully this would ensure compatibility