powered by
Retrieve a model from a context/tool run
Any models created and run by the tool can be retrieved.
retrieve_model(source, name)
(Model) The model object
(str or Context) Source where to find models. Can be a path (as str or Path), or a Context
(str) Name of the model
if (FALSE) { tooldir_path <- 'path/to/tool/directory' model <- retrieve_model(tooldir_path, 'run1') }
Run the code above in your browser using DataLab