Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

save_model_package_files

Save a Dockerfile and dependencies from a ModelPackage to your local file system


Description

Download the Dockerfile, model, and other assets needed to build an image locally from a created ModelPackage.

This can only be used with a Dockerfile ModelPackage (where package_model() was called with generate_dockerfile = TRUE to indicated that you wanted only the files and not a fully built image).

save_model_package_files() downloads the files needed to build the image to the output_directory. The Dockerfile included in the saved files references a base image stored in an Azure container registry. When you build the image on your local Docker installation, you will need the address, username, and password to authenticate to the registry. You can get this information using get_model_package_container_registry().

Usage

save_model_package_files(package, output_directory)

Arguments

package

The ModelPackage object.

output_directory

A string of the local directory that will be created to contain the contents of the package.

Value

None

See Also

package_model(), get_model_package_container_registry()


azuremlsdk

Interface to the 'Azure Machine Learning' 'SDK'

v1.10.0
MIT + file LICENSE
Authors
Diondra Peck [cre, aut], Minna Xiao [aut], AzureML R SDK Team [ctb], Microsoft [cph, fnd], Google Inc. [cph] (Examples and Tutorials), The TensorFlow Authors [cph] (Examples and Tutorials), RStudio Inc. [cph] (Examples and Tutorials)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.