torchcell.sga.load_cellpose_model

load_cellpose_model(gpu: bool = True) → Any[source]

Load the Cellpose-SAM generalist model (cpsam). Weights auto-download to ~/.cellpose/models on first use. Returns the live model; kept separate from segmentation so one model instance can process many plates.