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:.pthweights +_stats.npzfeature-norm statistics.xgboost:.jsonbooster +.remap.jsonlabel remap.
Downloaded files land in
$HOME/.deepcell/models.- Parameters:
- namestr
Baseline identifier. One of
cellsighter,maps, orxgboost.nimbusis 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 singlePath: baselines return a list because some ship companion files. Calllist_baseline_names()for the accepted identifiers.