retrieve_model function

retrieve_model

retrieve_model

Retrieve a model from a context/tool run

Any models created and run by the tool can be retrieved.

retrieve_model(source, name)

Arguments

  • source: (str or Context) Source where to find models. Can be a path (as str or Path), or a Context
  • name: (str) Name of the model

Returns

(Model) The model object

Examples

## Not run: tooldir_path <- 'path/to/tool/directory' model <- retrieve_model(tooldir_path, 'run1') ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04