You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
After trying to run the
runcellpose
module I get the following error:I had to change
line 567 of
runcellpose.py
toand line 612 of
runcellpose.py
toI 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.
The text was updated successfully, but these errors were encountered: