v0.8.0a1 — Cellpose v4 DINO model support
Pre-release
Pre-release
Features
- Cellpose v4 DINO models: the GPU-resident segmentation path now supports all four Cellpose v4 models — the SAM backbones (
cpsam,cpsam_v2) and the DINOv3 backbones (cpdino,cpdino-vitb). The canonical entry point is nowsegment_cellpose;segment_cpsamis kept as a deprecated alias (slated for removal after 0.8). - Tunable tile size:
segment_cellposeexposes absizeparameter (defaults to 256 for the SAM backbone, 384 for DINO), centralized in_resolve_bsizewith cellpose's SAM→256 guard and non-positive-bsizevalidation.
Packaging
- Require
cellpose>=4.2.0(the release that first shipscpsam_v2/cpdino). - The DINO backbones additionally require
dinov3, which is published only on GitHub:pip install git+https://github.com/facebookresearch/dinov3.
Notes
- Resident masks match stock
CellposeModel.eval(AP@0.5 ≥ 0.95) for all four models in 2D and 3D.
Full changes in #51.