mlflow_log_artifact {mlflow} | R Documentation |
Log Artifact
Description
Logs a specific file or directory as an artifact for a run.
Usage
mlflow_log_artifact(path, artifact_path = NULL, run_id = NULL, client = NULL)
Arguments
path |
The file or directory to log as an artifact. |
artifact_path |
Destination path within the run's artifact URI. |
run_id |
Run ID. |
client |
(Optional) An MLflow client object returned from mlflow_client. If specified, MLflow will use the tracking server associated with the passed-in client. If unspecified (the common case), MLflow will use the tracking server associated with the current tracking URI. |
Details
When logging to Amazon S3, ensure that you have the s3:PutObject, s3:GetObject, s3:ListBucket, and s3:GetBucketLocation permissions on your bucket.
Additionally, at least the AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
environment variables must be set to the corresponding key and secrets provided
by Amazon IAM.
[Package mlflow version 2.14.1 Index]