deepcell_types.utils.download_model#

deepcell_types.utils.download_model(*, version=None)#

Download the deepcell-types model checkpoint for local use.

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

Parameters:
versionstr, optional

Which checkpoint version to download. Defaults to None, which resolves to the default version (_DEFAULT_MODEL_VERSION in this module).

Returns:
pathlib.Path

Local path to the downloaded checkpoint.