upload_folder_to_run: Upload a folder to a run

Description Usage Arguments Value Examples See Also

View source: R/run.R

Description

Upload the specified folder to the given prefix name to the run record.

Note: Runs automatically capture files in the specified output directory, which defaults to "./outputs". Use upload_folder_to_run() only when additional files need to be uploaded or an output directory is not specified.

Usage

1

Arguments

name

A string of the name of the folder of files to upload.

path

A string of the relative local path to the folder to upload.

run

The Run object.

Value

None

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
ws <- load_workspace_from_config()
exp <- experiment(ws, name = 'myexperiment')

# Start an interactive logging run
run <- start_logging_run(exp)

# Upload folder to the run record
upload_folder_to_run(name = "important_files",
                     path = "path/on/disk")

# Download a file from the run record
download_file_from_run("important_files/existing_file.txt", "local_file.txt")

See Also

upload_files_to_run() download_file_from_run() download_files_from_run()


azuremlsdk documentation built on Oct. 23, 2020, 8:22 p.m.