models#

Download and cache pretrained enrichment models.

Functions#

get_model(→ pathlib.Path)

Return a local model path, downloading the model when needed.

Module Contents#

openplaces.io.enricher.models.get_model(url: str, filename: str, model_path: str | pathlib.Path | None = None, label: str = 'model') pathlib.Path#

Return a local model path, downloading the model when needed.