Learn R Programming

animl (version 3.2.0)

download_model: Download specified model to the given directory.

Description

Download specified model to the given directory.

Usage

download_model(model_url, out_dir = "models")

Value

None

Arguments

model_url

url of the model to download, obtained via the constants above

out_dir

Directory to save the model.

Examples

Run this code
if (FALSE) {
  list_models()
  download_model("https://models.com/path/to/model.pt", out_dir='models')
}

Run the code above in your browser using DataLab