log_artifact: Log Artifact

Description Usage Arguments Details

View source: R/runs.R

Description

Logs a specific file or directory as an artifact for a run.

Usage

1
log_artifact(file, run_id = NULL, client = NULL, ...)

Arguments

file

The file to log as an artifact.

run_id

A run uuid. Automatically inferred if a run is currently active.

client

An MLFlow client. Defaults to NULL and will be auto-generated.

...

Additional arguments to pass to aws.s3::put_object

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.


mrkaye97/lightMLFlow documentation built on Dec. 28, 2021, 12:15 a.m.