powered by
Download a registered model to the target_dir of your local file system.
target_dir
download_model(model, target_dir = ".", exist_ok = FALSE)
The Model object.
Model
A string of the path to the directory on your local file system for where to download the model to. Defaults to ".".
If FALSE, replace the downloaded folder/file if they already exist.
FALSE
A string of the path to the file or folder of the downloaded model.
# NOT RUN { ws <- load_workspace_from_config() model <- get_model(ws, name = "my_model", version = 2) download_model(model, target_dir = tempdir(), exist_ok = TRUE) # }
Run the code above in your browser using DataLab