Installation

With pip

pip install cellmap-flow

The basic installation does not include DaCapo’s or BioImage.io’s dependencies; the extras add them, one or both:

pip install "cellmap-flow[dacapo]"
pip install "cellmap-flow[bioimageio]"
pip install "cellmap-flow[dacapo,bioimageio]"

To get an unreleased branch without cloning:

pip install "cellmap-flow @ git+https://github.com/janelia-cellmap/cellmap-flow.git"

Append @<branch> to the URL for a specific branch, and add extras in brackets after the name, e.g. "cellmap-flow[dacapo] @ git+https://github.com/janelia-cellmap/cellmap-flow.git@my-branch". For development, clone and install in editable mode instead (pip install -e . in the checkout).

Finetuning

Interactive finetuning needs two dependencies that cannot come from PyPI, a MinIO server (conda-forge only) and a Neuroglancer fork with voxel-annotation support, so pip install "cellmap-flow[finetune]" on its own is not enough; pixi installs both. See docs/finetuning.md in the repository for the full setup.

Any model whose network is plain PyTorch can be finetuned from the dashboard, with LoRA or in full: cellmap and Hugging Face exports, fly checkpoints, DaCapo runs, scripts, BioImage Model Zoo models with PyTorch weights, and Cellpose (on its flows, from sparsely painted instances). A compiled (TorchScript) zoo model is finetuned in full only, and ONNX or TensorFlow ones not at all; the Finetune tab offers only what the selected model allows.