-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Description
After trying to run the runcellpose module I get the following error:
File "/path/to/conda/env/lib/python3.8/site-packages/cellprofiler/gui/pipelinecontroller.py", line 3390, in do_step
self.__pipeline.run_module(module, workspace_model)
File "/path/to/conda/env/lib/python3.8/site-packages/cellprofiler_core/pipeline/_pipeline.py", line 1349, in run_module
module.run(workspace)
File "/path/to/CP.plugins/CellProfiler-plugins/active_plugins/runcellpose.py", line 612, in run
if self.use_gpu.value and model.torch:
AttributeError: 'CellposeModel' object has no attribute 'torch'
I had to change
line 567 of runcellpose.py to
if self.use_gpu.value and model.gpu:
and line 612 of runcellpose.py to
if self.use_gpu.value and model.gpu:
I can open a PR to fix these.
I will also open an issue on the CellPose repo requesting less drastic API changes in minor version changes or no version changes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels