deepcell_types.utils.download_baseline_checkpoint#

deepcell_types.utils.download_baseline_checkpoint(name)#

Download a baseline-model checkpoint (and any companion files).

Some baselines ship more than one file:

  • maps: .pth weights + _stats.npz feature-norm statistics.

  • xgboost: .json booster + .remap.json label remap.

Downloaded files land in $HOME/.deepcell/models.

Parameters:
namestr

Baseline identifier. One of cellsighter, maps, or xgboost. nimbus is not served here (its weights are distributed upstream); requesting it raises with a pointer to the official source.

Returns:
list[pathlib.Path]

Local paths to every checkpoint file for this baseline, sorted by filename. Note the asymmetry with download_model(), which returns a single Path: baselines return a list because some ship companion files. Call list_baseline_names() for the accepted identifiers.