A generalist algorithm for cell and nucleus segmentation that can be optimized for your own data and perform image restoration

Documentation

Home page
Documentation
Source code

Slurm script

Running the GUI

Invoking cellpose with no options will bring up the gui.
 

$ module load cellpose
$ cellpose
Image
cellpose gui

 

In a batch script:

 

#SBATCH --job-name=cellpose
#SBATCH --time=1:00:00
#SBATCH --partition=gpu
#SBATCH --gres=gpu:v100:1
#SBATCH --ntasks=4
#SBATCH --mem=16GB
module load cellpose
cellpose --train --dir /path/to/images/ --pretrained_model None --chan 3 --chan2 0 --use_gpu --verbose

 

Build instructions for those who are curious

module load python/3.12
python3 -m pip install --prefix=/mnt/nasapps/production/cellpose/3.0.11 cellpose