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
Copy file name to clipboardExpand all lines: _pages/plugins/trackmate/detectors/trackmate-cellpose.md
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -291,14 +291,41 @@ Finally, click `Open` on one last confirmation panel:
291
291
292
292
Once you cellpose installed, run the GUI to confirm that it works and can segment images on your system. Again, in the `Path to cellpose / Python executable` text field in the TrackMate detector UI, you will just need to enter the path to this executable.
293
293
294
-
#### With Anaconda
294
+
#### With conda, mamba environment managers
295
+
296
+
{% include notice icon="tech"
297
+
content="This is the recommended way to install Python tools to be used with TrackMate." %}
298
+
299
+
Using mamba (a better conda) is the most common way to run scientific Python tools on your computer. Recommendations keep evolving and we try to update this page.
300
+
If you don't have mamba, follow these instructions to install it: https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html
295
301
296
302
Go to the cellpose GitHub webpage and follow the [installation procedures](https://github.com/MouseLand/cellpose#local-installation).
297
303
298
304
If you chose Anaconda to install cellpose, and put it in a dedicated environment, you need to enter the path to the _python executable_ of this conda environment. For instance if made a conda environment named `cellpose` for cellpose, it will be something like this:
For instance on Mac: (on the computer used in example below, conda is an alias to microsmamba)
311
+
312
+
```zsh
313
+
>> conda create --name cellpose-3 python=3.10
314
+
>> conda activate cellpose-3
315
+
>> pip install 'cellpose[gui]==3.1.1.2'
316
+
>> cellpose --version
317
+
cellpose version: 3.1.1.2
318
+
platform: darwin
319
+
python version: 3.10.18
320
+
torch version: 2.7.1
321
+
```
322
+
323
+
This will install the version 3 of cellpose. As mid 2025, GPU-acceleration is used on this OS, as you can attest in the log when running cellpose:
324
+
```
325
+
2025-07-11 11:13:53,625 [INFO] ** TORCH MPS version installed and working. **
326
+
2025-07-11 11:13:53,625 [INFO] >>>> using GPU (MPS)
327
+
```
328
+
302
329
#### BIOP Conda installation for GPU support on Windows
303
330
304
331
The excellent people of the BIOP facility mentioned above also prepared a Conda spec list and recommendations for libraries dependencies to robustly achieve GPU support with cellpose. We give a procedure here, but all credits should go to them. It supports an older version of cellpose but works really well. Also the procedure describes one and one only way of getting GPU support with Python, that might not stand any deviation from it. Such is Python.
0 commit comments